mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2018-10-10, 20:41   #12
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

10101001010102 Posts
Default

Quote:
Originally Posted by irowiki View Post
Ah, so if you're in it for the long haul, configuring a system to have 1 worker per real core is the best, it'll take "longer" per job but you'll churn out more jobs in the same amount of time, and get the same amount of ghz days more or less?

I have a lot of older dual core systems with no hyper threading. Then a smattering of newer i5/i3's which randomly have or do not have hyperthreading.
One worker per core is not necessarily the optimal for aggregate throughput long term. Benchmark each system. Optimal cores/worker is a function of system details and of fft length for primality testing. I've seen it range anywhere from one worker per core to one worker per multi-core socket, on the same system, in the same benchmark run, as a function of fft length.

One core per worker maximizes latency per primality test assignment, so on a slow system the first-time test may be a double-check by the time it finishes.
kriesel is online now   Reply With Quote
Old 2018-10-10, 21:02   #13
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·32·7·43 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Prime95 always chooses one worker (actually i think it's one worker per four cores). The reason it does this is so that new users will see results "quickly" -- hopefully finishing a work unit before quitting the project.

Some machines are faster with one worker using multiple cores, some are faster with one worker per core. Benchmark to find out.
If it's one per four cores, that's not so good for systems such as dual hex core; one worker would inevitably straddle sockets and take a performance hit.

If prime95 remains at low priority relative to other system activity, we users need to do our part by not using the system for other things during benchmarking, or the fluctuating load will distort the benchmark's results and mislead us as to which core/worker choice produces more prime95 throughput, assuming it's going by wall clock rather than cpu clocks used in the application.

Last fiddled with by kriesel on 2018-10-10 at 21:11
kriesel is online now   Reply With Quote
Old 2018-10-11, 19:12   #14
irowiki
 
Sep 2018

3·23 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
In my experience, on machines before Skylake, one worker per core is almost always better. With Skylake, 1 worker is often better, depending on FFT size (up to 4096k on my systems). The L1/2/3 cache sizes and memory bandwidth also impact which is better.

I usually run 1 worker regardless because I like seeing results faster. The latest Prime95/mprime will do periodic benchmarks to find the most optimal settings, once you've configured the number of workers/core.

Ah, I would say the majority of my machines are pre-Skylake. So i will leave them alone and just play around with a few machines I have easy access to.

Thank you!
irowiki is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heat problems and running less workers than cores MacMagnus Information & Answers 10 2013-07-14 21:29
How many workers? Unregistered Information & Answers 12 2013-01-22 12:09
Max # Workers sk8kidamh Software 5 2011-07-16 15:58
Went from 8 workers to 4 workers on v26.6 upgrade dmoran Software 13 2011-05-23 12:36
Workers, Threads, Helper Threads, Cores, Affinity. lorgix Information & Answers 12 2011-01-13 22:31

All times are UTC. The time now is 17:41.


Sun Aug 1 17:41:08 UTC 2021 up 9 days, 12:10, 0 users, load averages: 2.17, 1.78, 1.57

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.