mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2019-05-22, 09:12   #254
axn
 
axn's Avatar
 
Jun 2003

2×3×7×112 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Thoughts on whether prime95 should rethink this old decision?
Yes, definitely need to rethink it. However, rather than update P95 / Primenet to do this, leverage existing platform that already does this -- BOINC!
axn is online now   Reply With Quote
Old 2019-05-22, 11:06   #255
Thecmaster
 
"Arvid Björklin"
Apr 2016
Pitea, Sweden

2×5×7 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I think update notifications can be as simple as printing a message in the communication window the next time Prime95 connects to the server. Something like this will do:



A pop-up window is fine but should probably be disabled by default. Users would be able to enable it by editing their local.txt file.
This is a good idea. But I would rather have it as an option in gui for prime95. Maybe where you put in you username and proxy. A box you can klick in and you will get the popup info about new version and link to it. And only put stable and tested builds there.

Maybe also if you click ok you don't get it again until next build. Maybe you can make a check for really bad versions to make a recommended to upgrade because your version is bad popup. Just ideas.
Thecmaster is offline   Reply With Quote
Old 2019-05-22, 11:21   #256
pokemonlover123
 
pokemonlover123's Avatar
 
Mar 2016

5510 Posts
Default For Debian Variants

For mprime, the Prime95 variant for Linux, you could create a deb file so users running a Debian variant such as Ubuntu could install it/uninstall it at will, as well as a PPA to install from. The advantages of a PPA would be that running apt update would see any upgrades to mprime. In addition, having it installed would make it easier to run mprime (for example, you wouldn't need to go to the folder mprime is in to run it). The only downside is in order to run multiple instances of mprime, some new option would be needed that set the current instance to run or some other way of doing it. Not sure if this has been suggested or what other detriments or obstacles to such a solution would be.
pokemonlover123 is offline   Reply With Quote
Old 2019-05-22, 14:37   #257
UBR47K
 
UBR47K's Avatar
 
Aug 2015

22×17 Posts
Default Linux distribution agnostic package

mprime's available now on https://flathub.org/apps/details/org.mersenne.mprime (with optional steps at https://github.com/flathub/org.mersenne.mprime) .


Can be kept up to date just like you'd do with any package manager.

Last fiddled with by UBR47K on 2019-05-22 at 14:38
UBR47K is offline   Reply With Quote
Old 2019-05-22, 20:20   #258
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Fifteen plus years ago, the community felt this was a bad idea. It was 1) viewed as a potential security risk and 2) viewed as a nuisance popping-up an "update now?" dialog box (especially if you've installed prime95 on a friends machine).

Nowadays, this behavior is commonplace. I suspect most people set to auto-update without notification or simply click yes to the numerous you-have-an-update-ready messages they get each week.

Thoughts on whether prime95 should rethink this old decision?
I think something as simple as changing the color of the title bar and a message saying something like "an update is available" is as non-obtrusive as possible and leaves it up to the user what to do. No pop ups, no flashing things, etc. Just a little visual reminder.

On the server side all we'd really need to do is place a little txt file in the root, something like www.mersenne.org/latetversion.txt that holds the value like "29.8b4".

Although at this point you really should consider using major.minor.build.revision versioning or whatever. Version 29.8b3 would be 29.8.3 -- it just makes comparing one version to another easier, with easy like "if 29.8.3 <= 29.8.4 then ..."

It gets weird doing that with text values. Is "29.8b3" <= "29.8b10" ? Of course you'd want to make sure you're using actual version comparisons because even then, if you're comparing versions as text you'll get funny results, like "29.10" would be considered less than "29.9" even though it's greater than.
Madpoo is offline   Reply With Quote
Old 2019-05-22, 20:52   #259
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

2·32·7·43 Posts
Default

Quote:
Originally Posted by Madpoo View Post
I think something as simple as changing the color of the title bar and a message saying something like "an update is available" is as non-obtrusive as possible and leaves it up to the user what to do. No pop ups, no flashing things, etc. Just a little visual reminder.

On the server side all we'd really need to do is place a little txt file in the root, something like www.mersenne.org/latetversion.txt that holds the value like "29.8b4".

Although at this point you really should consider using major.minor.build.revision versioning or whatever. Version 29.8b3 would be 29.8.3 -- it just makes comparing one version to another easier, with easy like "if 29.8.3 <= 29.8.4 then ..."

It gets weird doing that with text values. Is "29.8b3" <= "29.8b10" ? Of course you'd want to make sure you're using actual version comparisons because even then, if you're comparing versions as text you'll get funny results, like "29.10" would be considered less than "29.9" even though it's greater than.
Perhaps make it moot by making versioning a decimal real:
29.048 (instead of 29.4b8)
29.083 (instead of 29.8b3)
29.084
29.092
29.101
Are there ever more than 9 separately numbered builds of x.y?
I just checked, and did not find a 29.8b4 to download.
https://www.mersenneforum.org/showpo...41&postcount=1 is all 29.8b3
although https://www.mersenneforum.org/showpo...42&postcount=2 makes at least 4 references to 29.8b4

Last fiddled with by kriesel on 2019-05-22 at 20:56
kriesel is online now   Reply With Quote
Old 2019-05-22, 20:57   #260
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

11·311 Posts
Default

No, just leave the version number as-is (29.10b17) and let the single function inside Prime95.exe worry about appropriate version-compare functionality.
Speaking of which, consideration may be needed to "most-current" version number for different OSs that are not always in sync.
James Heinrich is offline   Reply With Quote
Old 2019-05-23, 04:58   #261
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

331310 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
No, just leave the version number as-is (29.10b17) and let the single function inside Prime95.exe worry about appropriate version-compare functionality.
Speaking of which, consideration may be needed to "most-current" version number for different OSs that are not always in sync.
My frustration with version numbers comes from my recent work dealing with Dell firmware revisions. Older systems have versions like A13, A27, etc. At least doing a simple <= is easy.

New systems use major.minor.build like 1.3.12 which is fine, but when working with different models that use one or the other, I can't use the same code because then 1.3.12 would compute as less than 1.3.8 which is wrong.

To work around it in powershell I can do a [system.version] thing which will do proper comparisons of each part of the version string. It's actually pretty nice.

The thing with major.minor.build.revision is that it's very common. I don't know if I'd go so far as to say it's a standard (although it may be close, or a de-facto standard) because there are clearly plenty of counter examples.

What is *uncommon* is the way Prime95 builds are numbered, with a curious mix of major.minor and then the "b" followed by build. Maybe it was more common a decade or two ago.

It only bugs me (and let's be clear, it's not like it's a major annoyance, just one of those nits to pick) when doing string comparisons to see if a version is greater or less than some reference. String comparisons do funny things. Or rather, they work exactly as they should, but not how humans think they should work.
Madpoo is offline   Reply With Quote
Old 2019-05-23, 05:03   #262
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

35×7 Posts
Default

Quote:
Originally Posted by kriesel View Post
Perhaps make it moot by making versioning a decimal real:
29.048 (instead of 29.4b8)
29.083 (instead of 29.8b3)
29.084
29.092
29.101
Are there ever more than 9 separately numbered builds of x.y?
This would be a good idea, it could be something like 29.09.04.
At the moment the "File version" of prime95.exe version 29.8 build 3 is 29.8.1.0 and the "Program Version" is 29.8.0.0. This discrepancy (the file properties not being updated) occurred in the past as well.
Quote:
Originally Posted by kriesel View Post
I just checked, and did not find a 29.8b4 to download.
https://www.mersenneforum.org/showpo...41&postcount=1 is all 29.8b3
although https://www.mersenneforum.org/showpo...42&postcount=2 makes at least 4 references to 29.8b4
29.8b4 is for Mac OSX only and it is available at ftp://mersenne.org/gimps. As James remarked, sometimes a particular flavour of Prime95 needs an intermediary build.

Jacob
S485122 is offline   Reply With Quote
Old 2019-05-23, 13:02   #263
UBR47K
 
UBR47K's Avatar
 
Aug 2015

4416 Posts
Default

Quote:
Originally Posted by kriesel View Post
Perhaps make it moot by making versioning a decimal real:
29.048 (instead of 29.4b8)
29.083 (instead of 29.8b3)
29.084
29.092
29.101
Are there ever more than 9 separately numbered builds of x.y?

https://semver.org seems a good alternative.
UBR47K is offline   Reply With Quote
Old 2019-05-23, 16:08   #264
AG5BPilot
 
AG5BPilot's Avatar
 
Dec 2011
New York, U.S.A.

97 Posts
Default

I guess Intel has pulled a page out of AMD's playbook.

Some of their mid/low range Xeon CPU's have only one AVX-512 execution unit instead of two. When LLR runs AVX-512 on these CPUs, it's significantly slower than the FMA3 transform. Although we haven't tried it, presumably P95 exhibits the same behavior.

The bottom line is that right now, if you run on some AVX-512 CPUs, you get a significant increase in performance, while on others, you get a significant decrease in performance.

I'm not sure if the software can be adapted to get better performance on single-unit AVX-512 CPUs, or if using FMA3 is the better option.

Details can be found over in the LLR thread: https://www.mersenneforum.org/showpo...08&postcount=7

(Before someone inevitably suggests it, LLR lacks the CpuSupportsAVX512F flag, so it can't be disabled.)
AG5BPilot is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 29.2 Prime95 Software 71 2017-09-16 16:55
Prime95 version 29.1 Prime95 Software 95 2017-08-22 22:46
Prime95 version 26.5 Prime95 Software 175 2011-04-04 22:35
Prime95 version 25.9 Prime95 Software 143 2010-01-05 22:53
Prime95 version 25.8 Prime95 Software 159 2009-09-21 16:30

All times are UTC. The time now is 17:17.


Sun Aug 1 17:17:06 UTC 2021 up 9 days, 11:46, 0 users, load averages: 1.26, 1.20, 1.19

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.