![]() |
![]() |
#1 | ||
Jun 2016
24 Posts |
![]()
hello, im testing new hardware factoring a 100digit and no much diference make between 1 cpu vs 2 cpu only 30sec does it normal?
is the same number and same bin(script 0.84 , msieve 1.52), only the change is the number os cores. NUM_CORES = 12 THREADS_PER_CORE = 2 to NUM_CORES = 24 THREADS_PER_CORE = 2 and the result whit 1 cpu: Quote:
Quote:
also this line "processors: 48, speed: 1.20GHz" is not right because my cpu clock is 2.3GHZ and not 1.2 anyone have an ideia? |
||
![]() |
![]() |
![]() |
#2 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
2·17·179 Posts |
![]()
Both results say the exact same CPU count:
Code:
processors: 48, speed: 1.20GHz |
![]() |
![]() |
![]() |
#3 |
"Ed Hall"
Dec 2009
Adirondack Mtns
22×32×101 Posts |
![]()
The speed is a "right now" speed rather than a listed speed. The 30 second difference is probably due to the polynomial rather than the hardware.
What was the command line that invoked msieve? Did it include "-t <number of threads to use>"? If msieve was called from another program/script, does that p/s provide the hardware values to use? Last fiddled with by EdH on 2020-12-31 at 13:38 Reason: clarity |
![]() |
![]() |
![]() |
#4 | |
Jun 2016
24 Posts |
![]()
@retina
Quote:
example when set to 12 log appear t0 -> t23 when set 24 log appear t0 ->47 @EdH yes the number of thread are invoked correctly in the msieve comand line. i use the script version 84, and i see its correct. |
|
![]() |
![]() |
![]() |
#5 |
Apr 2020
193 Posts |
![]()
I presume your system has 24 physical cores with hyperthreading.
Setting will run 24 processes for most of the factorization, and unless you force factmsieve.py to only use 12 physical cores, the scheduler will assign one process to each core. The speedup you get from NUM_CORES = 24 relative to NUM_CORES = 12 is only due to the use of hyperthreading, so we shouldn't expect speed to double. Your factorization with NUM_CORES = 24 had a substantially worse polynomial and still finished quicker than the one with NUM_CORES = 12, so 24 is definitely faster - just nowhere near double the speed. |
![]() |
![]() |