CPU use ( server )

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby tChr » Wed Apr 05, 2006 1:24 pm

Ive got my ladder server up again.. so lemme see:
Code: Select all
ps:
nexuiz    2260 28.5  4.3 96800 45364 pts/2   S+   15:11   3:08 ./nexuiz-linux-686-dedicated +exec server_allmaps.cfg
top:
2260 nexuiz    15   0 96800  44m 2944 R 23.8  4.4   3:34.38 nexuiz-linux-68

So it seems I was wrong.. The CPU usage is quite hight.. In my head I must have confused it with the memory consumption.
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 GreEn`mArine » Wed Apr 05, 2006 3:06 pm

@Crash: btw, I'd like you to read through your posts before actually posting them as they are full of mistakes and I'm sometimes unsure what you are saying because of your syntax and "spelling" which is incorrect for every second word :(
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

Postby Crashzor » Wed Apr 05, 2006 4:40 pm

GreEn`mArine wrote:@Crash: btw, I'd like you to read through your posts before actually posting them as they are full of mistakes and I'm sometimes unsure what you are saying because of your syntax and "spelling" which is incorrect for every second word :(

I'm dyslexic so dat makes it harder for me to write correctly and special in English dutch gets hard sometimes so i will try to prevent the error buy reading and using OpenOffice to spell check my postes. :)
Crashzor
Member
 
Posts: 15
Joined: Sat Apr 01, 2006 8:24 pm

Postby tZork » Wed Apr 05, 2006 7:46 pm

Did anyone bougther to check the sysload when the server(s) are in use? idle load is rather uninteresting.. (sorry if its been posted above, im dead tired and should proly be sleeping insted of posting) All my past (but rather limited) experiances with nexuiz servers was that the load was ridiculously low, but i havent realy checked up on it lately. And do make sure that your sys_ticrate isent set to something crazed like 0.0001 ;)


and.. sorry for nagging abt this but
it realy simpel i notice the developers talking around it but i don't FUCKING CARE how the system works, i just want it to work right.

plz dont start that kinda crap talking. this is a very good comunity when it comes to (among other things) keeping the talk above 4'th gtade level.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby divVerent » Wed Apr 05, 2006 9:33 pm

Crashzor wrote:
GreEn`mArine wrote:@Crash: btw, I'd like you to read through your posts before actually posting them as they are full of mistakes and I'm sometimes unsure what you are saying because of your syntax and "spelling" which is incorrect for every second word :(

I'm dyslexic so dat makes it harder for me to write correctly and special in English dutch gets hard sometimes so i will try to prevent the error buy reading and using OpenOffice to spell check my postes. :)


That sounds tedious. Better idea: use Konqueror (included with KDE) as web browser. It can check the contents of web form fields automatically. In this post, it highlighted Crashzor, GreEn`mArine, btw, dyslexic (why that, looks right to me), OpenOffice and postes.

Is there perhaps a Firefox extension which does the same? Would be nice to have...
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby :) » Wed Apr 05, 2006 10:24 pm

divVerent wrote:Is there perhaps a Firefox extension which does the same? Would be nice to have...

the Google toolbar has a spell-checker
:)
Keyboard killer
 
Posts: 590
Joined: Tue Feb 28, 2006 9:09 pm

Postby Rizado » Fri Apr 14, 2006 10:36 am

Something is really wrong and I think it has someting to do with architectures because when I run dedicated server on my PPC 7400 466MHZ (CVS darkplace from today compiled with -mcpu=7400 -O3 -pipe -maltivec -mabi=altivec -fno-strict-aliasing -ffast-math -funroll-loops) without any players it starts out high (Well duh) but soon sink and disapear from top. With ps it sinks slowly.

Also if I run it with 10 bots ps says the load is about 80% after 30 minutes. And when I run it on my 3GHZ P4 the load is about 20% on empty server...
Rizado
Newbie
 
Posts: 1
Joined: Fri Apr 14, 2006 10:14 am

Postby esteel » Tue Apr 18, 2006 9:36 am

Rizado wrote:Something is really wrong and I think it has someting to do with architectures

Yeah this might be possible. We got Crashzor to compile the engine himself and after that it was at a stable 15% full and empty.. (no bots just players) and i tested it on my little server it was around 3% when empty and at 14% with 5 players (using the binary that came with Nexuiz). So maybe this is more a library problem then architecture..
Its very strange, guess i have to test the svn/cvs version of Nexuiz/DarkPlaces those days to see if they behave better. But as i did not have problems with the 1.5 version maybe others should try too. Pretty please :)
Last edited by esteel on Thu Aug 31, 2006 7:54 pm, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby GreEn`mArine » Tue Apr 18, 2006 2:43 pm

the way the server handles CPU usage is about to be changed by LordHavoc and div0. my v1.5 Nexuiz server is running at 30% (idling), however, CPU usage does usually not get any higher (have not really monitored that)

however, div0 had a test build which has variables to change some handling-times (how long to wait, and so stuff, didn't understand much of it) and with his help I was able to get a server with fluent movement, 0% load when idling and 10% load with 7 bots and me playing on the server, with full action all the time (and please notice that the AI of the bots also needs CPU time), so there is a great improvement possible ;)

Just wait, it will be in v1.6 for sure I guess
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

Postby esteel » Tue Apr 18, 2006 2:55 pm

Yeah i noticed the DP changelogs..
rewrote timing code, now a much better and very different sleeping method, no longer wastes any cpu time
changed timing code to have independent sleeping for client and server frames in a listen server
changed console execution to occur in sync with server frames if a server is running, this fixes frikbot loading of .way files
eliminated several host_* variables, replaced host_realframetime with cl.realframetime (which is how long since the last client frame)
removed the clamping of sys_ticrate to >= 0.1, so now sys_ticrate 0 is allowed (run as fast as possible), as well as silly values like 0.001
removed serverprofile cvar as it was not easy to preserve it in the rewritten timing
merged Host_FilterTime, Host_ServerFrame, Host_Frame, _Host_Frame into Host_Main (which also calls Host_Init), this eliminates some duplicate code in all the sys_ modules

So another reason why 1.6 will get great :)
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Previous

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron