mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-01-10, 16:06   #1
physicist
 
"James Blue"
Dec 2017
Maryland

2 Posts
Default How to use more threads?

I set up a new 6-core computer and started running prime95. It started using the same setting as my older computer, only 2 threads. Is there a way to allow it to use more threads?
physicist is offline   Reply With Quote
Old 2018-01-10, 16:44   #2
GP2
 
GP2's Avatar
 
Sep 2003

13·199 Posts
Default

Quote:
Originally Posted by physicist View Post
I set up a new 6-core computer and started running prime95. It started using the same setting as my older computer, only 2 threads. Is there a way to allow it to use more threads?
First, stop Prime95 from the menu ( Test / Stop... )

Then look for the file called local.txt in your working directory. This is usually the same directory where Prime95 itself was installed.

In that file, there are a number of lines. Look for the ones that say

Code:
WorkerThreads=1
CoresPerTest=2
The numbers may vary. Alter these as you see fit, but the product of multiplying WorkerThreads by CoresPerTest should not exceed 6, which is the number of cores you have.

Then restart Prime95 from the menu ( Test / Continue... )
GP2 is offline   Reply With Quote
Old 2018-01-10, 17:07   #3
physicist
 
"James Blue"
Dec 2017
Maryland

2 Posts
Default Success

My local.txt only had
ThreadsPerTest=2
but changing 2 to 4 worked fine.

Thank you.

Last fiddled with by physicist on 2018-01-10 at 17:07
physicist is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use all threads (i7-920) petsoukos Software 2 2013-06-04 20:33
Workers, Threads, Helper Threads, Cores, Affinity. lorgix Information & Answers 12 2011-01-13 22:31
P-1 with 2 threads? lycorn Software 7 2009-09-13 03:19
How can I close my own threads? petrw1 Information & Answers 1 2007-09-25 21:02
No threads or posts from me! mfgoode Forum Feedback 10 2007-03-22 16:32

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

Thu Apr 15 16:11:07 UTC 2021 up 7 days, 10:51, 1 user, load averages: 2.88, 3.19, 2.94

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.