mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-12-30, 19:48   #1
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

2×5×59 Posts
Default Slower mprime iteration times after running needed benchmarks?

I have a i3-9100 machine that recently started running mprime, so it has never run any benchmarks in the past. For its first exponent it is running a LL double-check of M58994843 (3200K FFT). The iteration time has been a steady 4.462 ms. since it started. But now that it has stopped, ran its needed benchmarks, and restarted, I'm getting a steady 4.517 ms. per iteration.

Is this normal?
PhilF is offline   Reply With Quote
Old 2020-12-30, 20:10   #2
Zenzoma
 
Aug 2020

2·7 Posts
Default

Quote:
Originally Posted by PhilF View Post
I have a i3-9100 machine that recently started running mprime, so it has never run any benchmarks in the past. For its first exponent it is running a LL double-check of M58994843 (3200K FFT). The iteration time has been a steady 4.462 ms. since it started. But now that it has stopped, ran its needed benchmarks, and restarted, I'm getting a steady 4.517 ms. per iteration.

Is this normal?
I have a 32 core, 64 thread 3970X and saw similar behavior from benchmarks and cert work. Sometimes the falloff was dramatic when it restarted PRP work. I finally stopped doing cert work since my 24-cores dedicated to PRP could from from 2.1ms to 2.8ms and add lots of time to PRP completion.

For me though, even stopping and restarting from the dropdown menu would see huge time differences. Even when all the same 24 of 32 cores were used. So I'd end up doing a bunch of starts/stops until I got as low a time as possible and let it run. Something happens and the PRP gets stuck going slower. It doesn't fix itself either. You have to do the start/stop trick and hope for the best.

I also tried locking the same cores to the program via the OS and it still behaved the same way.

Last fiddled with by Zenzoma on 2020-12-30 at 20:11
Zenzoma is offline   Reply With Quote
Old 2020-12-30, 20:14   #3
moebius
 
moebius's Avatar
 
Jul 2009
Germany

547 Posts
Default

Quote:
Originally Posted by PhilF View Post
Is this normal?
Carry out a throughput benchmark from 2048K to 8192 K (estimate 2 hours).Terminate all processes that would otherwise be running on the PC. Add AutoBench = 0 in prime.txt. Delete all other benchmarks from results.bench. You should then get the best performance for the respective FFT size. The cooling of the processors is probably not sufficient, or it is memory-related. Dual Rank should be better than single rank for higher FFT-sizes, a memoryclock up to 4000 Mhz as far as I know for Ryzen 7 is possible.

Last fiddled with by moebius on 2020-12-30 at 20:50
moebius is offline   Reply With Quote
Old 2021-01-01, 15:48   #4
PhilF
 
PhilF's Avatar
 
Feb 2005
Colorado

11168 Posts
Default

It turns out that for some reason, on this machine at least, the iteration times increase slightly when the monitor, mouse, and keyboard are connected. I use an electronic switch to switch those 3 accessories to several different computers, and as long as I keep them connected to a different system the iteration times are normal. The monitor is connected via VGA, the keyboard and mouse are USB. The operation system is Debian Buster.

I have not dug any deeper to determine which accessory when connected is causing the minor slow down (I suspect it is the monitor), or why stopping and restarting mprime triggers it.
PhilF is offline   Reply With Quote
Old 2021-01-01, 16:25   #5
Viliam Furik
 
"Viliam Furík"
Jul 2018
Martin, Slovakia

13·29 Posts
Default

I have Ryzen 9 3900X, 12C/24T, and I experience the same thing sometimes. Whenever I restart the worker(s), the iteration times are different. I think it may be due to silicon being not the same in each core, meaning the performance is different after the reshuffling of the core assignments.
Viliam Furik is offline   Reply With Quote
Old 2021-01-18, 08:32   #6
slandrum
 
Jan 2021
California

2·7 Posts
Default Also seeing timing change after every benchmark run

When I started up my computer doing it's first LL DC assignment, it had terrible ms/iter. After the first time it ran benchmarks there was a huge improvement, after the 2nd time running benchmarks a smaller, but noticeable improvement. Now, there's a slight decrease in performance after each time it runs the benchmarks. It's about 5% slower now than it was during its fastest period.

Last fiddled with by slandrum on 2021-01-18 at 08:34
slandrum is online now   Reply With Quote
Old 2021-01-24, 18:33   #7
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

1100110110102 Posts
Default

Quote:
Originally Posted by slandrum View Post
When I started up my computer doing it's first LL DC assignment, it had terrible ms/iter. After the first time it ran benchmarks there was a huge improvement, after the 2nd time running benchmarks a smaller, but noticeable improvement. Now, there's a slight decrease in performance after each time it runs the benchmarks. It's about 5% slower now than it was during its fastest period.
CPU's will thermal throttle, typically. Modern CPU's also can set a lower multiplier if there is heavy AVX2 usage (but that would be present in a benchmark too).

Anyway, point being, if you want to compare apples to apples, use some app that will graph the CPU temp, CPU voltage (or at least the CPU TDP for older CPUs that don't report the voltage, like my lowly 3770K does), multipliers, etc. and then just see if there's anything unusual. Is it running hotter than before, or using more voltage, etc.

I use Intel XTU (Extreme Tuning Utility). I have "K" unlocked CPUs but it runs fine on regular CPUs too, just without the ability to change multipliers and other things. The graphing is pretty handy.

CPU-Z or GPU-Z can also give you that data, but without the graph, so you have to pay a bit more attention over time.
Madpoo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Iteration times in i5 and i7 Jud McCranie Information & Answers 53 2013-08-17 19:09
What are your per-iteration times? LiquidNitrogen Hardware 22 2011-07-12 23:15
CPU frequency and iteration times. rx7350 Hardware 12 2006-05-08 21:54
slow iteration times PLeopard Hardware 9 2003-10-29 05:48
Slow iteration times with 23.7 smoffat Software 13 2003-10-22 22:50

All times are UTC. The time now is 04:56.

Sat Feb 27 04:56:50 UTC 2021 up 86 days, 1:08, 0 users, load averages: 1.73, 1.72, 1.79

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.