hmak
hmak

Reputation: 3978

How To Let A Program Use All CPU Power In VB.NET?

I'm working on a password list generator program. This program needs to be as fast as possible. But it only uses 13% of CPU:

enter image description here

What should I do to make it use all CPU power available ?

Upvotes: 2

Views: 1427

Answers (2)

David Wilson
David Wilson

Reputation: 4439

Heh. I thought it might be 8 cores. The reason is that your app is running on one thread and therefore only one core is being used. 13% is about 1/8 of 100 :)

If you can split the process up into 8 separate threads, then it will use the other 7 cores.

Upvotes: 5

Marged
Marged

Reputation: 10963

Obviously your program is only using one thread and because of this not all cores of your CPU are used.

You have to convert your program into something multithreaded

Upvotes: 3

Related Questions