Re: [hlds_linux] Kernel Options and Clocksource

2009-03-08 Thread Ben B
okay, i compiled the kernel, and I see all of them. you think i should use tsc or hpet? there are opinions for both throughout the list it seems. On Sat, Mar 7, 2009 at 1:25 PM, listac...@lvwnet.com wrote: So to get a list of which clocksources your hardware has available: # cat

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-08 Thread Gary Stanley
At 02:45 PM 3/8/2009, Ben B wrote: okay, i compiled the kernel, and I see all of them. you think i should use tsc or hpet? there are opinions for both throughout the list it seems. TSC is fast to read because it lives in the CPU.. HPET lives off somewhere behind a bridge, so reading it requires

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-08 Thread Gary Stanley
At 02:45 PM 3/8/2009, Ben B wrote: okay, i compiled the kernel, and I see all of them. you think i should use tsc or hpet? there are opinions for both throughout the list it seems. TSC is fast to read because it lives in the CPU.. HPET lives off somewhere behind a bridge, so reading it requires

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Ben B
I feel like such a linux nub... how do you set your clocksource? On Fri, Mar 6, 2009 at 11:56 PM, The Universes ad...@theuniverses.comwrote: Do you think dropping it down to 500HZ is a better choice or do you suggest something else? If yes, does 500HZ still maintain 500FPS? Thanks! Gary

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread The Universes
cat hpet /sys/devices/system/clocksource/clocksource0/current_clocksource Ben B wrote: I feel like such a linux nub... how do you set your clocksource? On Fri, Mar 6, 2009 at 11:56 PM, The Universes ad...@theuniverses.comwrote: Do you think dropping it down to 500HZ is a better choice or

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Taavi
The Universes wrote: cat hpet /sys/devices/system/clocksource/clocksource0/current_clocksourc You mean: echo hpet /sys/devices/system/clocksource/clocksource0/current_clocksource Taavi ___ To unsubscribe, edit your list preferences, or view the

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread The Universes
Oops, thats right. Taavi wrote: The Universes wrote: cat hpet /sys/devices/system/clocksource/clocksource0/current_clocksourc You mean: echo hpet /sys/devices/system/clocksource/clocksource0/current_clocksource Taavi ___ To

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread listacct2
I feel like such a linux nub... how do you set your clocksource? On any fairly recent 2.6-series kernel you can put this right on the kernel boot commandline: clocksource=$whatever like clocksource=hpet or clocksource=tsc so that it is set at boot. The echoing of available options into

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread listacct2
So to get a list of which clocksources your hardware has available: # cat /sys/devices/system/clocksource/clocksource0/current_clocksource you'll get something like this back (but it will vary from system to system): tsc jiffies hpet acpi_pm Oops... that is supposed to be: # cat

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Gary Stanley
At 08:27 AM 3/7/2009, listac...@lvwnet.com wrote: I feel like such a linux nub... how do you set your clocksource? On any fairly recent 2.6-series kernel you can put this right on the kernel boot commandline: clocksource=$whatever like clocksource=hpet or clocksource=tsc so that it is set

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Gary Stanley
At 08:27 AM 3/7/2009, listac...@lvwnet.com wrote: I feel like such a linux nub... how do you set your clocksource? On any fairly recent 2.6-series kernel you can put this right on the kernel boot commandline: clocksource=$whatever like clocksource=hpet or clocksource=tsc so that it is set

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Ben B
i just have jiffies in as an available clocksource... there a way to get htpet and tsc? On Sat, Mar 7, 2009 at 8:34 AM, Gary Stanley g...@velocity-servers.netwrote: At 08:27 AM 3/7/2009, listac...@lvwnet.com wrote: I feel like such a linux nub... how do you set your clocksource? On any

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Gary Stanley
At 12:47 PM 3/7/2009, Ben B wrote: i just have jiffies in as an available clocksource... there a way to get htpet and tsc? TSC should be always be available as a clocksource, unless something is seriously wrong with your setup. Actually, a normal kernel will panic if TSC isn't compiled into the

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Gary Stanley
At 12:47 PM 3/7/2009, Ben B wrote: i just have jiffies in as an available clocksource... there a way to get htpet and tsc? TSC should be always be available as a clocksource, unless something is seriously wrong with your setup. Actually, a normal kernel will panic if TSC isn't compiled into the

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Ben B
dont ask me, this is how it was when i found it. So if I compile my own kernel, it should have them clocksources? On Sat, Mar 7, 2009 at 11:01 AM, Gary Stanley g...@velocity-servers.netwrote: At 12:47 PM 3/7/2009, Ben B wrote: i just have jiffies in as an available clocksource... there a way

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Gary Stanley
At 01:12 PM 3/7/2009, Ben B wrote: dont ask me, this is how it was when i found it. So if I compile my own kernel, it should have them clocksources? What's the motherboard? is it a virtual machine? On Sat, Mar 7, 2009 at 11:01 AM, Gary Stanley g...@velocity-servers.netwrote: At 12:47 PM

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Gary Stanley
At 01:12 PM 3/7/2009, Ben B wrote: dont ask me, this is how it was when i found it. So if I compile my own kernel, it should have them clocksources? What's the motherboard? is it a virtual machine? On Sat, Mar 7, 2009 at 11:01 AM, Gary Stanley g...@velocity-servers.netwrote: At 12:47 PM

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread gameadmin
[mailto:hlds_linux- boun...@list.valvesoftware.com] On Behalf Of Gary Stanley Sent: 07 March 2009 18:40 To: Half-Life dedicated Linux server mailing list; Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] Kernel Options and Clocksource At 01:12 PM 3/7/2009, Ben B wrote: dont ask

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread Ben B
Duno about the mobo, but it's not a virtual. It's Q9400, 4gig ram, 64 bit Centos 5.2 On Sat, Mar 7, 2009 at 11:40 AM, Gary Stanley g...@velocity-servers.netwrote: At 01:12 PM 3/7/2009, Ben B wrote: dont ask me, this is how it was when i found it. So if I compile my own kernel, it should

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread listacct2
So to get a list of which clocksources your hardware has available: # cat /sys/devices/system/clocksource/clocksource0/current_clocksource I think you meant available_clocksource not current_clocksource ? Yes, already corrected myself TYVM ___

[hlds_linux] Kernel Options and Clocksource

2009-03-06 Thread The Universes
I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm wondering if having kernel at 1000HZ (not tickless) with PREEMPT is necessary? Is that putting unnecessary strain on my CPU (Q9300)? My second question is if you guys use HPET as your clocksource $ cat

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-06 Thread ServerAlex
Its not the timing that wastes the CPU time. You can't lower it with that. 90% is absolutly normal for such a big server. 2009/3/7 The Universes ad...@theuniverses.com: I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm wondering if having kernel at 1000HZ (not tickless) with PREEMPT

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-06 Thread The Universes
Would changing to HPET help at all? ServerAlex wrote: Its not the timing that wastes the CPU time. You can't lower it with that. 90% is absolutly normal for such a big server. 2009/3/7 The Universes ad...@theuniverses.com: I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-06 Thread Gary Stanley
At 10:33 PM 3/6/2009, The Universes wrote: I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm wondering if having kernel at 1000HZ (not tickless) with PREEMPT is necessary? Is that putting unnecessary strain on my CPU (Q9300)? My second question is if you guys use HPET as your

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-06 Thread Gary Stanley
At 10:33 PM 3/6/2009, The Universes wrote: I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm wondering if having kernel at 1000HZ (not tickless) with PREEMPT is necessary? Is that putting unnecessary strain on my CPU (Q9300)? My second question is if you guys use HPET as your

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-06 Thread The Universes
Do you think dropping it down to 500HZ is a better choice or do you suggest something else? If yes, does 500HZ still maintain 500FPS? Thanks! Gary Stanley wrote: At 10:33 PM 3/6/2009, The Universes wrote: I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm wondering if having kernel