mersenneforum.org  

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

Reply
 
Thread Tools
Old 2020-03-04, 21:30   #1
phillipsjk
 
Nov 2019

22×7 Posts
Default Best practice for migrating work to a new machine?

After the projected (run time) of my assigned primality tests doubled; I decided to move the assignments to my "white elephant" computer for completion.

Looking through the local.txt file I see:

Code:
OldCpuSpeed=XXXX
NewCpuSpeedCount=0
NewCpuSpeed=0
WorkerThreads=4
CoresPerTest=2
ComputerGUID=[redacted]35
ComputerID=[Redacted]
Memory=4000 during 7:30-23:30 else 4000
SrvrUID=[redacted]75
SrvrComputerName=[redacted]94
SrvrPO1=0
SrvrPO2=1
SrvrPO3=3
SrvrPO4=4000
SrvrPO5=4000
SrvrPO6=450
SrvrPO7=1410
SrvrPO8=1
SrvrPO9=4
SrvrP00=6
...
Based on how the CPU speed is updated, is it safe to assume I only need to set the GUID to '0' to get it to automatically update?

I am assuming the 'Srvr' entries refer to the specific machine I was sending results to, not my own machine.

Last fiddled with by phillipsjk on 2020-03-04 at 21:33
phillipsjk is offline   Reply With Quote
Old 2020-03-05, 00:01   #2
phillipsjk
 
Nov 2019

22×7 Posts
Default

I found that the PRP backup files were larger than the available space on my USB stick (around 600MB). I solved that problem by being more selective in the files I copied over:
  • Only the state of the 4 exponents I was working on (identified by date)
  • 1 backup of each of the 4 exponents I was working on (another 120MB)
  • local.txt and prime.txt
  • results.* (probably not needed)
  • worktodo.txt
phillipsjk is offline   Reply With Quote
Old 2020-03-05, 00:05   #3
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

26·67 Posts
Default

Quote:
Originally Posted by phillipsjk View Post
I found that the PRP backup files were larger than the available space on my USB stick (around 600MB). I solved that problem by being more selective in the files I copied over:
  • Only the state of the 4 exponents I was working on (identified by date)
  • 1 backup of each of the 4 exponents I was working on (another 120MB)
  • local.txt and prime.txt
  • results.* (probably not needed)
  • worktodo.txt
Assuming you installed Prime95 on the new PC, I don't advise copying over local.txt or prime.txt … though you have need a few parms in them.
Only worktodo.txt and the first 2 files you listed.
petrw1 is offline   Reply With Quote
Old 2020-03-05, 00:11   #4
phillipsjk
 
Nov 2019

22·7 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Assuming you installed Prime95 on the new PC, I don't advise copying over local.txt or prime.txt … though you have need a few parms in them.
Only worktodo.txt and the first 2 files you listed.
Prime.txt is explicitly supposed to be copiable from PC to PC (mentioned in the readme.txt).

Edit: I want to hand edit the local.txt because both machines are a NUMA. It is relatively easy to map L2 caches on the old machine to CPUs on the new one.

Last fiddled with by phillipsjk on 2020-03-05 at 00:14
phillipsjk is offline   Reply With Quote
Old 2020-03-05, 16:47   #5
phillipsjk
 
Nov 2019

1C16 Posts
Default

Looks like I will be copying prime.txt and the running 4 instances: mprime is not NUMA aware. I have had problems in the past with cryptocurrency hashers erroring out when accessing "foreign" memory under load.

https://www.mersenneforum.org/showthread.php?t=22571

I guess the procedure would be approximately:
  1. Extract mprime to 4 separate folders.
  2. Copy one state file and backups (and prime.txt) into each folder.
  3. copy worktodo.txt into each, then edit to match data files.
  4. Run mprime configuration script; tell each instance (with an incremented name) to use 1/4 of available cores.
  5. Review local.txt to make sure each instance is actually on a different CPU.
phillipsjk is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
access to windows machine files from ubuntu machine wildrabbitt Hardware 1 2019-02-24 18:34
NFS success probability in practice paul0 Factoring 2 2015-02-23 03:55
"Start at Bootup" option didn't work on Windows XP machine? ixfd64 Software 1 2014-12-31 17:14
Help me recover work after machine freaked out scubabob PrimeNet 17 2011-02-18 23:15
Migrating to v5 ZFR PrimeNet 6 2008-12-15 19:45

All times are UTC. The time now is 12:29.

Sat May 30 12:29:30 UTC 2020 up 66 days, 10:02, 3 users, load averages: 2.48, 2.25, 1.96

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.