mersenneforum.org  

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

Reply
 
Thread Tools
Old 2005-02-10, 22:03   #1
A_Pryme
 
Feb 2005

25 Posts
Default Multiple Installations.

Can anyone give me some info on creating a new directory for Prime95 for the purposes of running two instances of the program simultaneously on the same machine?
A_Pryme is offline   Reply With Quote
Old 2005-02-10, 23:21   #2
Peter Nelson
 
Peter Nelson's Avatar
 
Oct 2004

232 Posts
Default Multiple instances

It is certainly possible to have more than one instance running, working off different working directories.

You would only benefit from doing this simultaneously if you have either a multiprocessing (eg dual P3) or a hyperthreading cpu like P4 running in hyperthreading on mode in the bios.

In addition you should set the affinity of each instance to the cpu or thread you want it to use (0 or 1).

Instructions on overriding the default working directory are located in the undoc.txt file.
Peter Nelson is offline   Reply With Quote
Old 2005-02-11, 00:11   #3
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

11001111112 Posts
Default

There is no need for a new directory for a second instance. All you have to do is: call prime95 with e.g. the parameter "-Ax" (or was it "Ax" only?), which uses other filenames (they get labeled with the "x").
I'm not sure how they are named in detail, you'll see once you try it.
Mystwalker is offline   Reply With Quote
Old 2005-02-11, 01:35   #4
A_Pryme
 
Feb 2005

3210 Posts
Default

Quote:
Originally Posted by Peter Nelson

You would only benefit from doing this simultaneously if you have either a multiprocessing (eg dual P3) or a hyperthreading cpu like P4 running in hyperthreading on mode in the bios.

That puter I am using for this is a

Intel Celeron processor 631.4 MHz
RDTSC, CMOV, PREFETCH, MMX, SSE
Cache, L1: 16Kb, L2: 128Kb.

I think I read an article about WinMe and hyperthreading about a year ago but don't remember the exact content.
A_Pryme is offline   Reply With Quote
Old 2005-02-11, 01:38   #5
A_Pryme
 
Feb 2005

25 Posts
Default

Quote:
Originally Posted by Mystwalker
There is no need for a new directory for a second instance. All you have to do is: call prime95 with e.g. the parameter "-Ax" (or was it "Ax" only?), which uses other filenames (they get labeled with the "x").
I'm not sure how they are named in detail, you'll see once you try it.

Is that similar to renameing batch files? The same file name on all of them except for an added system parameter that doesn't effect the "real" file name?
A_Pryme is offline   Reply With Quote
Old 2005-02-11, 07:36   #6
A_Pryme
 
Feb 2005

25 Posts
Default

Quote:
Originally Posted by Peter Nelson
You would only benefit from doing this simultaneously if you have either a multiprocessing (eg dual P3) or a hyperthreading cpu like P4 running in hyperthreading on mode in the bios.
This is the machine I'm doing this with:

System Model Emachines
System Type X86-based PC
Processor Intel Celeron processor GenuineIntel ~633 Mhz
BIOS Version EPP revision 9.00

Total Physical Memory 30.45 MB
Available Physical Memory 160.00 KB

Total Virtual Memory 2.00 GB
Available Virtual Memory 1.91 GB
Page File Space 1.97 GB

I was looking for info on hyperthreading and running multiple instances of Prime95 but have found little.

You got a link on that info?
A_Pryme is offline   Reply With Quote
Old 2005-02-11, 07:44   #7
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

2×4,357 Posts
Default

On a machine with any single non-HyperThreading processor, Prime95 will have the best total speed with only a single instance running. It is so very efficent that the swaping out of programs that Windows does would make it less efficent.

With that little amount of RAM on that machine, you would likely be best doing only trial factoring.
Uncwilly is offline   Reply With Quote
Old 2005-02-11, 07:49   #8
Digital Concepts
 
Digital Concepts's Avatar
 
Aug 2002

2×33 Posts
Default

Your machine does not appear to be a dual processor, nor HT capable.

But if you still want to run multiple prime95 copies, from the readme.txt file...

Quote:
COMMAND LINE ARGUMENTS
----------------------

-An This is used to run two or more copies of prime95
from the same directory. Using this command line argument
causes prime95 to use a different set of filenames for the
INI files, the results file, the log file, and the spool file.
Just use a different value of n for each copy of
prime95.exe you start.
P.S. I agree with Uncwilly
Digital Concepts is offline   Reply With Quote
Old 2005-02-11, 08:42   #9
A_Pryme
 
Feb 2005

25 Posts
Default

Quote:
Originally Posted by Uncwilly
With that little amount of RAM on that machine, you would likely be best doing only trial factoring.
The current worktodo is listed as being done approx March 20. I will let that conclude.

Does the trial factoring machines come into the reward anywhere for finding a new prime?
A_Pryme is offline   Reply With Quote
Old 2005-02-11, 10:17   #10
lycorn
 
lycorn's Avatar
 
Sep 2002
Oeiras, Portugal

140510 Posts
Default

Quote:
Originally Posted by A_Pryme
Does the trial factoring machines come into the reward anywhere for finding a new prime?
Trial Factoring machines are not actually searching for new primes, they are eliminating potential candidates by finding factors. Therefore, there is no "reward" in the true sense of the meaning. But mind you, it is a very important contribution to the project, for any time you eliminate a candidate you save two Lucas-Lehmer tests (First-Time and Double Check), and those are the really lenghty pieces of work.
Now trial factoring has been traditionally allocated to slower machines, and particularly the ones that are not SSE2 capable, as in the latest versions of Prime95 the implementation of the FFT algorithm (used in the LL tests but not in the TF code) has been strongly SSE2 optimized. That´s why people in the forum have suggested that you perform Trial Factoring.
But in the end, it is your machine, do whatever type of work you enjoy the most. Keep in mind that in a volunteer project like this every single bit of contribution is welcome.
Welcome aboard!...
lycorn is offline   Reply With Quote
Old 2005-02-11, 11:21   #11
A_Pryme
 
Feb 2005

408 Posts
Default

lycorn,

With either task it will be running 24/7 so might as well look for a prime.

Will this run on Win 3.11/DOS 6 ?
A_Pryme is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux and multiple GPU bgbeuning GPU Computing 52 2016-06-09 05:26
Multiple GPU's Windows 10 cardogab7341 GPU Computing 5 2015-08-09 13:57
Using multiple PCs numbercruncher Information & Answers 18 2014-04-17 00:17
(archive)mfaktXHelper - utility for managing mfaktX installations swl551 MISFIT 57 2012-08-12 03:37
Multiple systems/multiple CPUs. Best configuration? BillW Software 1 2003-01-21 20:11

All times are UTC. The time now is 07:09.

Thu Oct 22 07:09:10 UTC 2020 up 42 days, 4:20, 0 users, load averages: 1.58, 1.43, 1.31

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.