FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian ISP

 
 
LinkBack Thread Tools
 
Old 12-17-2010, 07:09 PM
Timur Irmatov
 
Default Three server processes limited to one CPU core

Hi!


I have a Debian server running three instances of Counter-Strike.
Processor is Intel Core 2 Duo E4500 2.2 GHz. Recently I have noticed
that CPU load cannot go higher than 50% of total processing power (two
cores). There is mrtg graph attached showing user cpu load (green) and
idle times (blue). As you can see from the graph, user cpu load is
topped at 50% and does not go higher (14-22 pm yesterday). Today,
around 20 pm I have forced more loaded instance to CPU#0 with command
'schedtool -a 0x01 <PID1>' and two other instances with fewer players
to CPU#1 ('schedtool -a 0x02 <PID{2,3}>'). Before that adjustment,
affinity masks were 0x03 for all three instances, and from the 'top'
output I was able to see that both cores were running, just their
combined load was never higher than 50%. After I've set new
affinities, total CPU load goes higher, as you can see from the graph.

Why do these three instances consume no more than 50% with default
affinity setting when they are permitted to run on any core available
and why they are able to take more after such adjustment? Any hints?


--
Timur Irmatov, xmpp:irmatov@jabber.ru
 
Old 12-19-2010, 02:55 PM
Wojciech Ziniewicz
 
Default Three server processes limited to one CPU core

2010/12/17 Timur Irmatov <irmatov@gmail.com>:
> Hi!
>
Hi
[...]
> Why do these three instances consume no more than 50% with default
> affinity setting when they are permitted to run on any core available
> and why they are able to take more after such adjustment? Any hints?

Just curious - what kernel version are you running ? What tickrate do
you have and how much FPS do the css servers have ?

regards

--
Wojciech Ziniewicz
http://www.rfc-editor.org/rfc/rfc2324.txt


--
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikr7ySxrsF7Caze9v5eDV_JQFN0DPa91+-qUK2L@mail.gmail.com">http://lists.debian.org/AANLkTikr7ySxrsF7Caze9v5eDV_JQFN0DPa91+-qUK2L@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 12:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org