2.6.13 new option timer frequency
Hi all,
I built and installed 2.6.13 today, and oldconfig revealed the new option for timer frequency.
I searched the LKML on this, but all I found is the technical stuff - not really any layman solutions.
Two n00b questions here:
What does this do/what is it for?
I selected default, 250Hz. If this is now an option, what was it before?
Thanks,
Nick
Signature · 2 lines
"When you're chewing on life's gristle, Don't grumble, Give a whistle..."
Quoted 5 lines · Nick Warne
Hi all,
I built and installed 2.6.13 today, and oldconfig revealed the new option for timer frequency.
Quoted 7 lines
I searched the LKML on this, but all I found is the technical stuff - not really any layman solutions.
Two n00b questions here:
What does this do/what is it for?
Selects the frequency of the timer interrupt. This controls the timing resolution of system calls. So previously poll/select could be used with a 1ms timeout. Now with the default settings it can only do 4ms.
Quoted 1 line
I selected default, 250Hz. If this is now an option, what was it before?
The previous value was 1000HZ. And yes, changing the default from 1000 to 250 breaks the expected "make oldconfig" behavior. Lots of people are not happy about it, but were overruled by Linus.
Lee
Hi,
Quoted 2 lines
Two n00b questions here:
What does this do/what is it for?
I'm no guru, but its something like the resolution of the timer the kernel runs. More Hz give you shorter timeslices and lower latency. Lower give longer timeslices and higher latency.
Anybody please correct me if I am wrong here.
Quoted 1 line
I selected default, 250Hz. If this is now an option, what was it before?
AFAIK previously we've had here 1000Hz.
Basically, for a server you'd want 100.
For a desktop 250
For a low-latency (eg. working on audio) you'd want 1000
Again, correct me if I am wrong.
Regards,
Maciej
Quoted 5 lines
I built and installed 2.6.13 today, and oldconfig revealed the new option for timer frequency.
I searched the LKML on this, but all I found is the technical stuff - not really any layman solutions.
I wrote a bit about the timer frequency option a few weeks ago:
http://lwn.net/Articles/145973/
jon
Jonathan Corbet
Executive editor, LWN.net
[email protected]
Quoted 9 lines · Jonathan Corbet
Quoted 5 lines
I built and installed 2.6.13 today, and oldconfig revealed the new option for timer frequency.
I searched the LKML on this, but all I found is the technical stuff - not really any layman solutions.
I wrote a bit about the timer frequency option a few weeks ago:
http://lwn.net/Articles/145973/
OK, thanks everybody for replies.
Jon, that is a near perfect article - I understand it all now.
I haven't noticed anything different under 250HZ yet..., if anything machine seems smoother. Lower electricity bills will be handy as well ;-)
Thanks,
Nick
Signature · 2 lines
"When you're chewing on life's gristle, Don't grumble, Give a whistle..."
Quoted 10 lines · Jonathan Corbet
Quoted 5 lines
I built and installed 2.6.13 today, and oldconfig revealed the new option for timer frequency.
I searched the LKML on this, but all I found is the technical stuff - not really any layman solutions.
I wrote a bit about the timer frequency option a few weeks ago:
http://lwn.net/Articles/145973/
I just updated the thread to explain the "singing capacitor" issue which has been mostly overlooked in this debate so far.
Lee