[hlds_linux] OP4 cpu usage question
So setmaster seems to have fixed the no server on steam browser problem. Within 15 seconds of my issuing the setmaster command, it appeared in the steam list - just like that, lickity split fast. Tnx to all that helped out with that one, I've never needed to deal with setmaster on windows boxes and I would not have thought of doing so. My next issue/question is cpu usage. I'm running this on a Sempron 2400+ box, Slackware 12.2, 2.6.27.7 kernel. 1GB ram. Foxconn K7S Winfast mother board, socket A, SIS chipset. I've used these boards for years, and found them to be quite stable. hlds_amd with no players runs at about 35% cpu. Right now there are eight players, and cpu is about 50%. The increase is actually not that bad, I'm waiting for player count to hit 12+ to see how it's really doing. I've run the windows version on this box, and with 12 players it might hit 10% cpu, so I'm observing quite a bit of difference. Is this typical? I haven't had a chance to recompile the kernel and select a simpler cpu scheduler, the default one is... CFQ, I think, and it has a bit of overhead associated with it. Not sure how much of an impact that might have on a slower box like this. Does anyone have any suggestions as to what I can do to optimize this box? It doesn't seem right that hlds sitting idle with no players would chug along at 35% cpu. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] OP4 cpu usage question
At 02:17 PM 7/22/2009, Ook wrote: So setmaster seems to have fixed the no server on steam browser problem. Within 15 seconds of my issuing the setmaster command, it appeared in the steam list - just like that, lickity split fast. Tnx to all that helped out with that one, I've never needed to deal with setmaster on windows boxes and I would not have thought of doing so. My next issue/question is cpu usage. I'm running this on a Sempron 2400+ box, Slackware 12.2, 2.6.27.7 kernel. 1GB ram. Foxconn K7S Winfast mother board, socket A, SIS chipset. I've used these boards for years, and found them to be quite stable. hlds_amd with no players runs at about 35% cpu. Right now there are eight players, and cpu is about 50%. The increase is actually not that bad, I'm waiting for player count to hit 12+ to see how it's really doing. I've run the windows version on this box, and with 12 players it might hit 10% cpu, so I'm observing quite a bit of difference. Is this typical? I haven't had a chance to recompile the kernel and select a simpler cpu scheduler, the default one is... CFQ, I think, and it has a bit of overhead associated with it. Not sure how much of an impact that might have on a slower box like this. Does anyone have any suggestions as to what I can do to optimize this box? It doesn't seem right that hlds sitting idle with no players would chug along at 35% cpu. That's not a CPU scheduler, that's an I/O scheduler. Deadline is probably the best choice for everyone. There's no magic bullet to reduce CPU usage as the binaries aren't really optimized for linux. -M ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] OP4 cpu usage question
At 02:17 PM 7/22/2009, Ook wrote: So setmaster seems to have fixed the no server on steam browser problem. Within 15 seconds of my issuing the setmaster command, it appeared in the steam list - just like that, lickity split fast. Tnx to all that helped out with that one, I've never needed to deal with setmaster on windows boxes and I would not have thought of doing so. My next issue/question is cpu usage. I'm running this on a Sempron 2400+ box, Slackware 12.2, 2.6.27.7 kernel. 1GB ram. Foxconn K7S Winfast mother board, socket A, SIS chipset. I've used these boards for years, and found them to be quite stable. hlds_amd with no players runs at about 35% cpu. Right now there are eight players, and cpu is about 50%. The increase is actually not that bad, I'm waiting for player count to hit 12+ to see how it's really doing. I've run the windows version on this box, and with 12 players it might hit 10% cpu, so I'm observing quite a bit of difference. Is this typical? I haven't had a chance to recompile the kernel and select a simpler cpu scheduler, the default one is... CFQ, I think, and it has a bit of overhead associated with it. Not sure how much of an impact that might have on a slower box like this. Does anyone have any suggestions as to what I can do to optimize this box? It doesn't seem right that hlds sitting idle with no players would chug along at 35% cpu. That's not a CPU scheduler, that's an I/O scheduler. Deadline is probably the best choice for everyone. There's no magic bullet to reduce CPU usage as the binaries aren't really optimized for linux. -M ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] OP4 cpu usage question
That's not a CPU scheduler, that's an I/O scheduler. Deadline is probably the best choice for everyone. There's no magic bullet to reduce CPU usage as the binaries aren't really optimized for linux. -M 35% cpu at idle? Compared to 1% on Winbloze? That goes beyond simply not being optimized for linux...I guess I'll wait and see how it performs with 12+ players. I would hate to have to go back to Windows simply because of this. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] OP4 cpu usage question
At 03:15 PM 7/22/2009, Ook wrote: That's not a CPU scheduler, that's an I/O scheduler. Deadline is probably the best choice for everyone. There's no magic bullet to reduce CPU usage as the binaries aren't really optimized for linux. -M 35% cpu at idle? Compared to 1% on Winbloze? That goes beyond simply not being optimized for linux...I guess I'll wait and see how it performs with 12+ players. I would hate to have to go back to Windows simply because of this. Run a profiler on it to see what it's doing. If you don't need 1000hz, remove it from the kernel. I'm sorry to say but there are others on this list who know for sure that the binaries just aren't as optimized as their windows counterparts. -M ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] OP4 cpu usage question
At 03:15 PM 7/22/2009, Ook wrote: That's not a CPU scheduler, that's an I/O scheduler. Deadline is probably the best choice for everyone. There's no magic bullet to reduce CPU usage as the binaries aren't really optimized for linux. -M 35% cpu at idle? Compared to 1% on Winbloze? That goes beyond simply not being optimized for linux...I guess I'll wait and see how it performs with 12+ players. I would hate to have to go back to Windows simply because of this. Run a profiler on it to see what it's doing. If you don't need 1000hz, remove it from the kernel. I'm sorry to say but there are others on this list who know for sure that the binaries just aren't as optimized as their windows counterparts. -M ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux
Re: [hlds_linux] OP4 cpu usage question
My suggestion would be get rid of that awful processor and replace it with an athlon x2 or similar. Simply because sempron's are half assed upgrades of the good ol' duron and they suck even at normal windows desktop tasks. You may be able to get away with an optimized kernel and trimming out the unneeded/unwanted background tasks (things like the X server) but TBH i wouldn't bother. just go spend some money on hardware upgrades. M3PH -Original Message- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Gary Stanley Sent: 22 July 2009 20:32 To: Half-Life dedicated Linux server mailing list; Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] OP4 cpu usage question At 03:15 PM 7/22/2009, Ook wrote: That's not a CPU scheduler, that's an I/O scheduler. Deadline is probably the best choice for everyone. There's no magic bullet to reduce CPU usage as the binaries aren't really optimized for linux. -M 35% cpu at idle? Compared to 1% on Winbloze? That goes beyond simply not being optimized for linux...I guess I'll wait and see how it performs with 12+ players. I would hate to have to go back to Windows simply because of this. Run a profiler on it to see what it's doing. If you don't need 1000hz, remove it from the kernel. I'm sorry to say but there are others on this list who know for sure that the binaries just aren't as optimized as their windows counterparts. -M ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux