CPU use ( server )

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

CPU use ( server )

Postby Crashzor » Mon Apr 03, 2006 6:36 pm

i'm tring to run a nexuiz server on a server box were is only 1 cs server and same webhosting running
but just have a look of this coppy'd out of top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15402 crash 15 0 97780 44m 1060 S 37.8 4.4 1:39.65 nexuiz-linux-68
20537 crash 15 0 104m 94m 8396 S 0.7 9.4 99:33.90 hlds_i686
(rest of the out put removed for securty reason and because its in relavant )
for the record the Cs server is hlds_i686 and the other 1 is the nexuiz server.
you are not gowing to tell me dat a 2 slots nexuiz server on standaart setings uses more Cpu dan a 12 slot boosted ( 1000 fps ) server of counter-strike1.6.

so i'm dowing smarting wrong,
or the progammers have to have a big look @ the server side because if this progamma is gowing to get big it maby a advise to have a small but stabbel running server.
because of the hosting company's willing to run server.

The server console:
./nexuiz-linux-686-dedicated
^7Nexuiz Linux 13:23:06 Feb 13 2006
^7Trying to load library... "libz.so.1" - loaded.
^7Compressed files support enabled
^7Added packfile data/data20060214.pk3 (2537 files)
^7Console initialized.
^7Playing registered version.
^7"maxplayers" set to "2"
^7couldn't exec autoexec.cfg
^7Warning: could not find cvar exit_cfg; when expanding alias chmap
^7 exec $exit_cfg; exec game_reset.cfg; exec maps/$1.mapcfg
^7
^7exec <filename> : execute a script file
^7Server using port 26000
^7Server listening on address 0.0.0.0:26000
^7Loaded maps/nexdm01.ent

Greetings Crashzor
Crashzor
Member
 
Posts: 15
Joined: Sat Apr 01, 2006 8:24 pm

Re: CPU use ( server )

Postby KadaverJack » Mon Apr 03, 2006 7:25 pm

Crashzor wrote:you are not gowing to tell me dat a 2 slots nexuiz server on standaart setings uses more Cpu dan a 12 slot boosted ( 1000 fps ) server of counter-strike1.6.

Yes, i am :)
An empty Nexuiz 1.5.1 server (development version) takes 17% CPU time on my system (a 2.6GHz P4 that is). I guess the cs server is "cheating" and just checking whether there are player when empty. The Nexuiz server doesn't make a difference whether it's empty or not. That means a rather high CPU usage when it's empty, but it also means that it won't increase much when there are players.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Crashzor » Mon Apr 03, 2006 7:37 pm

its linux is far is i know you can resave cpu use :?
its running there on a p4 2.4 ghz i think and i think you need to do sameting about it.
but dat is just me i mean its lags on 2.4ghz and no its not the internet 100mbit most be good for 2 slots ;).
wel a boosted cs server don't lags.
there is sameting wrong here i think the server version can be mutch litler.
wou be great for ppl running it from data centers.
maby releas a server lite version were more of the cpu use wil be done by the client's
Crashzor
Member
 
Posts: 15
Joined: Sat Apr 01, 2006 8:24 pm

Postby tChr » Mon Apr 03, 2006 8:51 pm

Kadaver, are you insane? My 2 slot server uses 2.8 % or something (3GHz P4). And thats with 0.03 ticrate. I'd check, but I forgot to restart the server after the powerout today. I'll let you know when I've checked for sure.
the spice extend life!
the spice expand conciousness!
the spice is vital to space travel!
sooooo.. tell me what you want, waht you really-really want
I will proceed directly to the intravenous injection of hard drugs, please.
tChr
Forum addon
 
Posts: 1501
Joined: Tue Feb 28, 2006 9:11 pm
Location: Trondheim, Norway

Postby KadaverJack » Mon Apr 03, 2006 9:33 pm

Crashzor wrote:maby releas a server lite version were more of the cpu use wil be done by the client's

Not possible atm, since the client can't execute any quakec gamecode.

tChr wrote:Kadaver, are you insane?

No, not that i'm aware of...
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby esteel » Mon Apr 03, 2006 9:48 pm

My server here (normal ffa, 6 players, mostly used for testing now as its dsl) uses around 1-5 % cpu when empty. The computer is a amd sempron 2200+ with 512 mb ram. And i really would not expect more from it :)
Strange that you two have so much more..
Last edited by esteel on Thu Aug 31, 2006 7:38 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Crashzor » Tue Apr 04, 2006 8:32 am

KadaverJack wrote:Not possible atm, since the client can't execute any quakec gamecode.

Look i'm dowing this from a users point of view and dan its realy easy.
I don't give shit about the source code i just want it to run on less cpu.
i understand you're trobbel but work on it i also know you're not a wizzard waving you're stik and the cpu use is less but you know what i mean right ?
al also notice the client is only using like 15 % cpu grafish full on a amd 3500+
KadaverJack wrote:No, not that i'm aware of...

1 of the point of begin insane is not notice it you're self :P
Crashzor
Member
 
Posts: 15
Joined: Sat Apr 01, 2006 8:24 pm

Postby esteel » Tue Apr 04, 2006 9:22 am

Hmm i do not get why our servers show such different cpu usages.. 1-5% seems fine and it was mostly around 2-3 so maybe nexuiz is having issues with something on you servers? libraries or what ever.. almost 40% is just insane.. although i'm sure KadaverJack is not :)
Did one of you try to strace nexuiz?
Last edited by esteel on Thu Aug 31, 2006 7:39 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby Daedalus » Tue Apr 04, 2006 9:30 am

hmm, on our server (Athlon xp2000+, 512 MB RAM), which is running ladder+dreckloch+a t2 server, we have an average cpu use of 20%....
The road of excess leads to the palace of wisdom.
- W.Blake
Daedalus
Alien trapper
 
Posts: 311
Joined: Tue Feb 28, 2006 9:29 pm
Location: Interzone

Postby GreEn`mArine » Tue Apr 04, 2006 3:33 pm

CPU time is a pretty relative value

TOP shows different values than PS, so this is not really a accurate way of telling CPU usage anyway

CPU usage is pretty random for me. it can be 2% and also 35%. a empty server has between 15-25%. I'm pretty sure this thing is heavily bugged and no1 traced it down to the issue yet ^^ (since only the people who cannot do anything about it get the problems, while the developers never have these problems)

I mean, hey, all developers claimed to have fluent gameplay when the choppy movement-fix was not there yet, so I think they are somehow insensible for such things xD

my server hardware is amp sempron 2200+, 512 mb ram, suse 9.3, broken hardware and drivers which cause this high CPU usage of course (developers explanation xD)

perhaps someone could give the people with high CPU usage a special server version that is profiling all the time and logging it to see whether soem functions in the server start going crazy sometimes ?
IRC quote:
[kojn] I've been coming a bit more recently
[kojn] she took it the dirty way
GreEn`mArine
Forum addon
 
Posts: 1509
Joined: Tue Feb 28, 2006 9:33 pm
Location: Germany

Next

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron