mersenneforum.org  

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

Reply
 
Thread Tools
Old 2017-09-01, 02:44   #188
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19×397 Posts
Default

Quote:
Originally Posted by fivemack View Post
Yes, the original tests (eg M4423) were conducted on IBM hardware with 36-bit words (why 36-bit? because they wanted to support ten-digit decimal arithmetic as well as hex, so you need a multiple of 4 greater than 33.2ish)
I have not been following this carefully. I don't think we need to over-abbreviate. I also don't like combining multiple concepts into one field.

So, IMO P3 s.b. PRP-3 or Gerbicz-PRP-3. Residue should not contain "-dd". Add a new field called residue-checksum. Split program and program version into two fields.

Also, I'd add more useful data: Like round-off errors detected, Gerbicz errors, etc.
Prime95 is offline   Reply With Quote
Old 2017-09-01, 03:20   #189
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3·457 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I have not been following this carefully. I don't think we need to over-abbreviate. I also don't like combining multiple concepts into one field.

So, IMO P3 s.b. PRP-3 or Gerbicz-PRP-3. Residue should not contain "-dd". Add a new field called residue-checksum. Split program and program version into two fields.

Also, I'd add more useful data: Like round-off errors detected, Gerbicz errors, etc.
OK, we're advancing. How does this sound:

{ "exponent":25000000, "worktype":"PPR-3", "status":"C", "res64":"fffffffffffffffd", "residue-checksum":"c9caf7dd", "program":"gpuowl", "program-version":"1.0", "time":"Fri Sep 1 03:18:19 2017", "user":"meme", "cpu":"vega", "aid":"FF00AA00FF00AA00FF00AA00FF00AA00" }
preda is offline   Reply With Quote
Old 2017-09-01, 03:27   #190
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Also, I'd add more useful data: Like round-off errors detected, Gerbicz errors, etc.
My implem does not have "round-off errors" anymore.

Why do you think that the number of "rollbacks" is important? should that info be optional? (or maybe a bool, "any errors").
preda is offline   Reply With Quote
Old 2017-09-01, 03:35   #191
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

2×11×283 Posts
Default

Quote:
Originally Posted by preda View Post
... "time":"Fri Sep 1 03:18:19 2017" ...
I'm not really involved in this, so sorry for butting in, but that time format is horrible. At least make it consistent with regard to the significance of the values, start with the year and work you way down to the seconds. Also don't use text, different languages use different names for the month and day, use numbers. And the day of the week is not necessary. Maybe like this: "2017-09-01 03:18:19". And the time should be UTC based, for consistency, so no need to include the timezone identifier. [/date rant]

Last fiddled with by retina on 2017-09-01 at 03:36
retina is offline   Reply With Quote
Old 2017-09-01, 03:39   #192
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11101011101112 Posts
Default

Quote:
Originally Posted by preda View Post
My implem does not have "round-off errors" anymore.

Why do you think that the number of "rollbacks" is important? should that info be optional? (or maybe a bool, "any errors").

Round-off-errors should be optional. I can imagine other optional data such failed Jacobi tests for LL. Shift count. If an optional field is left out either the program does not implement the feature or the value is zero.

Number of Gerbicz rollbacks indicate hardware reliability. If the same GPU ran LL tests or TF or P-1 it might prove useful to madpoo and his data-mining project.


P.S. Even the residue field is optional - in case of a PRP/Prime result.
Prime95 is offline   Reply With Quote
Old 2017-09-01, 04:26   #193
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default

Quote:
Originally Posted by retina View Post
I'm not really involved in this, so sorry for butting in, but that time format is horrible. At least make it consistent with regard to the significance of the values, start with the year and work you way down to the seconds. Also don't use text, different languages use different names for the month and day, use numbers. And the day of the week is not necessary. Maybe like this: "2017-09-01 03:18:19". And the time should be UTC based, for consistency, so no need to include the timezone identifier. [/date rant]
Yes I agree. That's the output format of asctime()/ctime(), and that's what's in use right now.
What you propose is much more regular.

I do think it should be in UTC, yes.
preda is offline   Reply With Quote
Old 2017-09-01, 06:37   #194
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

101010110112 Posts
Default

ISO 8601: https://xkcd.com/1179/
preda is offline   Reply With Quote
Old 2017-09-01, 06:58   #195
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3×457 Posts
Default

{"exponent":25000000, "worktype":"PPR-3", "status":"C", "res64":"fffffffffffffffd", "residue-checksum":"c9caf7dd", "program":"gpuowl", "program-version":"1.0", "time":"2017-09-01 06:56:08", "errors":{"rollback":1}, "user":"meme", "cpu":"vega", "aid":"FF00AA00FF00AA00FF00AA00FF00AA00"}

changed date format, added errors as a json sub-object to allow various kinds of errors.
The result line is now over 256chars.

Last fiddled with by preda on 2017-09-01 at 06:58
preda is offline   Reply With Quote
Old 2017-09-01, 07:08   #196
preda
 
preda's Avatar
 
"Mihai Preda"
Apr 2015

3·457 Posts
Default

"program" could be a sub-object too, like:
"program":{"name":"gpuowl", "version":"1.0"}
preda is offline   Reply With Quote
Old 2017-09-02, 02:37   #197
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

CF116 Posts
Default

Thoughts after skimming through posts (been a busy week so I haven't been keeping up)...

For a time format, these are user generated timestamps so we should agree that it'll either send them as UTC all the time, or send using the timezone offset format. Bulkier, but imagine a situation where two people report the same "is prime!" (or "is probably prime!") very close to each other.

The server will know what time it was reported, but it could be helpful to also see the independently reported timestamp that the *client* finished it's run. Or maybe it wouldn't be helpful and nobody would care... right now the server doesn't save the timestamp in manual results, and auto results don't send it at all, but I think it'd be a "nice to have" option. Ultimately, if the server doesn't store the client's own timestamp then it might as well not send it at all.

As far as the server side goes, this is probably more for George & James but I think something pretty similar to the LL results table, but PRP results, would work fine.

The manual results parser should have no problem seeing the text coming in and parsing JSON (PHP does have a JSON deserializer, doesn't it? I was thinking it did but I haven't checked), and it'll know where to store the result based on whether it's PRP or LL. Well, for now any JSON would be from gpuOwl but hopefully such a well-structured input would catch on.

Creating a new table, I could do that... James has been the go-to guy for updating the results parser, I think.

Once the server is recording that data, then there's also some front-end work where it would show the PRP results... both on the exponent report along with the other data, and also a specific PRP report page, like the LL report page, I guess.
Madpoo is offline   Reply With Quote
Old 2017-09-02, 03:16   #198
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

19×397 Posts
Default

Quote:
Originally Posted by Madpoo View Post
As far as the server side goes, this is probably more for George & James but I think something pretty similar to the LL results table, but PRP results, would work fine.
Alternatively adding a new column to the LL_results table would work. The column would be something like "primality_test_used" and would be NULL for LL tests, PRP-3 for base-3 PRP tests.

This way the "exponent status" page and "LL results" web pages would work (although they would show the residue as coming from an LL test).
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stockfish / Lutefisk game, move 14 poll. Hungry for fish and black pieces. MooMoo2 Other Chess Games 0 2016-11-26 06:52
Redoing factoring work done by unreliable machines tha Lone Mersenne Hunters 23 2016-11-02 08:51
Unreliable AMD Phenom 9850 xilman Hardware 4 2014-08-02 18:08
[new fish check in] heloo mwxdbcr Lounge 0 2009-01-14 04:55
The Happy Fish thread xilman Hobbies 24 2006-08-22 11:44

All times are UTC. The time now is 13:05.


Fri Aug 6 13:05:44 UTC 2021 up 14 days, 7:34, 1 user, load averages: 3.73, 3.47, 3.01

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.