Re: loops_per_jiffy: query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I tried to tweek the value of loops_per_jiffy manually (just for testing, i have no intensions of replacing calibration function :)) on my ARM11. For example setting loops_per_jiffiy value such tthat i get 140 BogoMips, the throughput incereased considerably to 66Mbps, but CPU usage remained around 85%. And using diffrent hard coded values of loops_per_jiffy i got diffrenent Throughput values and CPU usages. 

loops_per_jiffy is used in udelay() and mdelay() functions, which are
delay loops for a certain amount of micro/miliseconds. What you did is
artificially override drivers that wanted to delay a certain time to
delay shorter. This is usually a very bad idea; those delay loops are
there for a reason (although some device drivers are just plain stupid
and abuse them a lot... which network driver did you use?)


-- 
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux