I think I know what's going on now.
Each thread takes very short amount of time to process.
It is very hard to use up to full capacity.
However, in this case, wouldn't I benefit from having...
Type: Posts; User: kfcnhl
I think I know what's going on now.
Each thread takes very short amount of time to process.
It is very hard to use up to full capacity.
However, in this case, wouldn't I benefit from having...
First of all, thank you so much for the quick and detailed reply.
Really appreciate it.
And your code does occupy all 4 CPUs.
I will do more testing to see why my code doesn't.
Thanks,
1. I know they are running cause I saw 1 CPU is at max capacity all the time, while all other CPUs are not doing anything.
2. Why 20+?
Cause I notice a significant improvement of running speed...
I am using the code below to open up multiple threads (20+).
However, it seems that all the threads are running on 1 CPU when I do have 4 cores(according to task manager).
I am guessing there is a...