mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-01-01, 02:25   #3037
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

7A116 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
...I'm curious what Neutron3529 is doing to get 2MB worktodo... is he my mystery TF'er who reserves a million exponents at a time and then takes 2 weeks to submit the results?
The simple math says he's running nearly 3,000 per hour. He seems to have found a way around your limitations. He may be using a recursive batch process to do this. 1,000 iterations of 1,000 each, with a very short timeout between. I would not want to have to concatenate all of that. Even 100 would take some time. He would also have to rename each download.

If he has any programming experience, and I suspect he does, he could automate this entire process to run unattended.

Last fiddled with by storm5510 on 2019-01-01 at 02:30
storm5510 is offline   Reply With Quote
Old 2019-01-01, 02:35   #3038
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3×5×227 Posts
Default

Quote:
Originally Posted by storm5510 View Post
He seems to have found a way around your limitations.
Whoever it is isn't doing anything "wrong", as long as they keep reporting back 25THz-days of work once a week or so I'm not complaining much, although I would still much prefer that whoever it is would reserve and submit only a day's worth at a time. But as long as they work's getting done...
James Heinrich is offline   Reply With Quote
Old 2019-01-01, 17:02   #3039
Neutron3529
 
Neutron3529's Avatar
 
Dec 2018
China

41 Posts
Default

Quote:
Originally Posted by TheJudger View Post
Hi,



There is currently no doublechecking for TF work and thus you can't improve (reduce time) for that.
You want a checksum or whatever for all factor attemps in each class, right? Won't work for multiple reasons:
  • the list of factor candidates depends on sieve parameters (e.g. more sieving, less candidates)
  • even with same settings the list of candidates depends on hardware because we ignore memory conflicts and sometimes a composite factor isn't cleared by the sieve while on the next run it is.




Is this a common usecase? Keep in mind that I focus on current primenet wavefront. 2M worktodo isn't general usage. Maybe easiest is to split your worktodo to reasonable sizes and put a small script around mfaktc (put small worktodo.txt into directory, start mfaktc (let it run until it has finished worktodo.txt, repeat with next worktodo.txt)

I finally come up with a possible idea:
Firstly, it is easy to maintain a "smallest candidate", for example, about 100 per class.
for each candidate, we could use BPSW algorithm to verify if it is a psedo-prime.
if all the candidate is not pseudo-prime, we could use a special mark, and we could do a checksum with a pseudo-prime.
It is quite hard to discard a pseudo-prime, and since there are at least 90log2/2~ 1/31 the probability a odd number n could be a prime if n less than 2^90, so the probability that all the candidate in a class is not a prime should be very low (<0.04)

Hence a residual check value could be available.
Neutron3529 is offline   Reply With Quote
Old 2019-01-02, 16:04   #3040
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009

195310 Posts
Default

Quote:
Originally Posted by TheJudger
There is currently no double-checking for TF work and thus you can't improve (reduce time) for that.

You want a checksum or whatever for all factor attempts in each class, right? Won't work for multiple reasons:
There is more than enough DC work as it is without checking TF. Except for the wave-front, there is far too much TF going on. By wave-front, I mean GPUto72.
storm5510 is offline   Reply With Quote
Old 2019-01-02, 20:42   #3041
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

10100111100112 Posts
Default

Quote:
Originally Posted by storm5510 View Post
There is more than enough DC work as it is without checking TF. Except for the wave-front, there is far too much TF going on. By wave-front, I mean GPUto72.
TF _is_ checked, in the sense of detecting false positive factors, when submitted. The payoff on detecting missed factors (false negatives) is very low.
kriesel is online now   Reply With Quote
Old 2019-01-02, 20:54   #3042
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

100110000000102 Posts
Default

Quote:
Originally Posted by kriesel View Post
TF _is_ checked, in the sense of detecting false positive factors, when submitted. The payoff on detecting missed factors (false negatives) is very low.
If I may please share... Early on in the GPU72 effort I would sometimes notice people who's results were "unusual" (read: an unexpectedly low "success" rate). I spent a lot of time and money rechecking their work, and never once did I find a "cheat".

And at the end of the day, it doesn't really matter all that much if a factor is missed. Finding a factor simply removes the candidate from the LL'ing and then DC'ing effort. The latter are definitive as to primality.
chalsall is online now   Reply With Quote
Old 2019-01-02, 21:04   #3043
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

263816 Posts
Default

I would remind the gentle readers that we do have a TF DC system in place. It is called the user TJAOI
Uncwilly is online now   Reply With Quote
Old 2019-01-02, 23:26   #3044
ixfd64
Bemusing Prompter
 
ixfd64's Avatar
 
"Danny"
Dec 2002
California

2×5×239 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I'm running mfaktc on a borrowed MSI gaming laptop with a GeForce GTX 1070 video card. There was a moment today when mfaktc got stuck on a class. However, this wasn't a complete freeze because mfaktc processed the next set of classes when I pressed Ctrl + C. I had to press Ctrl + C a few more times (with classes being processed each time) before mfaktc correctly exited. Has anyone encountered this issue?

It's worth mentioning that the cursor on this laptop sometimes freezes for a short time. I have no idea if these issues are related.
I just noticed that this issue occurs when I select text inside the mfaktc window. The program resumes as soon as I cancel the selection. This is 100% reproducible as far as I could tell.

The screen freezing issue likely isn't related to mfaktc as it did go away after a Windows update.

Last fiddled with by ixfd64 on 2019-01-02 at 23:28
ixfd64 is offline   Reply With Quote
Old 2019-01-02, 23:37   #3045
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3×5×227 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I just noticed that this issue occurs when I select text inside the mfaktc window. The program resumes as soon as I cancel the selection. This is 100% reproducible as far as I could tell.
That's a Windows thing, nothing to do with mfaktc.
Any program running in a command window will be suspended while you're marking/selecting text. You can also suspend a program with the Pause/Break key, and resume by hitting any (other?) key.
James Heinrich is offline   Reply With Quote
Old 2019-01-03, 14:02   #3046
Neutron3529
 
Neutron3529's Avatar
 
Dec 2018
China

518 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
No, that's not a common usecase. Even with my work at the large-exponent-low-bits above 1000M where exponent (not class) runtimes are ~1s there's no reason to have mammoth worktodo. For convenience I fetch/submit 1000 exponents at a time (~25kB worktodo) but even if it was an offline system I would seriously consider writing some script that would slice off 100-1000 assignments at a time from a separate bulk assignment file when worktodo.txt runs empty (and at the same time archive off results.txt since that also gets large quickly).

I'm curious what Neutron3529 is doing to get 2MB worktodo... is he my mystery TF'er who reserves a million exponents at a time and then takes 2 weeks to submit the results?
I use

to get a worktodo.txt file
So it is quite easy to get a 0KB worktodo.txt or a ~2.7M worktodo.txt
Neutron3529 is offline   Reply With Quote
Old 2019-01-03, 14:06   #3047
Neutron3529
 
Neutron3529's Avatar
 
Dec 2018
China

41 Posts
Default

Quote:
Originally Posted by GP2 View Post
Even if you use a RAM drive?
I use Imdisk to create a RAM drive.
The question is, when rewrite worktodo.txt, every byte in worktodo.txt must be changed, causing a lot of waste.
I think the reason why so slow is that I keep the priime95 running, which may slow down the rewrite the worktodo file
Neutron3529 is offline   Reply With Quote
Reply



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 22:15.


Fri Jul 16 22:15:55 UTC 2021 up 49 days, 20:03, 2 users, load averages: 2.19, 4.07, 3.36

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.