Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.
Moderators: Nexuiz Moderators, Moderators
by Gego » Sat Jul 18, 2009 7:31 pm
after looking at the gnome-system-monitor while compiling a map i noticed that only one core was used... so i went searching and found this:
http://en.wikibooks.org/wiki/Q3Map2
- Code: Select all
-threads <number of threads Q3Map2 should use>
* Specifies a number of threads to use during compiling. On Windows, Q3Map2 automatically detects the number of CPUs present, and sets the threadcount accordingly. The -threads switch can be used to override this behavior.
* Linux users will need to manually set -threads in order to activate SMP support in Q3Map2.
so by customizing the build menu and adding
-threads n+1 (where n is number of cores or available threads (an single core P4 on sirtin chipsets has 2, an i7 has 8, C2Q has 4 etc etc ) you will make map compiling a lot faster..
[

-
Gego
- Alien
-
- Posts: 159
- Joined: Wed Mar 01, 2006 4:39 pm
by Sepelio » Sat Jul 18, 2009 7:41 pm
I was fairly sure it autodetected this...
-
Sepelio
- Forum addon
-
- Posts: 1101
- Joined: Tue Jun 27, 2006 7:57 pm
- Location: Scotland
by Gego » Sat Jul 18, 2009 8:01 pm
not on my system...
can some one confirm/dismiss that it is auto detected?
[

-
Gego
- Alien
-
- Posts: 159
- Joined: Wed Mar 01, 2006 4:39 pm
by FruitieX » Sun Jul 19, 2009 8:47 am
For me it is...
-
FruitieX
- Keyboard killer
-
- Posts: 588
- Joined: Mon Nov 13, 2006 4:47 pm
- Location: Finland
by Gego » Sun Jul 19, 2009 11:39 am
are you shore that is is not just jumping between threads?
I will have to do a benchmark.... (just letting it run and not using the computer...) but that will have to wait...
[

-
Gego
- Alien
-
- Posts: 159
- Joined: Wed Mar 01, 2006 4:39 pm
by FruitieX » Sun Jul 19, 2009 12:01 pm
Gego wrote:are you shore that is is not just jumping between threads?
I will have to do a benchmark.... (just letting it run and not using the computer...) but that will have to wait...
Well, it uses 100% of both of my cores so...
-
FruitieX
- Keyboard killer
-
- Posts: 588
- Joined: Mon Nov 13, 2006 4:47 pm
- Location: Finland
Return to Nexuiz - Editing
Who is online
Users browsing this forum: No registered users and 1 guest