![]() |
|
|
#1343 | |
|
Oct 2011
7×97 Posts |
Quote:
I didn't look at all the tabs, that is pretty neat, thanks. |
|
|
|
|
|
|
#1344 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Quote:
There is more discussion here: http://www.mersenneforum.org/showpos...0&postcount=77 I currently run three instances of mfaktc, so there are three slightly different command lines to set different core affinities. The command lines are: 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" These run mfaktc on cores 4,5, and 6. As you can see, the core affinities are specified by the hex values. Core numbering starts with 0. I have intended to set up a batch which would start all of these together, but my initial attempts did not work correctly. At the moment I run three different batch files. My machine remains fairly usable in most situations with the following settings in mfaktc.ini: NumStreams=3 CPUStreams=3 GridSize=3 AllowSleep=1 AllowSleep=1 frees a small amount of CPU time on the three cores which are feeding mfaktc. Reducing NumStreams to 2 makes the system more responsive without too much impact on mfaktc performance. Reducing GridSize to 2, or even 1, improves responsiveness a lot, but at considerable cost to mfaktc. For gaming you are probably better off just stopping mfaktc. Unlike P-1 factoring in P95, there does not seem to be a large penalty in restarting it. |
|
|
|
|
|
|
#1345 | |
|
Mar 2006
Germany
22×727 Posts |
Quote:
Code:
@echo off start "LLRnet Client1" /DLLRnet1 do.bat start "LLRnet Client2" /DLLRnet2 do.bat start "LLRnet Client3" /DLLRnet3 do.bat rem (...) more clients analogous exit The do.bat's in those directories are starting every LLRnet client and could be other programs, too. |
|
|
|
|
|
|
#1346 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2·3·1,693 Posts |
Quote:
............... And indeed, using "start" did the trick! Thanks, again! |
|
|
|
|
|
|
#1347 | ||||
|
"Oliver"
Mar 2005
Germany
11×101 Posts |
Hello!
Quote:
Quote:
![]() Quote:
Quote:
Oliver |
||||
|
|
|
|
|
#1348 | |
|
"James Heinrich"
May 2004
ex-Northern Ontario
11×311 Posts |
Quote:
No perhaps, please(!) add in some code to limit the frequency of writing checkpoint files! I didn't realize such murderous I/O was involved. Not in number of bytes written, but in number of writes. I'd suggest making it .ini configurable with a default interval of 60 seconds, maybe even 300 seconds. Nobody's going to care if they lost one minute of work (it'll take that long to notice and restart mfaktc anyway), it's where the assignment has been running many hours that you care about losing work. |
|
|
|
|
|
|
#1349 | ||||
|
Nov 2011
Quebec, Canada
32 Posts |
Quote:
Just eliminating these IO's will speed up the app a lots! IO's are very consuming!!Quote:
Quote:
If i can know the info's about Primenet protocol's, i can write a module that will deal with it! Maybe with this feature, the GUI will worth the time to make it! Quote:
|
||||
|
|
|
|
|
#1350 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
|
|
|
|
|
|
|
#1351 | |
|
Sep 2008
Kansas
3·1,129 Posts |
Quote:
(I can afford to take the 30-60 minute lost processing [on rare occasions] to gain a few percentage points in processing. My power situation is fairly stable.) |
|
|
|
|
|
|
#1352 | |
|
Romulan Interpreter
Jun 2011
Thailand
5×1,931 Posts |
Quote:
mfaktc1 -d 0 mfaktc2 -d 0 mfaktc3 -d 0 mfaktc4 -d 1 mfaktc5 -d 1 mfaktc6 -d 1 to launch 6 copies of mfaktc on two GPU's, win7 is enough intelligent to split the CPU burden. The 6 mfaktcX.exe are all identical copies of mfaktc-win-64.exe, placed in different subfolders, each with its own ini and worktodo file. The advantage is that I can customize better the inputs, adding work only to the thread that need (they are not always running at the same speed, depending on the assignments and the CPU/GPU burden for the daily real-life job). The input files can be customized in the ini file, so they can all be in the parent folder, and you don't need to walk to each subfolder to add work. Just look at their size in explorer/totalcmd and you know which one is ready to go dry. Renaming the exe files has also the advantage that you know in every moment what copy of mfaktc does what, because the name appears in the title of the cmdprompt window. Of course this can also be realized on your version if you add the "title" parameter for "start" command (there is an additional parameter where you can specify window's title). 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. |
|
|
|
|
|
|
#1353 | |
|
Nov 2011
Quebec, Canada
32 Posts |
Quote:
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)!!! |
|
|
|
|
![]() |
| 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 |