mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2012-12-26, 21:10   #617
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by Rodrigo View Post
Ah, your clue led me to this in UNDOC.TXT:

So if Dubslow is right, then I should add an AffinityScramble line to LOCAL.TXT (does it matter where?), and make it 01234567. What do you think?

Rodrigo
Like it says though, it should be automatically detecting and using that. Maybe it is better to set it manually, who knows. It's worth a shot, I think.
Dubslow is offline   Reply With Quote
Old 2012-12-26, 21:11   #618
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by chalsall View Post
This is a known bug with the Primenet server -- memory starvation affecting the tool used to verify the factor.

Wait for George or Scott to reboot the server, or keep trying. Preferably not at the top of the hour -- wait until at least 15 minutes past.
I just emailed Scott. At the head of the Server Problems thread he states that he will notice emails much quicker than forum posts.
kladner is offline   Reply With Quote
Old 2012-12-26, 21:12   #619
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

2·467 Posts
Default

Quote:
Originally Posted by Dubslow View Post
PrimeNet's having an "episode" right now.
Ohh, thanks for that. So I should wait a while and try submitting that result again. I should send both lines of the result, right?

Rodrigo
Rodrigo is offline   Reply With Quote
Old 2012-12-26, 21:14   #620
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

11101001102 Posts
Default

Quote:
Originally Posted by chalsall View Post
This is a known bug with the Primenet server -- memory starvation affecting the tool used to verify the factor.

Wait for George or Scott to reboot the server, or keep trying. Preferably not at the top of the hour -- wait until at least 15 minutes past.
Thanks for the scoop, chalsall.

If donations to GIMPS went up, would it help them to prevent issues like this (by, say, getting newer or additional hardware?

Rodrigo
Rodrigo is offline   Reply With Quote
Old 2012-12-26, 21:29   #621
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by Rodrigo View Post
If donations to GIMPS went up, would it help them to prevent issues like this (by, say, getting newer or additional hardware?
I have no knowledge of the financial situation of GIMPS, but there was talk earlier this year of upgrading the server. Additionally, two Linux geeks (James and myself) have offered to assist porting Primenet over to a LAMP stack, but that offer has not been pursued....
chalsall is offline   Reply With Quote
Old 2012-12-26, 22:35   #622
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

2×467 Posts
Default

Background:
Quote:
Originally Posted by Rodrigo
So if Dubslow is right, then I should add an AffinityScramble line to LOCAL.TXT (does it matter where?), and make it 01234567. What do you think?
Quote:
Originally Posted by Dubslow View Post
Like it says though, it should be automatically detecting and using that. Maybe it is better to set it manually, who knows. It's worth a shot, I think.
OK, been running Prime95 with AffinityScramble2 set to 01234567, with the workers still set to Smart Assignment.

Everything seems to be running about as well as with Smart Assignment before adding the AffinityScramble2 line to LOCAL.TXT, the only difference being which CPU threads got selected for use by the three workers this time (the third, fifth, and seventh).

So I'm wondering if I can now uncheck CPUs "0" and "1" for Prime95 in Task Manager, and then specify mfakto to use, say, "0" for its work, as per flashjh's list upthread.

Rodrigo

Last fiddled with by Rodrigo on 2012-12-26 at 22:35
Rodrigo is offline   Reply With Quote
Old 2012-12-26, 22:46   #623
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

2·1,303 Posts
Default

AffinityScramble2, yeah, thats it
firejuggler is online now   Reply With Quote
Old 2012-12-26, 23:33   #624
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2·3·1,693 Posts
Default

Quote:
Originally Posted by kladner View Post
I just emailed Scott. At the head of the Server Problems thread he states that he will notice emails much quicker than forum posts.
Scott has replied that "the manual results forms seem to encourage bulk processing activities that pound the server and starve-out most other users."
kladner is offline   Reply With Quote
Old 2012-12-26, 23:54   #625
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

100110001001112 Posts
Default

Quote:
Originally Posted by kladner View Post
Scott has replied that "the manual results forms seem to encourage bulk processing activities that pound the server and starve-out most other users."
Now why, exactly, would a publicly facing web interface to a system be able to starve-out other users?

Might it be because of unnecessarily use of transactions?
chalsall is offline   Reply With Quote
Old 2012-12-27, 00:19   #626
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

2×467 Posts
Default

All right, I've been running Prime95 for some time now with Affinity unchecked in Task Manager for CPUs 0 and 1. With Smart Assignment and 2 threads per worker, the three P95 workers are keeping CPUs 2-7 each at or near 100% utilization. For some reason, the per-iteration times went up by 0.001-0.002 for each worker, but that may be a small price to pay to keep 'em to themselves (i.e., not spilling work over to the remaining core).

The next step will be to run mfakto on CPU 0 or 1 and see what happens. Given that the GPU load (according to GPU-Z) while I was running mfakto yesterday was only at 1%, I'm thinking of running two instances of mfakto off that first core ("CPUs" 0 and 1).

Rodrigo
Rodrigo is offline   Reply With Quote
Old 2012-12-27, 05:14   #627
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

2×467 Posts
Default Progress report

I've been fiddling with various affinity settings for mfakto (given the use of 3 cores on Prime95 and one on mfakto) with the following command:

Quote:
start /low /affinity 0x1 mfakto-x64
start /high /affinity 0x1 mfakto-x64
start /affinity 0x1 mfakto-x64
None of these performed as well as when I didn't try to be so smart, and simply typed in:

Quote:
mfakto-x64
With the first three, TF ETAs shot up to almost two hours, with time/class hovering at 6-7 seconds. With the last one, time/class is down to around 3 seconds. And yet, the system seems to have figured out all by itself that the unused first core is the one for mfakto to use. The per-iteration times on the three Prime95 cores were slightly affected (each suffering a hit of about 0.004 seconds; and none did any better with any of the start /affinity settings), but this is more than made up for by the vastly improved mfakto performance.

Rodrigo

Last fiddled with by Rodrigo on 2012-12-27 at 05:16
Rodrigo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
gpuOwL: an OpenCL program for Mersenne primality testing preda GpuOwl 2718 2021-07-06 18:30
mfaktc: a CUDA program for Mersenne prefactoring TheJudger GPU Computing 3497 2021-06-05 12:27
LL with OpenCL msft GPU Computing 433 2019-06-23 21:11
OpenCL for FPGAs TObject GPU Computing 2 2013-10-12 21:09
Program to TF Mersenne numbers with more than 1 sextillion digits? Stargate38 Factoring 24 2011-11-03 00:34

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


Mon Aug 2 07:37:12 UTC 2021 up 10 days, 2:06, 0 users, load averages: 1.49, 1.48, 1.42

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.