View previous topic :: View next topic |
Author |
Message |
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Sat Apr 19, 2003 7:25 pm Post subject: Gaming-Sources r2 Hz Tuning Performance |
|
|
For those unaware, the gaming-sources-2.4.20-r2 ebuild bumps the ck kernel version to ck6. Among other things, this adds a Hz tuning option allowing one to change the number of times the system timer is accessed per second.
The vanilla kernel option default is 100 and the ck (and thus gaming-sources) default is 200. It gives some suggests for personal tuning in the help file, which I'll quote here:
Quote: | If
you are looking to provide better timer granularity or increased desktop
performance, try 500 or 1000. You shouldn't set Hz greater than
1/2 your cpu's Mhz. |
Has anyone tested this performance of this yet under controlled circumstances? I'm compiling a kernel right now with a value of 500 (I have an athlon 1200 Mhz).
I'm interested to see what effect it has (if any). CK himself seemed a bit unconvinced in his FAQ (available http://members.optusnet.com.au/ckolivas/kernel/#faq). Since this is a gaming kernel, FPS benchmarks would be ideal, however CK provides a benchmark called contest (http://contest.kolivas.org) which covers a much broader scope.
Once any results are found it would be a good idea to send them to Con Kolivas. We'll wait on that for now, however. _________________ Cthulhu for president. |
|
Back to top |
|
|
neuron Advocate
Joined: 28 May 2002 Posts: 2371
|
Posted: Sat Apr 19, 2003 7:33 pm Post subject: |
|
|
from a programers point of view I have to ask, why would increasing the number of times the system timer is accessed (unless the number is very low, which would could screw up threading or something like that) increase performance? heh
and I'd try, but this damn nforce2 motherboard has no agpgart until nvidia gets it going |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Sat Apr 19, 2003 7:53 pm Post subject: |
|
|
The reason we don't want to probe the timer to often in 2.4 is that it causes a horrible overhead - in 2.5 this is much improved.
anyways, in some cases, probing more often can lead to a smoother system, because you get a more finely grained timing system.. at the cost of throughput of course. |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Sat Apr 19, 2003 8:02 pm Post subject: |
|
|
I'm running gaming-sources with Hz set to 500. I do notice an performance increase over my last gaming-sources, but that was gaming-sources-r1... _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Sat Apr 19, 2003 9:03 pm Post subject: |
|
|
Ok boys and girls, I have returned with benchmarks!
System:
Athlon 1200 Mhz
GeForce3 w/ nVidia 4349 drivers
1 Gb PC133 RAM
Maxtor 40 Gb ATA100
Desktop color depth 16
Kernels Tested:
Gaming-sources r1 (ck4 patches)
Gaming-sources r2 200 Hz (ck6 patches)
Gaming-sources r2 500 Hz (ck6 patches)
Quake 3 v 1.32b was used, with the default demo "four.dm_68".
In all tests, the "High Quality" settings were set, with the resolution being the only independent variable. No AA or AF was used.
Gaming-sources r1
------------------------
640x480 137.6
800x600 137.3
1024x768 133.4
1280x1024 118.4
1600x1200 106.0
Gaming-sources r2 (200 Hz)
------------------------
640x480 137.2
800x600 136.7
1024x768 133.1
1280x1024 118.4
1600x1200 105.6
Gaming-sources r2 (500 Hz)
------------------------
640x480 135.6
800x600 135.0
1024x768 132.5
1280x1024 117.1
1600x1200 105.2
Across the board, there isn't a single instance where we find a statistically significant change in fps. The only thing I noticed when testing kernels is the 500 Hz version *seemed* to compile faster. I didn't do any actual timing on it, though.
Those of you who understand the way this works, is there any reason a higher rate would decrease compile time? _________________ Cthulhu for president. |
|
Back to top |
|
|
zephyr1256 Apprentice
Joined: 10 Mar 2003 Posts: 170 Location: Kingsport, TN
|
Posted: Sat Apr 19, 2003 10:56 pm Post subject: |
|
|
Does this Hz value just indicate how often the CPU does context switches because the timer runs down? If so, I wouldn't expect to see much difference. Perhaps you would see an improvement(in fps, and/or responsiveness) if you try running your process at the same time some other CPU hog(like zetagrid, shameless plug) is running. You're getting less total work done on the CPU(usually not a concern with desktop systems) because the CPU is doing more context switches than at lower Hz. |
|
Back to top |
|
|
Migrant Programmer n00b
Joined: 31 Aug 2002 Posts: 10
|
Posted: Sat Apr 26, 2003 3:03 pm Post subject: Re: Gaming-Sources r2 Hz Tuning Performance |
|
|
miseiler wrote: | For those unaware, the gaming-sources-2.4.20-r2 ebuild bumps the ck kernel version to ck6. Among other things, this adds a Hz tuning option allowing one to change the number of times the system timer is accessed per second. |
Not according to the ChangeLog for gaming-sources..
sys-kernel/gaming-sources/ChangeLog wrote: | *gaming-sources-2.4.20-r2 (20 April 2003)
16 April 2003; Bob Johnson <livewire@gentoo.org>
- new bootsplash patches
-bumped back down to ck4 for performance |
|
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Sat Apr 26, 2003 7:38 pm Post subject: |
|
|
Figures they'd do that.
Code: | *gaming-sources-2.4.20-r2 (16 April 2003)
16 April 2003; Bob Johnson <livewire@gentoo.org>
- bumped to ck6
|
As far as I can tell, the performance difference between the two (ck4 and ck6) is absolutely negligible in games. I haven't found a good way to quantify the desktop difference effectively yet. _________________ Cthulhu for president. |
|
Back to top |
|
|
barlad l33t
Joined: 22 Feb 2003 Posts: 673
|
Posted: Sat Apr 26, 2003 9:01 pm Post subject: |
|
|
I get about 200 fps less in ck6 kernel. Out of 5000. It is not really that big but overall I am more satisfied with ck4 than with ck5 & 6, especially stability-wise. |
|
Back to top |
|
|
miseiler Tux's lil' helper
Joined: 17 Mar 2003 Posts: 118
|
Posted: Sat Apr 26, 2003 9:39 pm Post subject: |
|
|
barlad wrote: | I get about 200 fps less in ck6 kernel. Out of 5000. It is not really that big but overall I am more satisfied with ck4 than with ck5 & 6, especially stability-wise. |
Did ck5 present any performance enhancements? I believe it was supposed to be the epitome of a low-latency kernel. _________________ Cthulhu for president. |
|
Back to top |
|
|
|