mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-01-14, 22:43   #56
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2×3×397 Posts
Default

Perhaps this one?

Code:
You can skip the GCD in stage 1 of P-1 factoring with this prime.txt setting:
	Stage1GCD=0
ixfd64 is offline   Reply With Quote
Old 2021-01-14, 23:03   #57
tha
 
tha's Avatar
 
Dec 2002

3×271 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
Perhaps this one?
Ah!
tha is offline   Reply With Quote
Old 2021-01-15, 12:34   #58
phillipsjk
 
Nov 2019

1068 Posts
Default

Is stage 1 P-1 factoring now supposed to fit completely in the L3 cache? Is that where the speedup came from?

Code:
top - 05:19:52 up  6:14,  1 user,  load average: 63.25, 59.63, 50.47
Tasks: 588 total,   1 running, 587 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.3 sy, 96.6 ni,  3.1 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem : 128925.9 total, 127437.0 free,    803.2 used,    685.7 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used. 127236.8 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND    
13527 james     30  10 4483612 134276   7880 S  1556   0.1 186:08.48 mprime     
13680 james     30  10 4483616 134428   7988 S  1553   0.1 180:02.59 mprime     
13834 james     30  10 4483480 133496   7496 S  1551   0.1 174:31.16 mprime     
13377 james     30  10 4483480 134888   7636 S  1542   0.1 189:46.74 mprime
The prime.log makes no reference to the new version yet.


This is my 4 CPU Opteron system running 4 separate instances (because mprime is not NUMA aware).


Having trouble verifying but I think the L3 cache on that chip is actually 2 8MB caches.


Edit:
Because I was only using half of my L3 cache, I doubled the number of workers per instance.
Got some reassuring messages in prime.log:


Code:
[Fri Jan 15 06:27:57 2021 - ver 30.4]
Exchanging program options with server
Getting assignment from server
PrimeNet success code with additional info:
Server assigned P-1 factoring work.
Got assignment 6914F714740D2AF13BE05BCE07ABA42D: P-1 M102220457
 Sending expected completion date for M102220457: Jan 21 2021

Edit: or is the resource usage 135MB, not 135kB?

Last fiddled with by phillipsjk on 2021-01-15 at 13:32 Reason: Update, typos
phillipsjk is offline   Reply With Quote
Old 2021-01-15, 13:39   #59
phillipsjk
 
Nov 2019

2·5·7 Posts
Default

Quote:
Originally Posted by phillipsjk View Post
Is stage 1 P-1 factoring now supposed to fit completely in the L3 cache? Is that where the speedup came from?
I think I just got confused about kiB vs byte units. Disadvantage of only running the machine at night is that upgrades happen when I am tired.
phillipsjk is offline   Reply With Quote
Old 2021-01-15, 19:45   #60
tha
 
tha's Avatar
 
Dec 2002

32D16 Posts
Default

I just installed build 6. After a couple of P-1 jobs done I had to cut the internet connectiion to do some rewiring of the electric system in my house. Meanwhile mprime tried to connect to the server every 2 minutes. This while it is set to retry a connection every 70 minutes. I used option 15 to set it to 71 minutes. To no avail, it continued to retry a connection every 2 minutes until the electric system was re-enabled and the internet connection was restored.
tha is offline   Reply With Quote
Old 2021-01-16, 02:21   #61
axn
 
axn's Avatar
 
Jun 2003

22×17×73 Posts
Default

Quote:
Originally Posted by tha View Post
I just installed build 6. After a couple of P-1 jobs done I had to cut the internet connectiion to do some rewiring of the electric system in my house. Meanwhile mprime tried to connect to the server every 2 minutes. This while it is set to retry a connection every 70 minutes. I used option 15 to set it to 71 minutes. To no avail, it continued to retry a connection every 2 minutes until the electric system was re-enabled and the internet connection was restored.
Look in prime.txt. You will see two lines:
Code:
NetworkRetryTime=2
NetworkRetryTime2=70
I suppose you need to change the first one.
axn is online now   Reply With Quote
Old 2021-01-16, 13:37   #62
tha
 
tha's Avatar
 
Dec 2002

3·271 Posts
Default

Quote:
Originally Posted by axn View Post
Look in prime.txt. You will see two lines:
Code:
NetworkRetryTime=2
NetworkRetryTime2=70
I suppose you need to change the first one.
Hmm. I must have missed the change in that functionality. Probably to be found somewhere in a file with changes from version to version.

What is the ratio behind having a menu option that has no apparent effect even though suggesting so and a hidden feature that requires to delve into the details to do what the menu option suggest to do?
tha is offline   Reply With Quote
Old 2021-01-16, 16:43   #63
axn
 
axn's Avatar
 
Jun 2003

22·17·73 Posts
Default

I believe they are both used, but for different purposes. If there is no internet connectivity, the first parameter is used. If there is internet connectivity, but mersenne.org is down, the second parameter is used.

Or something like that. I don't remember exactly. Maybe George knows.

Regardless, you can manually edit the entry and see if that takes care of things for the future.
axn is online now   Reply With Quote
Old 2021-01-16, 17:22   #64
tha
 
tha's Avatar
 
Dec 2002

81310 Posts
Default

Quote:
Originally Posted by axn View Post
I believe they are both used, but for different purposes. If there is no internet connectivity, the first parameter is used. If there is internet connectivity, but mersenne.org is down, the second parameter is used.
Ah, that would make sense. Something though that should be documented in the readme or undoc.txt file.
tha is offline   Reply With Quote
Old 2021-01-16, 18:17   #65
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

94E16 Posts
Default

Quote:
Originally Posted by axn View Post
I believe they are both used, but for different purposes. If there is no internet connectivity, the first parameter is used. If there is internet connectivity, but mersenne.org is down, the second parameter is used.

Or something like that. I don't remember exactly. Maybe George knows.

Regardless, you can manually edit the entry and see if that takes care of things for the future.
It might be a good idea to rename the second parameter to ServerRetryTime or something similar. George, any thoughts?
ixfd64 is offline   Reply With Quote
Old 2021-01-17, 12:22   #66
seatsea
 
Jan 2021

210 Posts
Default

Using build 6, I'm running ECM on cofactor work on the 8 cores of my AMD 1700X, and since yesterday, every time I start it, it quietly quits after a few minutes of running with no visible error message. It had been running fine for a while so it may be due to the specific exponents it's trying to work on, or maybe the combination of stages they're each on.



This was also occurring on build 5.


The Windows event viewer does log it as an error with the following:
Code:
Faulting application name: prime95.exe, version: 30.4.1.0, time stamp: 0x5ff269ce
Faulting module name: ntdll.dll, version: 10.0.19041.662, time stamp: 0x27bfa5f0
Exception code: 0xc0000374
Fault offset: 0x00000000000ff0f9
Faulting process ID: 0x4320
Faulting application start time: 0x01d6ecc8686d0967
Faulting application path: D:\Portable apps\Prime\prime95.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: a81e32ea-f964-4056-bbf0-7662f567fc9b
Faulting package full name: 
Faulting package-relative application ID:
seatsea is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 15:39.

Fri May 14 15:39:49 UTC 2021 up 36 days, 10:20, 1 user, load averages: 2.56, 2.56, 2.35

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.