|
|
#1 |
|
Senior Member
|
enable dual core?
is there a way to make makensis.exe use both cores? is this planned for the future?
thanks |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
What make you think it does not yet already?
BTW What whould be the exact use of controlling this behaviour ? "Just do it" |
|
|
|
|
|
#3 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Compression should be multi-threaded to use both cores, that's not a simple thing.
|
|
|
|
|
|
#4 | ||
|
Senior Member
|
Quote:
Quote:
|
||
|
|
|
|
|
#5 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
Hmmm, we have just gone from dual core to threads
. Yeah, it shouldn't be too hard to add support to NSIS to compress using two threads (if hyperthreading or dual processors is available).
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
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... "Just do it" |
|
|
|
|
|
#7 |
|
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 916
|
Also if you want to put this around your file commands:
!ifndef IWANTTODEBUG ;Put all your files here: !endif "Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jul 2007
Posts: 16
|
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..
|
|
|
|
|
|
#10 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#11 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#12 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Cool!
Stu |
|
|
|
|
|
#13 | |
|
Junior Member
|
Quote:
|
|
|
|
|
|
|
#14 | |
|
Junior Member
Join Date: Sep 2003
Location: Roswell, GA
Posts: 44
|
Quote:
Cheers! |
|
|
|
|
|
|
#15 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#16 | |
|
Junior Member
Join Date: Sep 2003
Location: Roswell, GA
Posts: 44
|
Quote:
Cheers! Luke |
|
|
|
|
|
|
#17 |
|
Senior Member
Join Date: Jan 2005
Location: Look behind you.
Posts: 209
|
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 ExperienceUI for NSIS | Latest project: Enano CMS Do not PM me on the Winamp forums, I hardly ever check my messages here; you are more likely to get my attention through the ExperienceUI forum.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|