Posts: 229
Threads: 38
Joined: Dec 2007
Reputation:
1
01-28-2009, 01:38 PM
(This post was last modified: 01-28-2009, 01:39 PM by BrutalGoerge.)
Sooo i compiled a kernel, can get awesome stable FPS like at 990 or so.
BUT loading times for everything is MEGA SLOW
like it takes 5 minutes to start the server or change a map
Takes a minute to log on with putty
Seems like I am missing something
I pretty much followed this tutorial to the letter *****wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization
Anyone have any idea what could be missing?
Posts: 143
Threads: 0
Joined: Dec 2008
Reputation:
2
01-28-2009, 04:40 PM
(This post was last modified: 01-28-2009, 04:41 PM by CGS|Todd.)
do you have the native disk controller drivers installed? if ide, perhaps some settings are out of tune.
Posts: 229
Threads: 38
Joined: Dec 2007
Reputation:
1
its SATA_WDC_WD2500YS
not sure how to check the driver
Posts: 143
Threads: 0
Joined: Dec 2008
Reputation:
2
that is the model of the hard drive, post the output of the 'lspci' command here.
Posts: 2,031
Threads: 27
Joined: Nov 2008
Reputation:
17
BrutalGoerge Wrote:I moreso want to stabilize fps and optimize cpu usage than just increase fps. Does changing the hz to 1000, and realtime preemption increase cpu load per process?
I want to make most efficient use of the cpu, and have stable fps of at least 200.
HZ=1000 in the kernel increases the interrupt load and thus adds some cpu usage to the even empty root server (without any srcds running). but that will not increase if you start some servers...
realtime preemtion might slightly increase the overhead in the kernel, but I never noticed a measurable increase in the cpu time for a running srcds. it will only make sure that srcds gets its cpu time when it needs (and not half a millisecond later...).
but, if you produce much cpu usage in a process with realtime priority, you can stall important system processes and make even disk access slower. this is why I wrote in the howto to set the sirq-hrtimer to priority 99 and srcds "only" to 98. check if those processes really have that priorities, especially if the sirq-hrtimer does not run with a higher priority than srcds I could imagine some strange effects.
btw: if you want to test the speed of you disk, try this:
Code:
mhier@fragaholics ~ $ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 7822 MB in 2.00 seconds = 3917.59 MB/sec
Timing buffered disk reads: 250 MB in 3.02 seconds = 82.90 MB/sec
*****www.fpsmeter.org
*****wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Posts: 74
Threads: 4
Joined: Sep 2008
Reputation:
0
01-30-2009, 12:04 PM
(This post was last modified: 01-30-2009, 12:10 PM by txqzr4.)
in menuconfig --
device drivers-> serial ata -> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support and AHCI
device drivers -> SCSI device support -> legacy /proc/scsi/ support, SCSI disk support and SCSI CDROM support
Posts: 229
Threads: 38
Joined: Dec 2007
Reputation:
1
Update, It must have been something unknown with the old server. We got a new (better server) for an awesome deal, over 50% less than the old server. Anyway, compiled the kernel, and it's working just fine, just at 500 fps though, but, im not a reseller, so who needs 1000 fps? :p