SRCDS Steam group


Got some time on my hands, thought i'd give this kernel stuff another wack
#1
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 http://wiki.fragaholics.de/index.php/EN:Linux_Kernel_Optimization

Anyone have any idea what could be missing?
Reply
#2
do you have the native disk controller drivers installed? if ide, perhaps some settings are out of tune.
Reply
#3
its SATA_WDC_WD2500YS

not sure how to check the driver
Reply
#4
that is the model of the hard drive, post the output of the 'lspci' command here.
Reply
#5
command not found.

this is on my default kernel now, where everything loads nice and fast. Big Grin
Reply
#6
BrutalGoerge Wrote:command not found.

this is on my default kernel now, where everything loads nice and fast. Big Grin

you will have to install it. on a lot of distros its part of a package called pciutils or something similar.
Reply
#7
oh shit, i dont think I was on root when I tried to run the command the first time...

my bad
Code:
00:00.0 Host bridge: Intel Corporation E7230/3000/3010 Memory Controller Hub (rev c0)
00:01.0 PCI bridge: Intel Corporation E7230/3000/3010 PCI Express Root Port (rev c0)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
0d:00.0 Ethernet controller: Intel Corporation 82573E Gigabit Ethernet Controller (Copper) (rev 03)
0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
0f:00.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)

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.
Reply
#8
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
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#9
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
Reply
#10
txqzr4 Wrote: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
all that was already enabled. =\
Reply
#11
Are you running idler?
Reply
#12
sXs Wrote:Are you running idler?

no
Reply
#13
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)