Nexuiz 2.3 is coming soon...

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby KadaverJack » Sat May 05, 2007 6:37 pm

The engine is still strictly single threaded, all that option for osx does, is to tell the graphics driver it should create a second thread for all the OpenGL stuff. On any other system, that happens automagically and doesn't any extra effort from the developer.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby SavageX » Sat May 05, 2007 6:47 pm

PHREAK wrote:Just a quick question.
Does 2.3 support mutithreading outside of MacOSX or has this feature been included in the past.
If so, what is the command to enable/disable it.
I want to test something out and see how much mutithreading evens out the driver issues and GPU overload.

Thanks.


DP isn't multithreaded. All it does on MacOS X is to signal that the OpenGL driver shall run multi-threaded.

On other operating systems the 3D drivers do this by default anyway. If Apple did this right they'd just enable that behaviour by default - no idea why they want the apps to trigger it.

edit: My, I'm slow.
SavageX
Site Admin
 
Posts: 442
Joined: Wed Mar 01, 2006 9:34 am

Postby PHREAK » Sat May 05, 2007 7:05 pm

Lol, slow indeed :P
Thanks for the response guys.
Either way, my FPS doubled again when switching to 2.3
I installed 2.2.3 a few days ago (yeah I'm slow as well) and FPS close to doubeled there. Now it increased again by almost 80% !
This is too much greatness for me in such a short time. Great job guys.
I'm getting excited about the official 2.3
PHREAK
Alien
 
Posts: 153
Joined: Mon Mar 06, 2006 6:54 pm
Location: USA

Postby Taiyo.uk » Sat May 05, 2007 8:03 pm

Noob question: Would compiling for smp yield a significant performance increase on multi-core and multiprocessor systems or does this require changes in the code?
Taiyo.uk
Alien trapper
 
Posts: 436
Joined: Mon Apr 17, 2006 8:48 pm
Location: Reading, IN-GER-LUND!!!

Postby KadaverJack » Sat May 05, 2007 8:35 pm

Taiyo.uk wrote:Noob question: Would compiling for smp yield a significant performance increase on multi-core and multiprocessor systems or does this require changes in the code?

You can't simply compile a program for smp. Optimizing it for smp environments needs severe code changes and as stated in other threads that wouldn't make much sense for Nexuiz, since any modern multi-core CPU should be fast enough, so that Nexuiz is not CPU bound.
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Postby Psychcf » Sat May 05, 2007 9:28 pm

yeah, I mean nexuiz does not really use that much CPU unless you're using mesa drivers, which is not even a part of the engine. If anything it would make sense to multithread the server, but even that wouldn't really be necessary because of what kadaverjack said, the multi-core cpu should already be fast enough.
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby Sindwiller » Fri May 11, 2007 4:04 pm

Taiyo.uk wrote:Noob question: Would compiling for smp yield a significant performance increase on multi-core and multiprocessor systems or does this require changes in the code?


It's like, you'd have to rebuild your whole house to change its heating installation from gas to heater mats.

Now imagine this with a LOT of C code :P
Sindwiller
Member
 
Posts: 12
Joined: Sat May 27, 2006 11:05 am

Postby esteel » Mon May 14, 2007 8:18 pm

esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Previous

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron