• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 … 986 987 988 989 990 … 1207 Next »

[DEPRECATED-TUT] Speeding up compile times.
View New Posts | View Today's Posts

Thread Rating:
  • 4 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
[DEPRECATED-TUT] Speeding up compile times.
07-13-2010, 06:16 AM (This post was last modified: 07-17-2010, 06:00 AM by avindra.)
#1
avindra Offline
Junior Member
**
Posts: 47
Threads: 10
Joined: Jun 2010
The following is for archival purposes only. The latest builds of Dolphin now have this by default.

---

Note: This is for people seeking to compile dolphin builds from the repository. There is a site which compiles builds (although each takes an indefinite amount of time to start, and approx. 15 minutes to compile + upload).

My experience: My compile time has been reduced from 5 minutes to about a minute. I'm sure the only limiting factor now is my hard drive speed (don't have a solid state).

Tutorial (vs2008): (Note that this can be applied to any C++ project, not just dolphin):

1) Open the solution for Dolphin.
2) Right click on "Core".
3) Choose "Properties".
4) Go to Configuration Properties > C/C++ > Command Line.
5) In "Additional options", type "/MP" without quotes.
6) Compile, and note a significantly faster compile time. So far, I've discovered no pitfalls in using the MP (multiple processor) command option.

Assuming you have a relatively new processor, the limiting factor now should be your hard drive speed, unless you have a solid-state drive, in which case the limiting factor is probably still your processor.

You can read more about the MP option @ MSDN.

Note that if you want, you can specify the number yourself, or let Visual Studio determine the number of effective cores, which is in my case, 8.
[Image: stats.png]
Find
Reply
07-13-2010, 08:17 AM
#2
TheBboyKnowledge Offline
Legend of Zelda Forever!
****
Posts: 320
Threads: 28
Joined: Dec 2009
thanks, on my 5400rpm hard drive i got a faster compiling times!

if only i had a 10,000 rpm hard drive.....(dreaming)
OS: Windows 7 Ultimate x64
CPU: Intel® Pentium® Dual T3200 @ 2.00GHz
RAM: 3GB
Graphics Card: Mobile Intel® 4 Series Express Chipset Family
Audio: Realtek High Definition Audio
DVD/CD Drive: HL-DT-ST DVDRAM GSA-T50N


Find
Reply
07-13-2010, 09:10 AM
#3
James333 Offline
Above and Beyond
*******
Posts: 1,520
Threads: 8
Joined: Jul 2009
Theoretically this could be applied to all the projects. Right ?
MB : MSI Z68A-GD80
CPU : Intel Core i7 2600k @ 3.4 GHz (stock clock)
Gfx : ATI Raedon HD 6850
Ram : 4 GB DDR3-1333
OS : Windows XP x86

I speak Spanish Big Grin ( And a little English )
Find
Reply
07-13-2010, 09:14 AM (This post was last modified: 07-16-2010, 02:40 PM by avindra.)
#4
avindra Offline
Junior Member
**
Posts: 47
Threads: 10
Joined: Jun 2010
All C++ projects, yes. If you're referring to all the projects in Dolphin, I'm not sure.

I assumed only "Core" needs to be set, because it's the startup project, but I may be wrong. I'll try setting this on every project and let you guys know if it compiles any faster.

EDIT: Seems to be about the same speed for me, setting MP on every project. Can someone else try it out and let us know if it makes a difference?

EDIT2: I've submitted a patch, so hopefully this will be integrated into dolphin.
[Image: stats.png]
Find
Reply
07-16-2010, 08:05 PM
#5
LuisR14
Unregistered
 
hehe Smile
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma