Avatar of sunhux
sunhux
 asked on

how to make software/app that runs on 1 processor distribute the load (ie multi thread) on all the processors

I have a CPU intensive job (cracking a password protected zipfile) but it
only run on one of the four processors of my x230 (& x270) :
how can I make this "Free Zip Password Recovery" run on all the
processors.

From Task Manager, total CPU utilized is constantly at 25-26% only
so would like to be able to distribute the load.  Certainly buying a
Paid professional cracking tool (which has this feature) will help
but not looking into this currently.

the x230 is on Win 7 Profsnl & the x270 is on Win 10 Profsnl
SoftwareWindows OSLaptops Notebooks

Avatar of undefined
Last Comment
sunhux

8/22/2022 - Mon
SOLUTION
Alex

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Jeremy Weisinger

The software author would need to code it to take advantage of multiple CPUs. You can also turn off hyperthreading and that would give it a little boost.
Alex

Turning off HT wouldn't do a single thing.
Jeremy Weisinger

Hypertheading splits each core's cycle among multiple processes. If you turn off hypertheading it will only run a single process through the core. So if you're running a program (like the one the author is using) it can be allocated the entire core without having to share it with other processes. It doesn't quite double the performance but it does increase it for single threaded processes.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Alex

Unfortunately you're incorrect, hyperthreading will allow a process to split across multiple cores and threads, in the event you disable it, an application which is unaware of hyperthreading it'll make no difference.

The only reason to disable HT would be to reduce the load on the Internal memory controller which would also reduce heat. Essentially disabling it for this would do nothing.
SOLUTION
Jeremy Weisinger

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Alex

I'm aware of what it is, unfortunately you are providing incorrect information in the fact that you are stating that disabling HT would make a difference for this. Which is won't. Also, you can run multiple processes at the same time on cores, if the application is aware of HT it would make use of the HT and multiple cores, if it's not, it'll just cane the one core which is what this application will do.
Jeremy Weisinger

OK, well I still maintain that disabling hyperthreading will probably give some additional performance to the application. I guess the author will need to come to their own conclusion.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
sunhux

ASKER
Thanks guys : I happen to recall that when disabiling hyperthreading, the # of processors shown
in Task Manager will halve.  Guess will just have to test it out & that will determine the outcome.

Lee,
I'm using Krylack recovery tool (free version):  I noticed that if I "hibernate" the computer, it'll
resume from where it last 'pause' & not lose the work but if I shutdown or restart this tool,
it will start all over again, ie lose the work done so far.

Just noticed I could run several instance of this tool & it will give a separate attached screen:
& I can specify to start brute-forcing from which number (we always use length of 8 & above):
then I can use Task Manager to assign each of the process to specific processor ie CPU affinity.

Just 1 help I need: to determine for a password length of 8, this tool start cracking from
"11111111" or "aaaaaaaa" or "~~~~~~~~" or ??  so that I can specify what password to start
from.

Lastly I've tried 2 online ones & they failed the next day: so
zipwdrecovKr.jpg
sunhux

ASKER
... so before I pay for one, I wanted to ensure it will work.

7password.com  just hangs  while another paid service (after they succeeded) failed the next day.

I noticed on my x230 (Win 7 64bit), it gives about 5000-6000 passwd/sec while on my x270 (Win 10, guess it's 64bit), it's only 330-380 passwd/sec
sunhux

ASKER
correction: should read
while another paid service (they charge after they succeeded) ...
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
sunhux

ASKER
Any suggestion on any other tools/service that "pay only if succeed in the recovery" are most welcome.

I guess those online ones (which charges after they succeed) use cloud/GPU/multi-processor but I don't have visibility of this & their chances of success
sunhux

ASKER
After about 5 mins on the x270, the CPU utilization for each drops to about 8-12% & 
number of passwd/sec drop to 250-300/sec
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
sunhux

ASKER
Ok, appreciate the frank answer: is there any cloud service out there that could possibly
offer such a "supercomputer" cracking service that anyone know?  

I can't get that amount of computing resource even if I use the paid software that Alex
suggests, so I'm counting on any cloud supercomputing service out there, if there's any
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.