Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Problems and Help :
PPSE tasks taking much longer than expected
Author |
Message |
|
I have recently joined PrimeGrid a few days ago using my computer (processor i5-3337U CPU @ 1.80GHz) running Windows 10. According to the PPSE event, a computer should be able to complete 300 tasks per day. Running four tasks simultaneously, I would expect one batch of four tasks to be completed every 20 minutes by the computer. However, in reality my computer can only complete one batch of four tasks every 3.5 hours, which is 10 times longer than it should be... is there any way that I can increase the speed of task completion? | |
|
|
I have recently joined PrimeGrid a few days ago using my computer (processor i5-3337U CPU @ 1.80GHz) running Windows 10. According to the PPSE event, a computer should be able to complete 300 tasks per day. Running four tasks simultaneously, I would expect one batch of four tasks to be completed every 20 minutes by the computer. However, in reality my computer can only complete one batch of four tasks every 3.5 hours, which is 10 times longer than it should be... is there any way that I can increase the speed of task completion?
Hello, and welcome!
Your CPU is a mobile CPU with a low frequency, both of which hamper cumulative performance. Laptops usually have horrible cooling (that's my case at least), and the CPUs cannot keep at its frequency while running max, lowering its already very low freuency. This hampers performance about 30%.
Second, your CPU has 2 cores and 4 hyperthreads. As you will know later, hyperthreading isn't beneficial to running the prime-searching program used at Primegrid, LLR. A solution will be to set "% of CPUs to use" to 50%. This hampers performance by half.
Third, your CPU is an Intel Ivy Bridge CPU which doesn't have a very good AVX implementation, which is used in LLR. You can't change this much. This hampers perf about half.
Lastly, your CPU has 2 cores, which is not the four cores said in the thread. This very logically reduces perf by half.
So 3.5 hrs divided by two (last step), and then divided by two twice (second and third step), then divided by 130% (first step), we get around 20.19 minutes, which is what the post says.
____________
SHSID Electronics Group
SHSIDElectronicsGroup@outlook.com
GFN-14: 50103906^16384+1
Proth "SoB": 44243*2^440969+1
| |
|
|
So, once I set my "% of CPU to use" to 50%, I will effectively double the speed of my computer? And that will be the highest speed that my computer will ever be able to achieve?
It seems quite counterintuitive to me that reducing the CPU usage will increase the speed... but then again, I know nothing about computing and very little about maths because I am only a medical student | |
|
Ravi FernandoProject administrator Volunteer tester Project scientist Send message
Joined: 21 Mar 19 Posts: 145 ID: 1108183 Credit: 8,633,757 RAC: 6,759
              
|
It is counterintuitive, but it's true. How it was explained to me: your computer has two physical cores, but hyperthreading allows it to pretend it has two more. The two "hyperthreads" work by taking advantage of unused CPU resources. But the LLR app is very good at using up all available CPU resources. Since there are no unused resources for the hyperthreads to use, they don't help.
PS. Since it's easy to get confused: this is "On multiprocessors, use at most []% of the processors" in computing preferences--not the CPU time one. And I believe this advice only applies to LLR, not (e.g.) sieving. | |
|
|
So, once I set my "% of CPU to use" to 50%, I will effectively double the speed of my computer? And that will be the highest speed that my computer will ever be able to achieve?
It seems quite counterintuitive to me that reducing the CPU usage will increase the speed... but then again, I know nothing about computing and very little about maths because I am only a medical student
More than double, actually. The decreased power usage should allow for higher sustained CPU frequency. Since you are a medical student, I will make a poor attempt at an analogy (I'm a math guy, but grew up in a medical household):
Think of a core of your CPU as your brain. You are scheduled to perform surgery on two patients. 100% CPU (using hyperthreads) would be doing a little operating on one patient while keeping your eye on the other, then stopping to wash and change to spend a little time operating on the other patient with your eyes on the first, and back and forth until they're done. Lots of time/resources wasted on the washing and changing in between, efficiency lost to looking at the wrong body, plus reorienting yourself to where you were when you stopped.
50% CPU (just physical cores) is operating on only one patient to completion while the other is still in pre-op. Only one section of time lost to the switch, so ultimately, more work gets done, with less stress (CPU heat) on you.
The hyperthreads don't count in PG primefinding (LLR/GFN) because it is so specialized. Sieving projects are less specialized and work better with 100% CPU enabled.
BTW, since you are probably on a laptop, make sure there is plenty of space around the fans to keep cool air going in unrestricted. You might need to elevate the body off the desk to help with this.
____________
Eating more cheese on Thursdays. | |
|
|
Great analogy, thanks.
____________
| |
|
|
I have changed the settings to "On multiprocessors, use atmost 50% of the processors", as well as leaving the CPU setting at 100%. While I have seen a reduction in CPU heat, I have not seen any significant increase in the speed -- over 30 minutes my computer averaged 0.449% per task per minute, indicating onebatch of 4 tasks still requires over 3.5 hours to complete. Did I toggle the correct setting? Or are there other settings that I should adjust as well? | |
|
|
Update: I think the settings have just come into effect with the completion of the latest batch of tasks as my computer is now processing 2 tasks at once instead of 4. However the rate of task completion is even slower than before.
Instead of completing one batch of 4 tasks every 3.5 hours, as it was doing previously, one batch of 2 tasks now takes 2 hours to complete, representing a 15% speed reduction... | |
|
mikey Send message
Joined: 17 Mar 09 Posts: 1243 ID: 37043 Credit: 519,835,681 RAC: 179,462
                    
|
Update: I think the settings have just come into effect with the completion of the latest batch of tasks as my computer is now processing 2 tasks at once instead of 4. However the rate of task completion is even slower than before.
Instead of completing one batch of 4 tasks every 3.5 hours, as it was doing previously, one batch of 2 tasks now takes 2 hours to complete, representing a 15% speed reduction...
You should set it to do one cpu task at a time using 50% of the cpu cores, you can do that in the venue settings for that pc for the LLR tasks. You can set both how many units to run at one time and how many cpu cores to use while running the units. | |
|
|
Hello.
I agree with Pokey to get no more than one task at a time, and set llr multi-threading to two threads for running llr. As you also run sieve tasks, which use one thread each, make that a maximum of two tasks at a time.
Also, if you have a look at the typical run-time when choosing projects from the preferences, you might want to choose only the shorter running ones, as your machine might well take longer for llr than the typical amount of time.
____________
Greetings, Jens
92914140^65536+1 | |
|
Post to thread
Message boards :
Problems and Help :
PPSE tasks taking much longer than expected |