mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-02-05, 11:34   #1
graizada
 
Feb 2013

1 Posts
Default Single exponent testing on MultiCore

Hi,

When I start mprime, it asks to start as many workers as there are cores. I want to use all cores for the same exponent. Essentially dedicating the entire server to single exponent to speed up.

I looked in readme and on this forum. All I find is mlucas. Can you guide me on this ?

G
graizada is offline   Reply With Quote
Old 2013-02-05, 13:51   #2
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

7×1,373 Posts
Default

Stop mprime,

On local.txt file, look for something like
WorkerThreads=xxx
ThreadsPerTest=yyy

replace xxx with 1, and yyy with the number of your physical cores

then look to worktodo.txt and eliminate the heders [worker xx] in case you have them from a former run, let only the [worker 1]. If no worktodo yet, no problem.

Restart mprime.

Linux users may clarify it better.
LaurV is offline   Reply With Quote
Old 2013-02-05, 14:29   #3
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

11100001101012 Posts
Default

Quote:
Originally Posted by LaurV View Post
Stop mprime,

On local.txt file, look for something like
WorkerThreads=xxx
ThreadsPerTest=yyy

replace xxx with 1, and yyy with the number of your physical cores

then look to worktodo.txt and eliminate the heders [worker xx] in case you have them from a former run, let only the [worker 1]. If no worktodo yet, no problem.

Restart mprime.

Linux users may clarify it better.


In general though, we recommend only one core per test, because overall you get more work done; using multithreading is never quite as efficient as a single core per test.
Dubslow is offline   Reply With Quote
Old 2013-02-05, 14:36   #4
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

202016 Posts
Default

Code:
./mprime -m
Option #2
Xyzzy is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual testing tab doesn’t give me the exponent i typed in. theboss24611 Information & Answers 7 2017-10-18 19:17
P-1 factoring: B1 and B2 vs. multicore scaling TheJudger Software 1 2016-05-02 21:09
Using PRIMO on a multicore system Cybertronic Five or Bust - The Dual Sierpinski Problem 6 2010-10-13 18:25
Computer stopped testing an exponent (which was almost done) and started a new one jinydu PrimeNet 9 2005-11-30 22:46
4 checkins in a single calendar month from a single computer Gary Edstrom Lounge 7 2003-01-13 22:35

All times are UTC. The time now is 08:16.


Sat Jul 17 08:16:07 UTC 2021 up 50 days, 6:03, 1 user, load averages: 2.62, 1.76, 1.49

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.