performance drop with SVN Nexuiz

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

performance drop with SVN Nexuiz

Postby fronten » Wed Nov 18, 2009 8:19 pm

i noticed that SVN Version now plays a lot slower that plain vanilla 2.5.2, with identical settings.
so i compared the same (online multiplayer mentalspace) demofile in both versions:


SVN-Version (16.-18.Nov)
Code: Select all
result 6853 frames 109.5050000 sec 62.5816 fps,  fps min/avg/max: 13 71 190 (315 sec)
result 6853 frames 125.7910000 sec 54.4792 fps,  fps min/avg/max: 22 61 195 (315 sec)
result 6853 frames 96.8190000 sec 70.78156 fps,  fps min/avg/max: 42 77 193 (315 sec)
result 6853 frames 97.2600000 sec 70.46062 fps,  fps min/avg/max: 42 77 193 (315 sec)
result 6853 frames 128.3960000 sec 53.3739 fps,  fps min/avg/max: 32 58 164 (315 sec)
result 6853 frames 98.2880000 sec 69.72362 fps,  fps min/avg/max: 42 76 193 (315 sec)
result 6853 frames 98.4400000 sec 69.61608 fps,  fps min/avg/max: 42 76 195 (315 sec)
result 6853 frames 98.6650000 sec 69.45723 fps,  fps min/avg/max: 42 75 189 (315 sec)


vanilla version 2.5.2
Code: Select all
result 6853 frames 66.6160000 sec 102.873183 fps,  fps min/avg/max: 59 112 239 (315 sec)
result 6853 frames 69.8840000 sec 98.0625036 fps,  fps min/avg/max: 50 107 218 (315 sec)
result 6853 frames 68.3060000 sec 100.327936 fps,  fps min/avg/max: 56 109 239 (315 sec)
result 6853 frames 74.2140000 sec 92.3410677 fps,  fps min/avg/max: 50 100 214 (315 sec)
result 6853 frames 73.7920000 sec 92.8691457 fps,  fps min/avg/max: 56 101 232 (315 sec)
result 6853 frames 73.7660000 sec 92.9018789 fps,  fps min/avg/max: 57 101 230 (315 sec)


(the very different values within a version might be the first-load and/or external reasons).
but still you see the huge overall difference, for me about 20 FPS!

my settings are low, no gibs or such neat effects ^^
(cleaned config.cfg :http://pastebin.com/m34f595c)


Is this the price for implementing ODE?
fronten
Advanced member
 
Posts: 96
Joined: Thu Apr 20, 2006 9:52 pm

Postby Samual » Wed Nov 18, 2009 8:59 pm

I would vantage to guess this is related to collision handling, although I could be wrong. Please try dp revision 9398 vs 2.5.2 vs dp revision 9406 engine for me.
Do it yourself, or stop complaining.
(Developer Tracker) | (Nexuiz Roadmap)
Samual
Keyboard killer
 
Posts: 508
Joined: Mon May 25, 2009 7:22 pm
Location: Pittsburgh, PA

Postby fronten » Wed Nov 18, 2009 9:16 pm

thanx for your answer, that might be the case.

now i dont know how to change version to the ones you mentioned, please tell.
i am using your 'Nexuiz Build System v0.1 - Quick Build'.


there is also some staying 'side effect', meaning jerky (visible opponents) player movement, like something continues to use much processor time or bandwidth.
(i currently dont have a clue about that..)

yes, i am quite sure i already ruled out external reasons like suddenly starting Automatic Updates, Scheduled Backup jobs, virii, trojans or such.
fronten
Advanced member
 
Posts: 96
Joined: Thu Apr 20, 2006 9:52 pm

Postby fronten » Fri Nov 20, 2009 12:23 pm

Samual,
seriously, i looked into your nice batch files fo Compiling Nexuiz on Windows, but i dont see a point where i could drop in a 'SVN UP ####', i dont understand that code quite much.
(only see references to 'call getsvn svn://' but that refers to downloading [how, which version?] and some 'make' stuff'..)
I dont see how to fiddle with svn at all, no GUI, the nested folder structures, make, etc. pp.


so please help me, maybe with a new system.bat with version control option? ;)


Can't be that am i the only one with such performance drops!?


PS: for me personally the 'fix' is using plain original 2.5.2 version, but i really liked to try SVN version and scream bug! at you..
fronten
Advanced member
 
Posts: 96
Joined: Thu Apr 20, 2006 9:52 pm

Postby fronten » Fri Nov 20, 2009 1:18 pm

thanx to Spaceman (who built it for me) i was able to test the forementioned builds:

Code: Select all
enginedate 02:52:53 Oct  1 2009 9271 release
result 6853 frames  73.7660000s 92.9018789 fps, [..] min/avg/max: 57 101 230 (315s)
enginedate 12:38:51 Nov 20 2009 9398 release
result 6853 frames  69.4940000s 98.6128299 fps, [..] min/avg/max: 55 108 232 (315s)
enginedate 13:04:38 Nov 20 2009 9406 release
result 6853 frames  69.1420000s 99.1148651 fps, [..] min/avg/max: 57 108 235 (315s)
enginedate 13:29:54 Nov 20 2009 9450 release
result 6853 frames 72.1210000s 95.0208677 fps, [..]  min/avg/max: 55 104 219 (315s)
enginedate 12:56:00 Nov 20 2009 9507 release
result 6853 frames 107.4890000s 63.7553610 fps, [..] min/avg/max: 32 70 235 (315s)


first one is release version, last one latest svn, in between the ones you mentioned, which work without flaws as you can see.
Last edited by fronten on Fri Nov 20, 2009 1:39 pm, edited 3 times in total.
fronten
Advanced member
 
Posts: 96
Joined: Thu Apr 20, 2006 9:52 pm

Postby Spaceman » Fri Nov 20, 2009 1:21 pm

Some Windows builds cross compiled on Linux

Darkplaces_r9398

Darkplaces_r9406

Darkplaces_r9450

Darkplaces_r9507
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Postby Samual » Fri Nov 20, 2009 2:43 pm

fronten wrote:thanx to Spaceman (who built it for me) i was able to test the forementioned builds:

Code: Select all
enginedate 02:52:53 Oct  1 2009 9271 release
result 6853 frames  73.7660000s 92.9018789 fps, [..] min/avg/max: 57 101 230 (315s)
enginedate 12:38:51 Nov 20 2009 9398 release
result 6853 frames  69.4940000s 98.6128299 fps, [..] min/avg/max: 55 108 232 (315s)
enginedate 13:04:38 Nov 20 2009 9406 release
result 6853 frames  69.1420000s 99.1148651 fps, [..] min/avg/max: 57 108 235 (315s)
enginedate 13:29:54 Nov 20 2009 9450 release
result 6853 frames 72.1210000s 95.0208677 fps, [..]  min/avg/max: 55 104 219 (315s)
enginedate 12:56:00 Nov 20 2009 9507 release
result 6853 frames 107.4890000s 63.7553610 fps, [..] min/avg/max: 32 70 235 (315s)


first one is release version, last one latest svn, in between the ones you mentioned, which work without flaws as you can see.

Meh, that could be anything (After 9450)........ Lots and lots of changes after that which I don't understand in the svn log... So LordHavoc will have to sort this one out.

By the way, my build script release that I gave you (v3 I presume) does not support revision picking, that is something I added later -- But well, I haven't taken the time to release the new version as i'm rather busy and it seems to suffice for now.
Do it yourself, or stop complaining.
(Developer Tracker) | (Nexuiz Roadmap)
Samual
Keyboard killer
 
Posts: 508
Joined: Mon May 25, 2009 7:22 pm
Location: Pittsburgh, PA

Postby fronten » Fri Nov 20, 2009 5:35 pm

Meh, you might say that!

still it would be nice if you would release the updated build system (isnt it mainly the batch files changed?) as i really don't know how to use SVN or that tortoise SVN client to work with fteqc, darkplaces, nexuiz repos (tried; failed;).
i am willing to test/hunt this bug to a certain version change, if i only knew how^^
fronten
Advanced member
 
Posts: 96
Joined: Thu Apr 20, 2006 9:52 pm

Postby fronten » Sat Nov 21, 2009 12:07 am

Code: Select all
enginedate 20:20:48 Nov 20 2009 9404 release
result 6853 frames 69.5230000s 98.5716957 fps, [..] min/avg/max: 55 108 233 (315s)

enginedate 13:29:54 Nov 20 2009 9450 release
result 6853 frames 72.1210000s 95.0208677 fps, [..] min/avg/max: 55 104 219 (315s)

denginedate 21:16:51 Nov 20 2009 9485 release
result 6853 frames 69.8030000s 98.1762961 fps, [..] min/avg/max: 55 107 226 (315s
)
enginedate 21:47:58 Nov 20 2009 9486 release
result 6853 frames 67.028000s 102.2408546 fps, [..] min/avg/max: 58 112 253 (315s)

enginedate 22:22:13 Nov 20 2009 9487 release
result 6853 frames 84.6660000s 80.9415822 fps, [..] min/avg/max: 48 88 240 (315s)
enginedate 22:22:13 Nov 20 2009 9487 release
result 6853 frames 73.4900000s 93.2507824 fps, [..] min/avg/max: 53 101 237 (315s)
enginedate 22:22:13 Nov 20 2009 9487 release
result 6853 frames 73.4800000s 93.2634731 fps, [..] min/avg/max: 56 101 237 (315s)
enginedate 22:22:13 Nov 20 2009 9487 release
result 1551 frames 17.3400000s 89.4463668 fps, [..] min/avg/max: 56 101 240 (70s)
enginedate 22:22:13 Nov 20 2009 9487 release
result 6853 frames 73.2840000s 93.5129087 fps, [..] min/avg/max: 57 102 237 (315s)

enginedate 22:08:35 Nov 20 2009 9488 release
result 6853 frames 105.1560000s 65.1698429 fps, [..] min/avg/max: 38 71 240 (315s)
enginedate 22:08:35 Nov 20 2009 9488 release
result 6853 frames 73.3120000s 93.4771934 fps, [..] min/avg/max: 57 101 237 (315s)
enginedate 22:08:35 Nov 20 2009 9488 release
result 6853 frames 105.6580000s  64.8602094 fps, [..] min/avg/max: 37 71 237 (315s)
enginedate 22:08:35 Nov 20 2009 9488 release
result 6853 frames 73.5490000s  93.1759779 fps, [..] min/avg/max: 55 101 240 (315s)
enginedate 22:08:35 Nov 20 2009 9488 release
result 6853 frames 73.6510000s  93.0469376 fps, [..] min/avg/max: 56 101 237 (315s)

enginedate 22:35:09 Nov 20 2009 9489 release
result 6853 frames 105.1220000s 65.1909210 fps, [..] min/avg/max: 37 71 240 (315s)
enginedate 22:35:09 Nov 20 2009 9489 release
result 6853 frames 105.080000s 65.2169775 fps, [..] min/avg/max: 36 72 240 (315s)
enginedate 22:35:09 Nov 20 2009 9489 release
result 6853 frames 79.1330000s  86.6010388 fps, [..] min/avg/max: 7 100 237 (315s)
enginedate 22:35:09 Nov 20 2009 9489 release
result 6853 frames 74.1230000s  92.4544338 fps, [..] min/avg/max: 56 100 230 (315s)

enginedate 21:53:10 Nov 20 2009 9490 release
result 6853 frames 109.0810000s 62.8248733 fps, [..] min/avg/max: 36 69 228 (315s)
enginedate 21:53:10 Nov 20 2009 9490 release
result 6853 frames 104.3850000s  65.6511951 fps, [..] min/avg/max: 15 74 230 (315s)
enginedate 21:53:10 Nov 20 2009 9490 release
result 6853 frames 73.2480000s  93.5588685 fps, [..] min/avg/max: 55 102 240 (315s)

enginedate 22:02:46 Nov 20 2009 9491 release
result 6853 frames 109.3240000s 62.6852292 fps, [..] min/avg/max: 36 68 225 (315s)
enginedate 22:02:46 Nov 20 2009 9491 release
result 6853 frames 104.7710000s  65.4093213 fps, [..] min/avg/max: 14 74 240 (315s)
enginedate 22:02:46 Nov 20 2009 9491 release
result 6853 frames 73.3340000s  93.4491505 fps, [..] min/avg/max: 55 101 240 (315s)

enginedate 21:37:21 Nov 20 2009 9497 release
result 6853 frames 108.8350000s 62.9668765 fps, [..] min/avg/max: 36 69 228 (315s)
enginedate 21:37:21 Nov 20 2009 9497 release
result 6853 frames 105.2010000s  65.1419663 fps, [..] min/avg/max: 37 71 235 (315s)
enginedate 21:37:21 Nov 20 2009 9497 release
result 6853 frames 73.3500000s  93.4287662 fps, [..] min/avg/max: 57 101 242 (315s)

enginedate 12:56:00 Nov 20 2009 9507 release
result 6853 frames 105.6170000s  64.8853878 fps, [..] min/avg/max: 38 71 235 (315s)
enginedate 12:56:00 Nov 20 2009 9507 release
result 6853 frames 73.4970000s  93.2419010 fps, [..] min/avg/max: 57 101 237 (315s)


now i got dissappointed and very upset.
timedemo just doesnt seem to be very reliable.

for the last times i tested like this:
started Nexuiz, chose demo file, played it, broke, timedemo'd it.

but as it seems the timedemo results change a lot if you run a demo repeatedly.
memory / cache issue?
within these results i do NOT find the bug i was intending to find.
a minimum of above 55 fps is considered good.

for now i cannot call this problem a bug or found whatsoever.
i was able to repeat the buggy action, but not in any case.

still there remains one big thing with all this:

playing a game live online cannot be compared to replaying a demo.

so how does bad caching (if this is) inflict online game play?
in one word: badly.

a 'fix' like for demos, 'just load it again' ist not possible for online game play.

i remain speechless.
this is a problem i noticed (quite heavily) when playing online - huge framerate drops - it is like watching a demo a first, or second time. at third time, most probably, it will be fine.
but as said, again, online game play is not this.


right now it stays:
with 2.5.2 version all is more or less fine, playable.
fronten
Advanced member
 
Posts: 96
Joined: Thu Apr 20, 2006 9:52 pm

Postby liolak » Fri Nov 27, 2009 1:24 pm

2 days ago i got rid of my super messy nexuiz-svn install (messy by my fault). I downloaded a vanilla 2.5.2 binary version from the nexuiz homepage. I must admit that it was a very bad version for me. water is fucked up and performance in general is bad. Upgrading with the nov 21st patch fixed all this and made the game go from "not cool at all" to "awesome, like it has ever been".
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest