mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-09-05, 13:00   #12
g33py
 
Jul 2016

2·3 Posts
Default

Hi,

I have tried two options:
a) running 2 workers with 10 threads on one socket - the average time per iteration is about 20ms
b) running 2 workers with 10 threads one on each socket - the average time per iteration is about 8 ms

It seems that prime95 is not really independent of the cpu cores used...

I will continue with the b) setting as it seems to get the most iterations per seco´nd out of the power I can spare.

Last fiddled with by g33py on 2016-09-05 at 13:00
g33py is offline   Reply With Quote
Old 2016-09-05, 20:29   #13
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

CF116 Posts
Default

Quote:
Originally Posted by g33py View Post
Hi,

I have tried two options:
a) running 2 workers with 10 threads on one socket - the average time per iteration is about 20ms
b) running 2 workers with 10 threads one on each socket - the average time per iteration is about 8 ms

It seems that prime95 is not really independent of the cpu cores used...

I will continue with the b) setting as it seems to get the most iterations per seco´nd out of the power I can spare.
Your a) option of 2 workers of 10 threads each wouldn't work well because then it's using the hyperthreads which really don't help with the FFT code (may actually slow things down).

Essentially each worker is really only using 5 physical cores, and in theory it would be twice as slow as a single worker with 10 physical cores. The fact that it's even slower than that (slower than 16ms per iteration) implies the hyperthread usage is slowing it down by introducing delays into the overall arrangement.

Option b) is a good way to go though.
Madpoo is offline   Reply With Quote
Old 2016-09-06, 02:34   #14
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

72·197 Posts
Default

Quote:
Originally Posted by g33py View Post
It seems that prime95 is not really independent of the cpu cores used...
I have two bundles of rags, each of 100kg each and I have tried two options:
a) I put them on my ass and he almost fainted.
b) But when I put my bundles on two different asses, each bundle on one ass, they both run with the bundles into the forest...
It seems that my bundles of rags are not really independent of the ass I put them on...

Last fiddled with by LaurV on 2016-09-06 at 02:37
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set affinity does not work g33py Software 3 2016-07-27 05:26
Processor Affinity R.D. Silverman Programming 19 2015-04-24 22:46
Helper Thread Affinity TObject Software 3 2012-07-20 19:21
Affinity setting in local.ini PageFault Software 1 2006-09-13 16:39
Affinity on Linux bmg9611 Software 5 2002-11-04 21:26

All times are UTC. The time now is 19:25.


Sun Aug 1 19:25:57 UTC 2021 up 9 days, 13:54, 1 user, load averages: 1.23, 1.62, 1.82

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.