mersenneforum.org  

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

Reply
Thread Tools
Old 2019-12-05, 22:22   #650
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

10010001002 Posts
Default

Introducing tf1G.py v0.09:

In running the script, I noticed that the script counted all the lines in the results file when it ran the count_exponents_tested function. This is confirmed when I ran v0.08 on a Colab session: I got 703 tested, which is really 695 exponents plus 8 extra lines where mfaktc has printed: found 1 factor for Mxxxxxxxxxx. This has now been rectified: the function will only add lines which has the strings "no factor" or "found".
The script is attached below:
Attached Files
File Type: txt tf1G.py.txt (7.3 KB, 70 views)
Dylan14 is offline   Reply With Quote
Old 2019-12-05, 22:43   #651
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

153D16 Posts
Default

Quote:
Originally Posted by Dylan14 View Post
Introducing tf1G.py v0.09:

In running the script, I noticed that the script counted all the lines in the results file when it ran the count_exponents_tested function. This is confirmed when I ran v0.08 on a Colab session: I got 703 tested, which is really 695 exponents plus 8 extra lines where mfaktc has printed: found 1 factor for Mxxxxxxxxxx. This has now been rectified: the function will only add lines which has the strings "no factor" or "found".
The script is attached below:
This should also allow for users modifying the mfaktx.ini file so that additional lines providing a date and time stamp are excluded from the exponent count. Or manual edits.
kriesel is offline   Reply With Quote
Old 2019-12-05, 23:04   #652
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

22×5×29 Posts
Default

Quote:
Originally Posted by kriesel View Post
This should also allow for users modifying the mfaktx.ini file so that additional lines providing a date and time stamp are excluded from the exponent count. Or manual edits.
As for the time stamp: the script only counts lines that have those strings that I mentioned. Since the time stamp looks something like this:

Code:
[Thu Dec  5 17:56:55 2019]
the script ignores it since those strings do not appear.
As for manual edits: would you mind providing some examples as to what you mean by this?
Dylan14 is offline   Reply With Quote
Old 2019-12-05, 23:08   #653
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

5,437 Posts
Default

Quote:
Originally Posted by Dylan14 View Post
As for the time stamp: the script only counts lines that have those strings that I mentioned. Since the time stamp looks something like this:

Code:
[Thu Dec  5 17:56:55 2019]
the script ignores it since those strings do not appear.
That's what I said. You did the right thing, matching to count a line (not matching to exclude a line, which leads to needing to identify all cases of lines to exclude).
Quote:
As for manual edits: would you mind providing some examples as to what you mean by this?
Someone manually edits the results file and puts in a text comment or just an extra line break. These are very common here. Also somewhat already handled by your approach, and also not an issue here since I'm using other means to submit results. You could have trouble if someone adds a comment that happens to fit your "no factor" or "found" string matches. "#retest for whether no factor found" would be an unfortunate choice of comment.

Last fiddled with by kriesel on 2019-12-05 at 23:14
kriesel is offline   Reply With Quote
Old 2019-12-06, 00:19   #654
Dylan14
 
Dylan14's Avatar
 
"Dylan"
Mar 2017

22·5·29 Posts
Default

Introducing tf1G.py v0.10:

Now the count_exponents_tested function will look at each line and see if the line starts with # or ; (# denotes a comment line in most things, ; is used in mprime/Prime95). If it does, the program will move on to the next line (thanks kriesel for the feedback!).
Attached Files
File Type: txt tf1G.py.txt (7.6 KB, 70 views)
Dylan14 is offline   Reply With Quote
Old 2019-12-06, 01:10   #655
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3×5×59 Posts
Default

Quote:
Originally Posted by kracker View Post
Just got a one question survey while running colab saying "Would you be interested in a paid, premium version of colab?""
I haven't seen that survey but my answer would be YES if I could have a premium GPU 24 hours per day.
Chuck is offline   Reply With Quote
Old 2019-12-06, 01:37   #656
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

263616 Posts
Default

Quote:
Originally Posted by Chuck View Post
I haven't seen that survey but my answer would be YES if I could have a premium GPU 24 hours per day.
+1! I'd have to compare it to the costs of GCE, EC2 etc, but I would be very interested in knowing the terms of the offer.
chalsall is offline   Reply With Quote
Old 2019-12-06, 02:06   #657
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

100101101111112 Posts
Default

T4 and P4 seem to be two different fish. They may be two different chips, or one chip with different chops. Like two copies of the same hand which once had the index finger amputated, and once had the middle finger amputated, it seems that T4 is about 4 times as fast as a K80 for TF, and only quarter speed at LL, while P4 is about 1.5 times TF and 1/2 times LL compared with k80. The P100 seems to be another fish too, being about 2.5xTF and 2xLL. YMMV...
LaurV is offline   Reply With Quote
Old 2019-12-06, 02:33   #658
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23·271 Posts
Default

Quote:
Originally Posted by LaurV View Post
T4 and P4 seem to be two different fish. They may be two different chips, or one chip with different chops. Like two copies of the same hand which once had the index finger amputated, and once had the middle finger amputated, it seems that T4 is about 4 times as fast as a K80 for TF, and only quarter speed at LL, while P4 is about 1.5 times TF and 1/2 times LL compared with k80. The P100 seems to be another fish too, being about 2.5xTF and 2xLL. YMMV...
Some specs on all the GPU's we've gotten... no idea if it's 100% accurate.

NVIDIA Tesla K80
NVIDIA Tesla P4
NVIDIA Tesla T4
NVIDIA Tesla P100
kracker is offline   Reply With Quote
Old 2019-12-06, 02:35   #659
axn
 
axn's Avatar
 
Jun 2003

117358 Posts
Default

https://en.wikipedia.org/wiki/List_o...ng_units#Tesla

P4 is Pascal (10xx), T4 is Turing (RTX 20xx, GTX 16xx). Neither is good at DP. T4 >> P4 at TF.
axn is offline   Reply With Quote
Old 2019-12-06, 04:18   #660
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

I notice we've gotten to try every one of Google Cloud's GPU's, except the V100...
kracker is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternatives to Google Colab kriesel Cloud Computing 11 2020-01-14 18:45
Notebook enzocreti enzocreti 0 2019-02-15 08:20
Computer Diet causes Machine Check Exception -- need heuristics help Christenson Hardware 32 2011-12-25 08:17
Computer diet - Need help garo Hardware 41 2011-10-06 04:06
Workunit diet ? dsouza123 NFSNET Discussion 5 2004-02-27 00:42

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


Fri Aug 6 05:45:46 UTC 2021 up 14 days, 14 mins, 1 user, load averages: 3.20, 3.02, 2.90

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.