Author Topic: Multithreading build with Visual Studio 8  (Read 13924 times)

0 Members and 1 Guest are viewing this topic.

Groove

  • Soldier
  • **
  • Posts: 51
    • http://www.g-truc.net
Multithreading build with Visual Studio 8
« on: July 10, 2008, 09:09:57 AM »
I discover yesterday a great feature in Visual Studio 8 /MPx.

It's a build command line parameter allowing to build a project using multiple CPUs... Finally!

I had some great results with my Q6600 + 2GB of memory + WinXP32:

Quake 4 SDK 1.3 (default): 35s
Quake 4 SDK 1.3 (/MP2): 25s
Quake 4 SDK 1.3 (/MP4): 20s
Quake 4 SDK 1.3 (/MP8): 21s

Irrlicht 1.4 (default): 43s
Irrlicht 1.4 (/MP4): 14s
Irrlicht 1.4 (/MP8): 14s

Xerces lib 2.8 (default): 71s
Xerces lib 2.8 (/MP4): 26s
Xerces lib 2.8 (/MP8): 27s

Enjoy!

JeGX

  • Global Moderator
  • Capo Crimine
  • *****
  • Posts: 2385
    • oZone3D.Net
Re: Multithreading build with Visual Studio 8
« Reply #1 on: July 10, 2008, 01:09:13 PM »
that's a GREAT find :thumbup:
I will try this trick asap (this afternoon I hope)...

JeGX

  • Global Moderator
  • Capo Crimine
  • *****
  • Posts: 2385
    • oZone3D.Net
Re: Multithreading build with Visual Studio 8
« Reply #2 on: July 10, 2008, 01:28:25 PM »
I've just done the test with Demoniak3D core (no 3d engine nor plugins):

- Demoniak3D (default): Build Time 0:33
- Demoniak3D (/MP2): Build Time 0:15   :thumbup:

I've a core2duo 6600 + 2Gb RAM + XP SP2.

Really cool, that will boost my productivity  :transpi:
 

Groove

  • Soldier
  • **
  • Posts: 51
    • http://www.g-truc.net
Re: Multithreading build with Visual Studio 8
« Reply #3 on: July 10, 2008, 08:00:27 PM »
Heyhey ! And think about the more than 30 mins needed to build Vue at e-on software. I had to time to waste to check minutes we are saving but that seems huge!!!