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 require

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 require

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, wrote: > >> So to get a list of which clocksources your hardware has > >> available: > >> > >># cat /sys/devices/syste

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

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 wrote: > 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?

Re: [hlds_linux] Kernel Options and Clocksource

2009-03-07 Thread gameadmin
.valvesoftware.com [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

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 >wrote: > > > At 12:47 PM 3/7/2009, Ben B wrote

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 >wrote: > > > At 12:47 PM 3/7/2009, Ben B wrote

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 wrote: > 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

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
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 wrote: > 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-se

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 > >s

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 > >s

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 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 th

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 > > ___

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 t

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 wrote: > >> Do you think dropping it down to 500HZ is a better choice or do you >> sugges

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 wrote: > 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: > >

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 ke

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 cloc

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 cloc

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 : >> I'm running 4 32 man TF2 servers at 500fps (66 tick) and I'm wondering >> if having

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 : > 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 th