mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-06-13, 16:34   #969
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

179510 Posts
Default

Quote:
Originally Posted by Batalov View Post
I've already tried launching "sleep 30; mfaktc" in a Cygwin shell and then disconnect. Some time later you connect and see the same result.
My guess is that the other driver is not initiated (lazily, which is I guess usually a good thing), until I would go and login there physically.
__________

Xyzzy's fish 1 says: "Rirelbar nyjnlf oynzrf zr, jgs?!"
Not quite what I had in mind.....

when physically at the computer, launch a loop that says
sleep 30; if (xyzzy in process table && mfaktc not in process table) mfaktc

then, when away from the computer, launch xyzzy, which contains just a
"sleep 30" while TRUE (or while mfaktc not in process table)
command.

that way, the mfaktc is local and launched locally, and the presence of xyzzy in the process table divorces the remoteness from the mfaktc process.
Christenson is offline   Reply With Quote
Old 2011-06-13, 21:53   #970
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11101011100012 Posts
Default

Quote:
Originally Posted by Xyzzy View Post
1:115 here.
That is concerning. What hit rates are others getting for single bit levels of TF?
Prime95 is offline   Reply With Quote
Old 2011-06-13, 22:52   #971
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5×359 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That is concerning. What hit rates are others getting for single bit levels of TF?
There's a confounding factor here....I've had P-1 find at least one factor in the middle of my TF range (not on the same exponent), so P-1 could be removing some candidates where xyzzy would otherwise find a factor. 1/70 is what would be expected without any pre-selection.
Christenson is offline   Reply With Quote
Old 2011-06-13, 23:43   #972
nucleon
 
nucleon's Avatar
 
Mar 2003
Melbourne

5·103 Posts
Default

Quote:
Originally Posted by Christenson View Post
Not quite what I had in mind.....

when physically at the computer, launch a loop that says
sleep 30; if (xyzzy in process table && mfaktc not in process table) mfaktc

then, when away from the computer, launch xyzzy, which contains just a
"sleep 30" while TRUE (or while mfaktc not in process table)
command.

that way, the mfaktc is local and launched locally, and the presence of xyzzy in the process table divorces the remoteness from the mfaktc process.
Christenson,

The method you propose fails too. (Sorry - I've tried it also)

The console remembers the last method of logging in. So if you logged remotely with mstsc, and said a sleep-then-run-when-logged-out, it's as though you are still logged in via mstsc and fails.

There's a lot of forum posts on the topic the only work around (for a win box) that's quoted is vnc-ing in. The other alternative is hacking tesla drivers. Which is a bit beyond my abilities (and besides vnc is a lot easier). :)

-- Craig
nucleon is offline   Reply With Quote
Old 2011-06-13, 23:50   #973
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5·359 Posts
Default

Quote:
Originally Posted by nucleon View Post
Christenson,

The method you propose fails too. (Sorry - I've tried it also)

The console remembers the last method of logging in. So if you logged remotely with mstsc, and said a sleep-then-run-when-logged-out, it's as though you are still logged in via mstsc and fails.

There's a lot of forum posts on the topic the only work around (for a win box) that's quoted is vnc-ing in. The other alternative is hacking tesla drivers. Which is a bit beyond my abilities (and besides vnc is a lot easier). :)

-- Craig
I've said it before, and I'll say it again: What a broken operating system!
What if we made mfaktc more like P95 and gave it a window and all, rather than ran it from the console? Or are we still back to hacking the drivers?

Last fiddled with by Christenson on 2011-06-13 at 23:59 Reason: Trying hard to break the %#&*@! box!
Christenson is offline   Reply With Quote
Old 2011-06-13, 23:55   #974
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5·359 Posts
Lightbulb

Quote:
Originally Posted by Christenson View Post
There's a confounding factor here....I've had P-1 find at least one factor in the middle of my TF range (not on the same exponent), so P-1 could be removing some candidates where xyzzy would otherwise find a factor. 1/70 is what would be expected without any pre-selection.
And there's another confounding/confuzzling factor: Xyzzy, are you counting successes of of your stats page, or from your "results.txt" file? They will be different, as my factors found and reported on manual results keep getting assigned by the server as P-1 results. I only know which are which by noting that all my TF is "manual testing" and looking through my results page, but that seems impractical for the volume you have!
Christenson is offline   Reply With Quote
Old 2011-06-14, 03:38   #975
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2·3·13·83 Posts
Default

Quote:
Originally Posted by Christenson View Post
My actual numbers (ignoring 10 or 15 NFs from the last 24 hours)
247 attempts, mostly in the 50-60M range, a few from the 80M range.
5 factors.

So my original numbers are a bit optimistic, and I can expect to hit a dry spell here as my statistical experience increases.

As for unfinished LLs, the issue is probably that positive feedback from the stats page takes at least a week, maybe two or three months, which is a *very* long time in the "instant" internet age. Almost anything else (LL-D, P-1, TF, ECM) is quicker. So is contributing to NSF@home, or, perhaps more practically, folding@home.

The dedicated don't mind, but the casual don't have that much patience. I'm working on that patience part even for mfaktc, albeit slowly.
That's more like it. Expect 247/70 factors and find 5.
(Don't hold the front page!)

I hope that "dry spell" shit was taking the piss

I know you view GIMPS as "proving candidates composite
as fast as possible", but after a certain bit level (and P-1), the most
effective way of doing this is an LL test... and then who knows?!

David

Last fiddled with by davieddy on 2011-06-14 at 04:16
davieddy is offline   Reply With Quote
Old 2011-06-14, 03:53   #976
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2×3×13×83 Posts
Default

Quote:
Originally Posted by Christenson View Post
There's a confounding factor here....I've had P-1 find at least one factor in the middle of my TF range (not on the same exponent), so P-1 could be removing some candidates where xyzzy would otherwise find a factor. 1/70 is what would be expected without any pre-selection.
That's what I was talking about when I asked
"to what extent do TF and P-1 tread on each other's toes?"

David
davieddy is offline   Reply With Quote
Old 2011-06-14, 04:50   #977
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2×3×13×83 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That is concerning. What hit rates are others getting for single bit levels of TF?
As Michael Winner (director of Death Wish 1 to n and celebrity gourmet/advertizer/self-puplicist) would say:
"Calm down dear".

Stats to follow.

David

Last fiddled with by davieddy on 2011-06-14 at 05:02
davieddy is offline   Reply With Quote
Old 2011-06-14, 04:51   #978
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5×359 Posts
Default

Quote:
Originally Posted by davieddy View Post
<snip>
(Don't hold the front page!) [Correct. The headline already on it is fine -- GPUs smashing through TF assignments; some manual effort still needed]

I know you view GIMPS as "proving candidates composite
as fast as possible", but after a certain bit level (and P-1), the most
effective way of doing this is an LL test... and then who knows?!

David
Even in my extremely narrow view of GIMPS, a point arrives where one *has* to do lots of LL tests...each additional bit level of TF costs twice as much time, so my one hour TF to 70 bits in the 50-60M range becomes 32 hours to 75 bits becomes about a year to 83 bits...and the LL on the range only takes a month or two, then another month or two for the eventual LL-D. I do actually run some LL and LL-D and P-1, all CPU based. The P-1 has been a little bit more effective (GHz days/candidate found composite) than the first-time LL tests.

But, anything we can do to reduce the pfaffing around needed to run mfaktc increases the available TF testing. Then we can think about P-1, and seeing if its worth doing multiple LLs in parallel on GPUs.

I read a bunch of P95 tonight, looking for how P95 does multitasking and taking notes.

The first step of untangling P-1 and TF I began tonight by asking GW how to format mfaktc output when it finds factors so the server always decides its a TF result on the manual results page.

The second step is beyond me; we will need to adjust the P-1 so it doesn't search for candidates in the TF space, or determine that it is not cost-effective to do so. I'm OK if P-1 occasionally finds something in TF space, like 69-70 bits, but, at the moment, it would have been cheaper to finish TF (an hour) rather than spend 4GHz days of CPU on it. My experience is 1 in 10, but the variance on such a small sample is notoriously high.
Christenson is offline   Reply With Quote
Old 2011-06-14, 05:38   #979
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2×3×13×83 Posts
Default

I'll let you off this time for not [/quote]Your Comment[quote]ing
in the middle of my original.

The idea behind GIMPS is to find Mersenne primes.
(Checkout the acronym).

David

PS "Credit" for work done is not any part of my incentive.
Obviously $$$$ isn't either for any of us.
I would hope that some of my posts here have been constructive/entertaining though.

PPS I think factors found by P-1 are typically a few bits bigger than "how far TFed". Bugs excepted, they couldn't be lower of course.

Last fiddled with by davieddy on 2011-06-14 at 06:02
davieddy 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 13:28.


Mon Aug 2 13:28:03 UTC 2021 up 10 days, 7:57, 0 users, load averages: 1.99, 1.98, 1.99

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.