![]() |
enable dual core?
is there a way to make makensis.exe use both cores? is this planned for the future?
thanks |
What make you think it does not yet already?
BTW What whould be the exact use of controlling this behaviour ? |
Compression should be multi-threaded to use both cores, that's not a simple thing.
|
Quote:
Quote:
|
Hmmm, we have just gone from dual core to threads :igor:. Yeah, it shouldn't be too hard to add support to NSIS to compress using two threads (if hyperthreading or dual processors is available).
|
If testing your script is the speed problem of makensis use something along the lines off:
... !define IWANTTODEBUG ... !ifdef IWANTTODEBUG SetCompressor off !else SetCompress lzma !endif ... this will speed up your script development a lot... |
Also if you want to put this around your file commands:
!ifndef IWANTTODEBUG ;Put all your files here: !endif |
It won't have to be re-written to be multi-threaded anyway, as AMD's Reverse Hyper-Threading which will be released through Windows Update will allow one thread to use both processors in a dual-processor CPU. That is what I've read anyway ;)
-Stu |
hi,
last post here was from last year and there were a lot of changes since then. i recognize with amd fx cpu and vista 32-bit that the compiler still not use both cores. according to taskmanager it stops at 50% which is one of two cores. is there a planning for bring support for multiple cores, maybe in next release of nsis? think about how fast the compiler could be on a quad core machine.. :D |
That thing about AMD was a load of cobblers.
The TODO list on the CVS repository is over 11 months old so I'm not sure what's next for NSIS. Stu |
The next version of the LZMA SDK supports multithreading. Once it leaves beta, I'll include and that should add free multithreading for LZMA compression.
Making the entire compiler multithreaded would require much more work. It's planned, but there are a lot of plans. |
Cool!
Stu |
Quote:
|
Quote:
Cheers! |
I tried integrating the new version but it wasn't a simple drop-in replacement, so after a few hours I left it and never got to it since.
|
Quote:
Cheers! Luke |
Try using CopyFiles, SetCompress off, or building "skeleton" installers that include all the logic but don't actually install any data. I tend to go with the skeleton installers, to reduce disk I/O and make the actual installation process go faster as well as the compilation.
-Dan |
| All times are GMT. The time now is 17:25. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.