mersenneforum.org  

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

Reply
 
Thread Tools
Old 2021-01-11, 00:29   #34
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3×11×223 Posts
Default

Quote:
Originally Posted by garo View Post
I'm also running as admin so basically security nightmare. So far so good. But now when Prime95 runs the Jacobi benchmarks it is unable to write a checkpoint so forgets about progress and restarts from the last checkpoint written on disk. This seems undesirable in my opinion. If for whatever reason the disk becomes temporarily unavailable, running the Jacobi benchmarks can wipe all progress.
This has nothing to do with Jacobi. Since Prime95 cannot write a save file to resume from Jacobi, it will also not be able to write to the results file, nor the spool file prior to sending results to PrimeNet, nor the worktodo file when getting new work.

Why running as Administrator does not solve your problem? I have no idea.
Prime95 is offline   Reply With Quote
Old 2021-01-11, 07:48   #35
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

165310 Posts
Default

Quote:
Originally Posted by garo View Post
...
Kaspersky was bugging me so I said yes to some security fixes it wanted to do. I'm running Prime95 from the Program Files folder in Windows 7. Always have. I know it's frowned upon now but old habits die hard. So Prime95 stopped being able to write to the folder because Kaspersky had messed wth the ownership.
...
Quote:
Originally Posted by Prime95 View Post
This has nothing to do with Jacobi. Since Prime95 cannot write a save file to resume from Jacobi, it will also not be able to write to the results file, nor the spool file prior to sending results to PrimeNet, nor the worktodo file when getting new work.

Why running as Administrator does not solve your problem? I have no idea.
If the folder is owned by "NT Service/TrustedInstaller", the members of the Administrator group might not have access. Better install the program in "Program Data" or in a user folder if Kapersky makes a mess of the permissions.

Jacob
S485122 is offline   Reply With Quote
Old 2021-01-11, 10:18   #36
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

32×307 Posts
Default

Thanks for confirming that George. This is exactly what I meant:
Quote:
Since Prime95 cannot write a save file to resume from Jacobi,
Resuming from Jacobi requires reading from a savefile.

@Jacob: The owner of that folder is Administrators but Kaspersky has basically stopped my user (who is an Administrator) from doing things that require admin privileges automatically. (I accepted that setting when it asked). This means a process I own couldn't write to the Prime95 folder automatically. I changed the owner of that folder to myself and it works fine now. But really I should probably use a different folder.



(Edit: Moved to Users/garo/Roaming Data)

Last fiddled with by garo on 2021-01-11 at 10:26
garo is offline   Reply With Quote
Old 2021-01-12, 03:51   #37
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

735910 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I'm still working on this. A Ubuntu build with debugging on seems to work. A CentOS build without debugging (the way official versions are built) does not.

I have my laptop back and can now work though some of the bugs backlog.

The good news is the CentOS/Ubuntu difference was a mirage -- simply a typo on my part. This nasty bug seems to be squashed.
Prime95 is offline   Reply With Quote
Old 2021-01-12, 04:27   #38
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3·11·223 Posts
Default

Quote:
Originally Posted by tha View Post
I put this in worktodo.txt:
Pminus1=N/A,1,2,15511381,-1,1500000
You triggered some really old code. It handles the old-format Pminus1 lines (circa 2002??).
Ignoring the "N/A," if there are 4 commas or less the old syntax is assumed:
Pminus1=exponent,B1,B2,plus1[,B2_start]

I'll remove support for this ancient syntax.

Edit: I'm removing the ancient ECM= syntax as well.

Last fiddled with by Prime95 on 2021-01-12 at 04:37
Prime95 is offline   Reply With Quote
Old 2021-01-12, 08:05   #39
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

52×7×53 Posts
Default

People, just make a C:\Prime95 or D:\PrimeWork, or whatever you like. P95 won't look out of this folder, you can copy everything there and restart from there, delete the old one. It is much easier to find when you look for it, it is accessible by all users in case your wife, kid, cat, dog, gerbil, snake, login to your computer when you are not at home, and it doesn't miss with the system or system files.
LaurV is offline   Reply With Quote
Old 2021-01-13, 17:59   #40
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3×11×223 Posts
Default

Quote:
Originally Posted by axn View Post
Build 5 also suffers from Infinite loop bug.

Somehow when all 6 workers entered stage 2 together, I got the infinite loop for one of the worker (it just loops printing "Available memory is xxxx")..
I think I know what caused this. The P-1 stage 2 planner was told it could use X amount of memory, but it came up with a plan to use substantially more than X. The planner told the prime95 memory manager it was going to use this more than X value and the memory manager said "No, come up with a different plan". Infinite loop ensued.

I've coded 3 fixes for this.

1) The P-1 and ECM stage 2 planner now figures in the amount of memory expected to be used by the prime pairing bit map -- which can be up to 250MB. I believe this was the root cause of creating plans that used too much memory.
2) The memory manager allowed over-allocating by 32MB. This has been raised to 64MB.
3) When told to replan, which should only happen when another worker changes its memory use, P-1 and ECM now come up with a new plan using 1% less memory.
Prime95 is offline   Reply With Quote
Old 2021-01-13, 18:11   #41
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

3×11×223 Posts
Default

Quote:
Originally Posted by petrw1 View Post
After a week running 30.4 b3 without issue it "disappeared" this morning.
In re-reading this thread, I believe this is the only open issue. Unfortunately, I have no good ideas. I've started up a run with 4 ECM workers under the debugger hoping for a crash.

I have one last bug to fix before releasing build 6. It is not related to P-1 or ECM.
Prime95 is offline   Reply With Quote
Old 2021-01-13, 19:37   #42
tha
 
tha's Avatar
 
Dec 2002

80710 Posts
Default

Is this a good time to ask about the issue that I raised last summer regarding the server not accepting new B1/B2 values if a factor has already been found and reported to the server?

Basically I want to be able to do P-1 work on exponents which have no previous P-1 work being done on them because they were already factored in the trial factoring stage. And then have the server storing the B1/B2 values. And of course find additional factors for that exponent.

(see original request)

I have no idea if this is a solemn server issue or if requires any mprime and prime95 modifications.
tha is offline   Reply With Quote
Old 2021-01-13, 19:50   #43
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3,271 Posts
Default

Quote:
Originally Posted by tha View Post
Is this a good time to ask about the issue that I raised last summer regarding the server not accepting new B1/B2 values if a factor has already been found and reported to the server? (original request)
I have no idea if this is a solemn server issue or if requires any mprime and prime95 modifications.
It should be a purely server-side issue.

I'm not very familiar with the data tables used on primenet, but as I recall the table that stores P-1 bounds is only applicable to unfactored exponent. I have no idea what would be involved in extending those tables to store bounds for factored exponents.

I have elsewhere received a similar request about adding a tool on mersenne.ca to both help find such factoring work and store results. Mersenne.ca does intrinsically store P-1 bounds no matter if the exponent is factored or not. But it would of course much better to have such data stored authoritatively on primenet.
James Heinrich is offline   Reply With Quote
Old 2021-01-13, 19:54   #44
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

735910 Posts
Default

Quote:
Originally Posted by tha View Post
Is this a good time to ask about the issue that I raised last summer regarding the server not accepting new B1/B2 values if a factor has already been found and reported to the server?

Basically I want to be able to do P-1 work on exponents which have no previous P-1 work being done on them because they were already factored in the trial factoring stage. And then have the server storing the B1/B2 values. And of course find additional factors for that exponent.

(see original request)

I have no idea if this is a solemn server issue or if requires any mprime and prime95 modifications.
What is supposed to happen is the text message is recorded in the exponent history. Mersenne.ca should pick this up.

It did not happen in your case. This would be a server issue.
Prime95 is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 00:43.

Sun Mar 7 00:43:33 UTC 2021 up 93 days, 20:54, 0 users, load averages: 1.65, 1.53, 1.54

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.