mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-07-26, 11:38   #1
g33py
 
Jul 2016

2×3 Posts
Unhappy Set affinity does not work

Hi,

sorry for the "newbie" question, but my Google skills did not find an answer

I have Prime95 v28.7 running on a Lenovo P700 under Windows 7 pro. There are 2 cpus with 10 cores each plus hyperthreading in the Computer.
Now I'd like to restrict prime to one socket so I can use the other for my daily work.
If I use the Standard "local.txt", the tool tells me "Setting affinity to run on any Logical CPU".
I tried add adding the entry "AffinityScramble2=132457689A0BCEDFGIHJ" entry, but with that the program crashes.
Now I am lost. What should I have done?

Yours
Guenter from Germany
g33py is offline   Reply With Quote
Old 2016-07-26, 13:52   #2
GP2
 
GP2's Avatar
 
Sep 2003

50278 Posts
Default

First of all, you should update to v28.9, there is an important improvement.

You can delete your old prime.txt and local.txt and start over, to clear out any
mistaken modifications.


If you choose to edit your existing files instead, then in your local.txt file, you should find a lines similar to:

WorkerThreads=2
ThreadsPerTest=4

If there is no WorkerThreads line, it defaults to 1.

The above is for a computer with 8 cores, where two exponents are being tested simultaneously (i.e., two "workers"), with each test using 4 cores (one main thread and three helper threads).


Note: To make any adjustment, you must first stop the program, then edit the file, then restart the program.

Last fiddled with by GP2 on 2016-07-26 at 13:56
GP2 is offline   Reply With Quote
Old 2016-07-27, 05:19   #3
g33py
 
Jul 2016

2×3 Posts
Default

Hi GP2,

thanks for your info. I did get the latest version and had a look at your suggested options.
Unfortunately, this does not change the "run worker on any logical CPU" problem. Where can I control the core on which the worker is running?

yours
Günter
g33py is offline   Reply With Quote
Old 2016-07-27, 05:26   #4
g33py
 
Jul 2016

2×3 Posts
Smile

Hi,

the new version seems to be much better in clinging to the core :)

I still have the "running on any logical cpu" message, but using Task manager I can see that only the first CPU is used and all cores on it (including the hyperthreading) are running on 100%, while all cores of the second CPU are idling.

Well done!

yours
Günter
g33py is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Processor Affinity R.D. Silverman Programming 19 2015-04-24 22:46
Core affinity question philmoore Information & Answers 2 2013-06-16 05:44
Helper Thread Affinity TObject Software 3 2012-07-20 19:21
Affinity setting in local.ini PageFault Software 1 2006-09-13 16:39
Affinity on Linux bmg9611 Software 5 2002-11-04 21:26

All times are UTC. The time now is 06:13.

Sun Jan 24 06:13:45 UTC 2021 up 52 days, 2:25, 0 users, load averages: 1.43, 1.63, 1.57

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.