Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-04-2004, 08:00 AM   #1
LQ Newbie
Registered: May 2004
Location: Stockholm / Sweden
Distribution: Slackware 10
Posts: 14

Rep: Reputation: 0
Compiling kernel > 100HZ


I'm running a Counterstrike server (and Apache/Mysql) on my Slackware 10 box. I've heard over at the steampowered forum that FPS could increase if I recompile my kernel > 100HZ.

I use the "standard" kernel now (haven't done anything with it).

If I use the instructions found in the sticky here, what extra steps do I need to do to make my kernel >100HZ.

I have never done any compiling on my Slackware box so please write as detailed instructions as possible


Old 09-04-2004, 01:46 PM   #2
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I've compiled quite a few krenels, and I can't remember ever seeing anything like what you are asking about. Are you sure you have understood them correctly?
Old 09-05-2004, 07:33 AM   #3
LQ Newbie
Registered: May 2004
Location: Stockholm / Sweden
Distribution: Slackware 10
Posts: 14

Original Poster
Rep: Reputation: 0
Yep I've read about it on different sites (including this forum).

There supposed to be a way to change this HZ timer value to something greater than 100 during compilation.

Haven't found any faq's or guides how to do it though

Old 09-05-2004, 07:45 AM   #4
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,856

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
You have to get the proper patch for the kernel source. i use the 'lck' patch set which combines the new NTFS driver, bootsplash, the above mentioned 'tweak', kernel pre-emption and more.
i just tried that tweak yesterday and had problems with MTRR. Be sure and check compilation errors carefully.
You might get a nice performance increase just by using xfs filesystem.
Old 09-05-2004, 07:53 AM   #5
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
just looked in their forum

the guide seems to indicate that just compiling a kernel that is at least 2.5.53 (2.6.x recommended)
will automatically change the clock from 100 to 1000

not sure about the hz units

my clock is 100MHz
Old 09-05-2004, 07:58 AM   #6
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
FYI this clock is to do with scheduling and timeslices, which have been 10ms/100Hz for a while now, but another new scheduling change for 2.6 is the default of 1ms/1000Hz and the option to change it. This means sometimes you save time when a process is done with time left 'til its slice is over, but also 10 times the context switching as you cycle between you active processes faster. Thus results may vary and different figures may work best for you, eg a comprimise of 3.3ms/333Hz.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with configuration: 100hz tv through svideo tmbowie16 Linux - Software 0 06-10-2005 07:24 PM
100Hz refresh on 1024x768 resolution leg_of_pinguin Linux - Newbie 13 05-10-2005 03:30 AM
Problem getting monitor to refresh @ 100Hz nobrob Linux - Newbie 4 09-07-2004 03:30 PM
Cannot configure my linux to use 100Hz mohamadfazli Linux - Hardware 0 04-07-2004 09:02 PM
Radeon 8500, 1024x768@100hz Danodare Slackware 6 03-05-2004 04:50 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration