Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting HZ to 1000
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Dec 26, 2004 10:41 pm    Post subject: Setting HZ to 1000 Reply with quote

So some sort of Xine optimizer page told me to the following:

Quote:
Set HZ to 1000 in /usr/src/linux/include/asm-i386/param.h


So the kernel is recompiling with this change. What is this going to do?
_________________
Git has obsoleted SVN.
10mm Auto has obsoleted 45 ACP.
Back to top
View user's profile Send private message
wdreinhart
Guru
Guru


Joined: 11 Jun 2003
Posts: 569
Location: 4QFJ12345678

PostPosted: Sun Dec 26, 2004 11:07 pm    Post subject: Reply with quote

It changes the frequency of the kernel's internal timer from the default (100 ticks/second, I think) to 1000Hz. that allows the kernel to shedule tasks in increments of 1 millisecond instead of 10ms.
Back to top
View user's profile Send private message
riscycdj
n00b
n00b


Joined: 09 Oct 2005
Posts: 61

PostPosted: Thu Jan 05, 2006 4:47 am    Post subject: Reply with quote

Changing that parameter is a bad idea. On my system it actually caused video and music to play slower than it should and the system clock ran slow. Recompiling with the default 250Hz fixed it.

My system is an AMD Barton clocked at 2GHz. Maybe newer systems can handle the higher tick rate.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum