mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-11-26, 05:04   #1354
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

236568 Posts
Default

Quote:
Originally Posted by LaurV View Post
you don't really need to make it so complicate, unless you want to specify express which CPU core is used for which copy, and which copy to run on which GPU, etc,[snip]
I do have such concerns. Since I'm splitting up a 1090T between mfaktc and P95, I want to lock down the affinities. Two of the switches in the line (/k and /b) result in a single prompt window for each instance of mfaktc, which will stay open if worktodo.txt should happen to run dry. /low sets priority, at least for the CPU work involved in mfaktc. The other part of these settings is in the .ini. I have these settings there:
Code:
NumStreams=3
CPUStreams=3
GridSize=3
AllowSleep=1
All this helps noticeably with usability for the computer for other tasks.


Quote:
Originally Posted by LaurV View Post
The disadvantage of my method is that the results files will be in the subfolders. This can not be (yet) customized in the ini files. But for that I made a batch file to collect all the result.txt from subfolders, so I don't need to walk on each subfolder and look for them.
I would be grateful for an example of such a batch. It sounds very convenient indeed.

Last fiddled with by kladner on 2011-11-26 at 05:08
kladner is offline   Reply With Quote
Old 2011-11-26, 05:12   #1355
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 PsycO View Post
Yes this is exactly what i was referring to!!!
But... Woaaaaaaa, tons of work here!!! The server is really complete!!!
Feasable, but i need to know if integration to Prime95 is planned, on a medium time scale, or in the next year??? If not, the project is interesting....
TheJudger: Do you have talked to Woltman on a possible integration??? And do you are the CUDALucas develloper(For permission)?? As they are develloped for the same goal, the ability to crunch for mersenne on GPU, if i make GUI with primenet integration, i will surely integrate them all(mfaktc, mfakto, CUDALucas)!!!
If you mean making mfaktc capable of 'talking' to PrimeNet and automatically collecting assignments, that is already in the works. Ask Christenson if you really want to help there. As for integration, there is much work to be done yet before mfaktc is fully mature, and correct me if I'm wrong The Judger and Prime95, but I doubt it will be done in the next year.
Dubslow is offline   Reply With Quote
Old 2011-11-26, 05:13   #1356
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

200528 Posts
Default

Is there any way to share multiple instances in one folder?
Xyzzy is offline   Reply With Quote
Old 2011-11-26, 06:14   #1357
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

100101101101112 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
Is there any way to share multiple instances in one folder?
Not really, or I don't know any. The problem is that all copies need to access and modify the first line of worktodo.txt, and it would be very easy to result in conflicts, as missing an intermediary bit level, a complete assignment line, or duplicating the same work on different instances. To specify a different worktodo for each copy you could modify the ini file, but then you will need different ini files for each copy, so we are in a vicious circle here. But this is not a problem. The solution with subfolders works ok.
LaurV is online now   Reply With Quote
Old 2011-11-26, 13:47   #1358
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010101112 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
No perhaps, please(!) add in some code to limit the frequency of writing checkpoint files!
OK, added to my todo-list.

Quote:
Originally Posted by RichD View Post
That's good to know, which begs the next question. Is a checkpoint file written when a ctrl-c (break) is invoked?
up to mfaktc 0.17: no!
mfaktc 0.18: 1st ^C pressed: finish the current class write a checkpoint and exit. 2nd ^C pressed: exit now (like older versions)
I don't have plans for checkpoints within a class.

Quote:
Originally Posted by Xyzzy View Post
Is there any way to share multiple instances in one folder?
Not on my todo-list. It would be easy to add such a basic functionality but I guess that this increases the chance that a user unintentional runs two instances on the same data.

Quote:
Originally Posted by PsycO View Post
Do you have talked to Woltman on a possible integration??? And do you are the CUDALucas develloper(For permission)??
Yes, possible but AFAIK no concrete plan yet.
No to the second question.


Oliver
TheJudger is offline   Reply With Quote
Old 2011-11-28, 15:33   #1359
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

Code:
    class | candidates |    time | avg. rate | SievePrimes |    ETA | CPU wait
2367/4620 |      9.99G | 326.41s |  30.62M/s |      200000 |  1d18h |   10.31%
Is the "candidates" column capped at <10G, or just by chance that it's been sitting at that suspicious number for the duration of my current assignment?
James Heinrich is offline   Reply With Quote
Old 2011-11-28, 17:53   #1360
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

100010101112 Posts
Default

Hi James,

I guess just some luck with your assignment.

Oliver
TheJudger is offline   Reply With Quote
Old 2011-11-28, 19:22   #1361
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Geez, what is that, 74 bits? I'm doing 50M from 69-72 and have 2.24G classes...
Dubslow is offline   Reply With Quote
Old 2011-11-28, 20:02   #1362
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11×311 Posts
Default

Quote:
Originally Posted by Dubslow View Post
Geez, what is that, 74 bits? I'm doing 50M from 69-72 and have 2.24G classes...
Code:
got assignment: exp=595900037 bit_min=78 bit_max=79
Starting trial factoring M595900037 from 2^78 to 2^79
 k_min = 253592411590980
 k_max = 507184823188150
Using GPU kernel "barrett79_mul32"
James Heinrich is offline   Reply With Quote
Old 2011-11-28, 22:03   #1363
KyleAskine
 
KyleAskine's Avatar
 
Oct 2011
Maryland

2·5·29 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Code:
    class | candidates |    time | avg. rate | SievePrimes |    ETA | CPU wait
2367/4620 |      9.99G | 326.41s |  30.62M/s |      200000 |  1d18h |   10.31%
Is the "candidates" column capped at <10G, or just by chance that it's been sitting at that suspicious number for the duration of my current assignment?
You could force sieve primes down just a hair and see if the candidates goes up
KyleAskine is offline   Reply With Quote
Old 2011-11-29, 05:02   #1364
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

722110 Posts
Default

Quote:
Originally Posted by kladner View Post
cmd.exe /k "start /b /low /affinity 0x20 mfaktc-win-64.exe"

cmd.exe /k "start /b /low /affinity 0x10 mfaktc-win-64.exe"

cmd.exe /k "start /b /low /affinity 0x08 mfaktc-win-64.exe"
Hey kladner,
First off, I heard Chicago's already gotten snow. True? (If so, not fair!)
Now: You said the /k makes sure each prompt gets its own window, and /b pauses the prompt if mfaktc stops running?

If I'm only running one instance, I can drop the /k, right?

And is cmd.exe recognized even if I'm running this command from the mfaktc folder (or in my case shortcut in the mfaktc folder)?
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 10:20.


Mon Aug 2 10:20:36 UTC 2021 up 10 days, 4:49, 0 users, load averages: 1.06, 1.05, 1.12

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.