Log in

View Full Version : NEW CLIENT for SB



jjjjL
03-18-2009, 01:57 PM
I'm here to help.

Cheers,
Louie

Bananaman42
03-19-2009, 12:47 AM
First, a correction: On the download page in Step 2, "build" is misspelled.

Next, a question: should it say somewhere to put the prime.txt file that's downloaded separately in the same directory as the rest of the prime95 files?

Finally, a comment: the prime.txt file would be considerably easier to read if each setting were on its own line. As it stands, Notepad on my Vista machine displays them all on about three lines, not separated by spaces.

enderak
03-19-2009, 01:49 AM
The prime.txt thing is because it's using Unix newlines isntead of DOS - if you open it up in Wordpad or a more advanced text editor than Notepad, it will show up fine.

jjjjL
03-19-2009, 02:11 AM
First, a correction: On the download page in Step 2, "build" is misspelled.


OK, fixed. Thank you very much!



Next, a question: should it say somewhere to put the prime.txt file that's downloaded separately in the same directory as the rest of the prime95 files?


That's a good idea. I want it to be clear for everyone. Download page updated!



Finally, a comment: the prime.txt file would be considerably easier to read if each setting were on its own line. As it stands, Notepad on my Vista machine displays them all on about three lines, not separated by spaces.

I had trouble figuring this out at first because the default prime.txt file included in both Windows clients DOES use WINDOWS style line breaks, so anyone editing that file on windows (even with Notepad) will not run into the issue you describe.

But I figured out that the reason you saw this issue is because you downloaded the personalized version of prime.txt which already contains your username from the site (i.e. http://www.seventeenorbust.com/account/getPrime.txt.php?u=louie). You don't need to edit this version because it's already setup to work with you username, so very few people will be editing this version... especially with Notepad. Even so, I'd fix it if I could but the only way to fix this from my side would be to change the linebreak style which would cause even more editing problems for non-Windows users. So I'm leaving it as regular linebreaks for now. As enderak points out, Wordpad and every other known editor handles this correctly. I'm actually amazed that Microsoft has the temerity to not fix Notepad after so many years.


Cheers,
Louie

enderak
03-19-2009, 12:21 PM
It looks like once you run Prime95 it reformats prime.txt with DOS newlines, so it shows up fine in Notepad after that.

Deciheximal
03-19-2009, 03:48 PM
How do I set the new client to use just one or two of my cores, please? As soon as I started the client, multiple "workers" popped up and assumed I wanted to use every core I had.

Edit: Found it. It's under Test->Worker Windows.

enderak
03-19-2009, 03:54 PM
(Assuming Windows client here...)

Test > Worker Windows up in the menus

Number of worker windows * Multithreading = Total number of cores that will be used

Deciheximal
03-19-2009, 07:08 PM
I encountered a bug where the username kept being changed back to "louie" in the text file. I'm having difficulty reproducing it now, but what happened was I changed my name in the prime.txt file to deciheximal, saved the file, loaded the new client, looked at test->preferences and saw the "optional user ID" listed as "louie", which I changed to deciheximal as well. Then I closed the client, looked back at prime.txt, where V5UserID had been changed back to louie. Changed it back to deciheximal, saved, loaded the client and saw that in text->preferences, the file name had been changed back to louie. Went through variations on this about 8 times before I somehow got it to stick. Now both the user ID in that menu and my text file remain as my user name.

Note that before this, I wasn't getting credit for running the new client. (Yes, the line MersenneIP=www.seventeenorbust.com has remained in tact) I'll have to watch to see if that changes now.

jjjjL
03-20-2009, 12:06 AM
I encountered a bug where the username kept being changed back to "louie" in the text file.

I see how this could happen. I fixed it on the server.

This fix will also reclaim any tests you're currently working on when your name is switched from louie back to your correct username.

Cheers,
Louie

Rincewind
03-21-2009, 01:44 PM
Hi,
I just tried the new client.
The "installation" was very easy.
After starting the client I got an k-n-pair to test, but the client says



Optimal P-1 factoring of 55459*2^16039570+1 using up to 400 MB of memory.
Assuming no factors below 2^55 and 0 primality tests saved if a factor is found.
55459*2^16039570+1 does not need P-1 factoring.


After this the client starts with de PRP-test. Is this OK, or is there something wrong with my preferences? If everything is OK, why is the client aborting the P-1 / when will the client do the factoring?

enderak
03-21-2009, 03:57 PM
Nothing wrong at all, that is what it is supposed to do. The new client will not be doing any P-1 factoring until n>17.2M. (n's before 17.2M have already been factored or are in the process of being factored manually)

prime95
03-21-2009, 05:35 PM
Optimal P-1 factoring of 55459*2^16039570+1 using up to 400 MB of memory.
Assuming no factors below 2^55 and 0 primality tests saved if a factor is found.
55459*2^16039570+1 does not need P-1 factoring.


The client should not have output this harmless message. I'll fix this in a future release.

Rincewind
03-22-2009, 04:42 AM
OK.
Thanks for the fast answer.

Oliver
03-22-2009, 09:08 AM
Hi,

I am participating in SoB and in GIMPS and now I wanted to switch to the new client in the hope to have one common interface to handle them both. Since I own a Dual Core processor, I intend to run GIMPS on one core and SoB on the other one. After I had modified my (already existing) prime.txt by adding the lines accordingly, I really noticed my GIMPS continuing with the Lucas-Lehmer test on "worker 1" and starting a new SoB run on "worker 2", just as intended:


Prime.log:
Got assignment 000000000000000000000000000EDF95: PRP 21181*2^16028684+1
Sending expected completion date for 21181*2^16028684+1: Apr 02 2009
[snip]
=END=

Also the window for "worker 2" started with the iterations, showing the message

[Thu Mar 19 21:00:43 2009]
21181*2^16028684+1 does not need P-1 factoring.

(Thanks to Rincewind, I am not concerned about that message anymore)


And here is my problem:

After some hours (after the next connection to the server) I noticed that the client had stopped doing the SoB run but instead it had started to perform an additional GIMPS run. So SoB had been replaced by GIMPS...

In prime.log I found some "Error 43: Invalid assignment key".

Is there anything I missed? Did I misconfigure anything?

It would be really nice if you could help my out so that I can continue in supporting two great initiatives! If necessary I can poste quotes from some of my log files. I am using the Windows 64-bit version of the client on a Vista 64Bit Operating System.

Thanks,
Oliver

prime95
03-22-2009, 09:59 AM
I intend to run GIMPS on one core and SoB on the other one.

The only way to do this is to run two instances of prime95. This is because you want to talk to two different servers. Prime95 cannot be configured to have one worker talk to the GIMPS server and one worker talk to the SoB server.

So have two folders - one for GIMPS and one for SoB. Configure each to only run one worker thread - and set affinity so they run on different cores.

Oliver
03-22-2009, 10:25 AM
The only way to do this is to run two instances of prime95. This is because you want to talk to two different servers. Prime95 cannot be configured to have one worker talk to the GIMPS server and one worker talk to the SoB server.

So have two folders - one for GIMPS and one for SoB. Configure each to only run one worker thread - and set affinity so they run on different cores.


Thanks for the answer. I'll try it that way.

Best regards
Oliver

Theadalus
03-22-2009, 01:21 PM
How does this client act on intermediate transmit, does it transmit intermediate blocks or only complete test results?

I disabled "Transmit intermediate blocks" with the old client because each server connection costs cpu-time. :p
Can this be done with the new client, so it only connect with server after test completion?

engracio
03-22-2009, 05:57 PM
Louie,

It seems that the new client is unable to get secondpass wu. I tried to get wu using the new client with usernameQQQsecondpass but the client is only able to save it as usernameQQQsecondpas with 20 characters limit.

I assume that the client defaulted to anonymous since it was able to crunch and send updates but I was unable to see it on my pending web page.

I was able to get a new wu and able to see it on the pending page only after I deleted the orginal folder and started with my first pass username.

e

enderak
03-22-2009, 08:02 PM
Theadalus,

By default it contacts the server once per day, and the network communication is on a separate thread, so it does not delay computation like the old client did, so there is no worry about wasting cpu time.

If you want to, you can set "Days between sending new end dates" to 7 (the max), but it's really a non-issue.

Theadalus
03-22-2009, 08:20 PM
Theadalus,

By default it contacts the server once per day, and the network communication is on a separate thread, so it does not delay computation like the old client did, so there is no worry about wasting cpu time.

If you want to, you can set "Days between sending new end dates" to 7 (the max), but it's really a non-issue.
With the old client (v2.5) it could happen the server was connected about 1600+ times a day (for each block), that's a significant cpu-loss. :p

But once a day is indeed a non-issue.

Thanx for your respons! :thumbs:

jjjjL
03-23-2009, 12:33 AM
Louie,

It seems that the new client is unable to get secondpass wu. I tried to get wu using the new client with usernameQQQsecondpass but the client is only able to save it as usernameQQQsecondpas with 20 characters limit.

I assume that the client defaulted to anonymous since it was able to crunch and send updates but I was unable to see it on my pending web page.

I was able to get a new wu and able to see it on the pending page only after I deleted the orginal folder and started with my first pass username.

e

This old way to grab second-pass tests doesn't work with the new server and never will. That's the reason I "un-stuck" the forum thread about how to check them out using that method. I didn't want new users to see those instructions for the old client and get confused.

I'm actually amazed you got the server to accept that username at all. I'm going to have to study how you were able to do that so I can prevent it in the future. I'll enable a different way to get second-pass soon, but for right now, please use your regular username and do first-pass tests.... or in the case of the GIMPS client, first-pass tests where n > 16M. The second-pass limit is already in the 13M range and the first-pass is in 14M so there's no meaningful difference in speed to complete the tests, but first-pass are much more likely to contain primes at this point.


Cheers,
Louie

engracio
03-23-2009, 03:06 AM
This old way to grab second-pass tests doesn't work with the new server and never will. That's the reason I "un-stuck" the forum thread about how to check them out using that method. I didn't want new users to see those instructions for the old client and get confused.

I'm actually amazed you got the server to accept that username at all. I'm going to have to study how you were able to do that so I can prevent it in the future. I'll enable a different way to get second-pass soon, but for right now, please use your regular username and do first-pass tests.... or in the case of the GIMPS client, first-pass tests where n > 16M. The second-pass limit is already in the 13M range and the first-pass is in 14M so there's no meaningful difference in speed to complete the tests, but first-pass are much more likely to contain primes at this point.


Cheers,
Louie

Yes I was able to get the 16m wu but was unable to see any progress on pending page. I then changed the prime.ini to 1st pass username but still unable to see pending page progress. Deleted worktodo folder and still no progress update. Thinking the server locked me out, I deleted the whole folder and started all over again. Been crunching since.

Did not see the post about no second pass for the new client yet, just reporting on the new client.

e

jjjjL
03-23-2009, 03:27 AM
Yes I was able to get the 16m wu but was unable to see any progress on pending page. I then changed the prime.ini to 1st pass username but still unable to see pending page progress. Deleted worktodo folder and still no progress update. Thinking the server locked me out, I deleted the whole folder and started all over again. Been crunching since.

Did not see the post about no second pass for the new client yet, just reporting on the new client.

e


Yeah, thanks so much for the feedback. It's incredibly helpful to know what users are doing and how I should improve the server.

I'm glad you got it working well now too. Thanks again.

Cheers,
Louie

enderak
03-24-2009, 01:47 PM
If you are running an older version of Linux and having troubles, then maybe one of the older versions of mprime using the PrimeNet 4.0 protocol will work.

Do you know if PrimeNet 4.0 will work with the SoB server? Should I just try it and hope nothing breaks? I have some older Linux systems that don't have libcurl.so.3 or higher (among some other outdated libs), so they can't run the mprime 25.9, and compiling from source doesn't seem to work for the same reason.

Worst case, I just continue running the old SoB client on these machines, so it's not really a big deal.

prime95
03-24-2009, 01:58 PM
Users have reported that linking libcurl.so.3 to libcurl.so.4 will work.

enderak
03-24-2009, 02:21 PM
Thanks for the reply.

I did have to do that on one or two systems, but on the older ones I only have libcurl.so.2, and linking to the older version did not work.

bayanne
03-24-2009, 04:00 PM
I currently have SB set to the above, however as I am also running Prime95 on other boxen it is possible to change project using V5 server. Are any other projects chooseable on SB and is it the aim to at some stage run WMMS and be able to select any of the other projects listed ...

prime95
03-24-2009, 04:35 PM
I did have to do that on one or two systems, but on the older ones I only have libcurl.so.2, and linking to the older version did not work.

In undoc.txt, it describes the "UseCurl=0" option. You could try that.

enderak
03-24-2009, 05:43 PM
Ah, good to know. I tried it, but it looks like I still need glibc 2.3.4 or higher, and all I have on this box is 2.3.2.

When I get a chance, I'll look into upgrading. Thanks for the help.

jjjjL
03-26-2009, 02:20 AM
In undoc.txt, it describes the "UseCurl=0" option. You could try that.

This option doesn't work for SB as it defaults to using v5.mersenne.org with "UseCurl=0"

GP500
03-26-2009, 05:59 AM
Why isn't this client in a normal setup.

That would be easier for new and some old members

A missed change. :hair:


Ps: And how can you see the progress, It's not as clear as the old SOB client.
Not a %-done or even a CPU-time or even a Run-time.

Death
03-26-2009, 06:45 AM
Can we have some stats now?
How much users use new client?

prime95
03-26-2009, 10:37 AM
This option doesn't work for SB as it defaults to using v5.mersenne.org with "UseCurl=0"

I will fix this in the next release.

Matt
03-26-2009, 02:41 PM
Can I just reiterate how nice it is to have an actively developed project with an admin that is keen to improve the running of things and a client that is also being actively developed. Kudos to you gentlemen!

[DPC]Frentik
03-26-2009, 06:10 PM
:cheers: for the work on the new cliënt!

But I've some questions about running the client offline, that means on a local network without internet. I used to install 2.5.x on all PC's and on 1 I had SBQueue installed.

With the new client it is no problem to work offline but I am just wondering what the best way is to transfer finished tests from the offline PC's back to an internet connected PC, how to flush them manually and offcourse how to get new WU's to the offline PC. My plan at the moment is to just copy the complete SOBGIMPS folder when a test is done but i guess there must be an easier way to do this (e.g. by copying only the right files).

That brings me to my "feature request" would it be possible to make the client ask for a number of WU's instead of DaysWork? In this case it would be easier to get new WU's for the offline PC's.

enderak
03-27-2009, 07:00 PM
With the new client only communicating with the server once per day, having the stats for the last 24 hours is not really very informative any more. I wonder if replacing the 24-hour stat graph with something like the last 5 or 7 days would make more sense as more and more people switch to the new client.

jjjjL
03-27-2009, 11:32 PM
With the new client only communicating with the server once per day, having the stats for the last 24 hours is not really very informative any more. I wonder if replacing the 24-hour stat graph with something like the last 5 or 7 days would make more sense as more and more people switch to the new client.

Yeah, I'm trying to address the "Last Day" stuff by replacing it with "Yesterday" but it's somewhat difficult in a few spots.

I've changed the graph to 7 days and updated some of the "Last Day" stats.

Cheers,
Louie

Deciheximal
03-28-2009, 02:58 AM
Is it possible to just let users set the new client to contact the server more often? Like every hour?

jjjjL
03-28-2009, 03:07 AM
Is it possible to just let users set the new client to contact the server more often? Like every hour?

No, 1-7 days is the ranges allowed. I'm kind of OK with that though. Yes it's nice to have up to the second stats freshness, but the network traffic caused by the v2.5.0 client is pretty ridiculous. I think once per day is still plenty often. Once the stats are reworked a bit, it won't meaningfully effect actual production or even stats competition.

Cheers,
Louie

DukeBox
03-28-2009, 11:41 AM
No, 1-7 days is the ranges allowed. I'm kind of OK with that though. Yes it's nice to have up to the second stats freshness, but the network traffic caused by the v2.5.0 client is pretty ridiculous. I think once per day is still plenty often. Once the stats are reworked a bit, it won't meaningfully effect actual production or even stats competition.

It's not a way to encourage people to use the new client by offering less frequent updates. I scripted my clients so they are send a mprime -m, 10,<enter>,<enter>,Y,<enter>,5. I've scheduled that every hour.

enderak
03-28-2009, 04:56 PM
I think the increased production by NOT sending an update for every completed block is more than enough reason to update. I missed the up-to-the-second stats at first too, but after using the new client for a while now, I think I'm in agreement with Louie that once a day is fine. Besides, once a day updates doesn't seem to discourage people from contributing to GIMPs...

DukeBox
03-29-2009, 12:35 PM
Can't speak for the whole team, but think most of the DPC disagree.
If I can choose between a project with realtime/multiple updates.. or one with only once a day, it's an easy choice for me.

IronBits
03-29-2009, 01:13 PM
I'd like an option to contact the server every hour or two.

DOSGuy
03-29-2009, 07:55 PM
You can send a manual update any time you want. That's what I do when I want to up-to-the minute stats on my user page.

Advanced>Communication>Send new expected completion dates to server

IronBits
03-29-2009, 08:02 PM
Ya, I was doing that, but it would be nice if there was an option to do that automatically.

NicColt
03-30-2009, 10:36 PM
Couple of questions.

Is "DaysBetweenCheckins=" the setting that connects to the server and uploads the data ?
and is that setting only between 1 and 7 ?

Also is there a setting for the size of the prime.log file or will this thing grow forever ?

prime95
03-31-2009, 09:50 AM
Is "DaysBetweenCheckins=" the setting that connects to the server and uploads the data ?
and is that setting only between 1 and 7 ?

Also is there a setting for the size of the prime.log file or will this thing grow forever ?

Yes, and only 1 to 7 is valid. In the next release I'll allow values between 0.04 and 7 (though you'll only be able to set it to an integer using the GUI interface).

See MaxLogFileSize in undoc.txt. Default is 250K.

DukeBox
03-31-2009, 01:23 PM
So once every hour.. that's perfect :)

engracio
03-31-2009, 02:09 PM
Yes, and only 1 to 7 is valid. In the next release I'll allow values between 0.04 and 7 (though you'll only be able to set it to an integer using the GUI interface).

See MaxLogFileSize in undoc.txt. Default is 250K.

It would be sweet if the next release is sooner.:thumbs: Of course you would let us all know, correct??:blush:

Thanks prime95 for your support.:cheers:

[DPC]Frentik
04-02-2009, 05:03 PM
Question: I have completed 2 tests on an offline machine in the lab. I got a results.txt file with 2 lines like this

UID: ML/Kirk, k*2^n+1 is not prime. RES64: CB1165C1C63D7DAD. Wd1: D70B9C4F,00000000, AID: 000000000000000000000000000ECA84 (changed some numbers to prevent abuse)


When i copied these files to my online pc and started prime95 it just fetched 2 new wu's but it didnt report the finished one's

Can anyone explain how to report these?

CaseKid
04-02-2009, 11:38 PM
Frentik;135349']Question: I have completed 2 tests on an offline machine in the lab. I got a results.txt file with 2 lines like this

UID: ML/Kirk, k*2^n+1 is not prime. RES64: CB1165C1C63D7DAD. Wd1: D70B9C4F,00000000, AID: 000000000000000000000000000ECA84 (changed some numbers to prevent abuse)


When i copied these files to my online pc and started prime95 it just fetched 2 new wu's but it didnt report the finished one's

Can anyone explain how to report these?

Being able to complete work offline is relevant to my interests, if someone could point me at some docs for that I would be grateful.

enderak
04-03-2009, 12:44 PM
Did you copy the entire folder, or just certain files? I've never done it myself since all my machines have internet access, but it sounds like maybe you didn't copy the worktodo.txt file...?

I am pretty sure you can just copy the entire folder onto a USB stick and run prime95 from the stick on the internet-connected machine, go to Advanced>Manual Communication, and it will report just fine and get new work that you can then copy back to the offline computer.

prime95
04-03-2009, 01:54 PM
Try copying over the prime.spl (this assumes you did not uncheck the "Use Primenet...." checkbox in the Test/Primenet dialog box).

Also, be careful not to overwrite an existing prime.spl file!

[DPC]Frentik
04-03-2009, 03:39 PM
Try copying over the prime.spl (this assumes you did not uncheck the "Use Primenet...." checkbox in the Test/Primenet dialog box).

Also, be careful not to overwrite an existing prime.spl file!
Hmm I'm afraid when trying several options i did uncheck and check the "Use Primenet..." checkbox :(
So there is no way to report these tests now and the only option is to run them again?

[DPC]Frentik
04-06-2009, 05:59 PM
Today another machine finished 2 tests, I copied the whole sobgimps folder to an usb stick and start prime95 at home...it only updated computerinformation on the server but didnt report any results...

So I now have 4 finshed tests but i cant seem to report them :hair:

jjjjL
04-06-2009, 11:49 PM
Frentik;135428']Today another machine finished 2 tests, I copied the whole sobgimps folder to an usb stick and start prime95 at home...it only updated computerinformation on the server but didnt report any results...

So I now have 4 finshed tests but i cant seem to report them :hair:

The prime.log has a history of all the exact URLs it opens on the server to communicate results.

So you can recover the tests by:

1) Open your prime.log file
2) Locate the lines where it tried to contact the server with final results.
3) Copy the full URL(s)
4) Paste them into a web browser and open them
5) It should say "SUCCESS" in your browser if the key matches and it updates the record

Cheers,
Louie

enderak
04-08-2009, 02:21 PM
Frentik, I found this while browsing through the undocumented features readme. I am not sure if this will help with your problem or not, but it's worth a try.
If you want to run the program on several machines this is typically done by carrying the program and files around on portable media such as a floppy or USB memory stick. In this case, you need to defeat the program's automatic detection of hardware changes. To do this, in prime.txt set
FixedHardwareUID=1

[DPC]Frentik
04-09-2009, 01:18 PM
Thx guys for the replies, i will definitely start using the FixHardwareUid option next time..

@louie:
I did have a look in the log file but there are many connections with the server
are there specific lines/options i have to search for?

enderak
04-10-2009, 03:06 PM
Search for "Sending result to server" and then the line under that should have the URL.

[DPC]Frentik
04-14-2009, 04:12 PM
Hmm I dont have a line like that. First I have a line on march 24: "getting assignment from server" (duh), then a line on march 25: "updating computer information on the server" when i started the client on the offline pc. This command failed because its not online: "CURL library error: Could not resolve host: www.seventeenorbust.com; No data record of requested type"

Then another line on 6 april when i started the client again on my online pc, but it only updated the computerinformation again because i switched back. It never reported the completed tests....

jjjjL
04-15-2009, 12:43 AM
Frentik;135639']Hmm I dont have a line like that. First I have a line on march 24: "getting assignment from server" (duh), then a line on march 25: "updating computer information on the server" when i started the client on the offline pc. This command failed because its not online: "CURL library error: Could not resolve host: www.seventeenorbust.com; No data record of requested type"

Then another line on 6 april when i started the client again on my online pc, but it only updated the computerinformation again because i switched back. It never reported the completed tests....

I'm making an offline submission page in the next few days that will allow you to directly submit the results.txt file for simpler offline processing in the future.

I'll let you know in this thread when it is available. Thanks for the feedback Frentik!

Cheers,
Louie

[DPC]Frentik
04-15-2009, 04:08 PM
I'll let you know in this thread when it is available. Thanks for the feedback Frentik!
Cheers,
LouieGreat :clap: :clap: :D

Oh another thing I noticed: The offline PC also had two new tests in the worktodo.txt file but because it couldn't report the old ones it didn't start the new tests and wasted precious computing time ;)

I also tried to contact K. Brazier because I wanted to ask if he could update SBqueue so it can handle the new gimps requests, but i cant find an email adres at his sbqueue homepage. So if anybody does know his email or another way to contact him, feel free ;)

jjjjL
04-16-2009, 02:41 PM
The offline submission page is up:

http://www.seventeenorbust.com/offline/


I've tested it pretty heavily. It will give you proper credit for primes, composites, and even factors (in preparation for when some tests will be avoided via P-1).

So yeah, try it out and let me know how it works.

Just post the entire contents of your results.txt in the box.


Cheers,
Louie

opyrt
04-16-2009, 04:17 PM
It will give you proper credit for primes, composites, and even factors (in preparation for when some tests will be avoided via P-1).

Regarding factoring... Will factoring be done by all participating in the PRP effort (before the PRP test), or will it be possible to choose only factoring from within the client as it is in GIMPS?

The reason I'm wondering is because some computers are much better at one or the other. Like with a 64 bit computer with 24GB RAM I would prefer to only do factoring.

jjjjL
04-16-2009, 04:30 PM
Regarding factoring... Will factoring be done by all participating in the PRP effort (before the PRP test), or will it be possible to choose only factoring from within the client as it is in GIMPS?

The reason I'm wondering is because some computers are much better at one or the other. Like with a 64 bit computer with 24GB RAM I would prefer to only do factoring.

I understand the benefit of more ram for the second stage of P-1, but I'm not planning to offer a factor only option.

Unlike GIMPS where all factoring is eventually useful, we don't need to factor any further k/n pairs in a k-series once a prime is found, so dedicated factoring will always produce "wasted work" when a prime is finally found because several k/n tests we will never PRP will have had factoring attempted. Because the efficiency gain from more RAM is so small, it's a net loss to do dedicated factoring... due to too many tests inevitably being run.

For our project, delaying the P-1 tests as long as possible is the right choice.

Cheers,
Louie

opyrt
04-16-2009, 04:46 PM
OK, thanks for the answer. :-)

shauge
04-16-2009, 05:01 PM
GIMPS have an option called "GIMPS - What makes sense", if SoB had the same option, would it not be possible to optimize when factorisation is done?

KriZp
04-16-2009, 06:20 PM
GIMPS have an option called "GIMPS - What makes sense", if SoB had the same option, would it not be possible to optimize when factorisation is done?

I would like that as well, I don't care much for primality tests:crazy:. I prefer to only do factoring. In fact, I assumed untill I read the above posts that factoring would be separate from PRP, as it is now, but handled through the new server. I have set all my machines that were doing sieving and factoring to workpreference 4 (P-1 factoring),running mprime-sb, in anticipation of firstpass reaching 17.2M.

Let me also add that Mike's sieving/factoring stats system was the reason I started sieving, and later P-1 factoring, for this project in the first place. It would be a shame to make it obsolete, it's IMO the best stats system of any DC project I have tested.:thumbs: (I've tested quite a few.)

tqft
04-17-2009, 12:27 AM
I used to run 3 of the old client as they completed I replaced the first 2 with mprime clients.

The last old (2nd pass test) expired this morning my time I expired the test it grabbed and didn't start or replace it with another process.

One of the mprime clients was only running one test and now the old client has gone offline it has decided to grab another piece of work to take up the slack.

Is this a correct interpretation of the mprime client behavior?

Would I be better off just running one process and mprime deciding how much work to grab? Ie what would give me biggest throughput?

Thanks

enderak
04-17-2009, 12:39 AM
Is this on the same computer? If so, you only need to run one instance of mprime and it will automatically use an appropriate number of tests for your CPU (or you can tell it what you how many to run and on which cores if you don't like what it chooses)

tqft
04-17-2009, 12:54 AM
Just a single computer [Pentium D 805 Core 2 Duo running 32bit ubuntu linux]

So what is the best way to reduce to a single instance let on mprime client finish the started tests and then kill it never to be seen again and let the remaining process pick up? Or can I move the partially completed tests into the other directory?

enderak
04-17-2009, 12:31 PM
If the test is close to finishing and you are able to monitor it, then that should work.

But, if you want to move it and not worry about waiting for it to finish, you should be able to just move the appropriate p<k>_<n> files and copy the entry from the old client's worktodo file into the other worktodo file and it will pick it up where the other client left off just fine.

Sputnik
04-17-2009, 02:23 PM
Is there a way to set the new client to flush at a certain hour each day? like, 8pm, go flush?

[DPC]Frentik
04-17-2009, 04:50 PM
The offline submission page is up:

http://www.seventeenorbust.com/offline/


I've tested it pretty heavily. It will give you proper credit for primes, composites, and even factors (in preparation for when some tests will be avoided via P-1).

So yeah, try it out and let me know how it works.

Just post the entire contents of your results.txt in the box.


Cheers,
Louie

I just tried, this is a copy of the output (xxxx is me to hide actual values):
Results

[Tue Mar 17 23:22:10 2009]
10223*2^16017341+1 does not need P-1 factoring.
22699*2^16017454+1 does not need P-1 factoring.
[Mon Apr 06 07:58:03 2009]
UID: ML, 10223*2^16017341+1 is not prime. RES64: B573E5C251C19xxx. Wd1: D16186A4,00000000, AID: 00000000000000000000000xxxxxxxx
[Mon Apr 06 08:05:46 2009]
UID: ML, 22699*2^16017454+1 is not prime. RES64: 9AE877ED2A9F5xxx. Wd1: D2438786,00000000, AID: 0000000000000000000000000xxxxxxx


Result Totals

0 valid factors were found in the results and added to the database.
0 completed tests were updated in the database. So no points so far ;)

jjjjL
04-17-2009, 05:05 PM
hmmm... email those lines to me Frentik. It will help me debug and make it work better. I'll make sure you still get credit. ;)

lhelm (at) seventeenorbust.com


Cheers,
Louie

[DPC]Frentik
04-18-2009, 09:04 AM
hmmm... email those lines to me Frentik. It will help me debug and make it work better. I'll make sure you still get credit. ;)

Cheers,
LouieDone!

jjjjL
04-18-2009, 01:06 PM
Frentik;135760']Done!


Thanks Frentik! Your data allowed me to fix the bug that caused your submissions to be denied. Offline submissions should be working again.



Cheers,
Louie

[DPC]Frentik
04-18-2009, 01:14 PM
I got some more results so i'll be doing another test run :)

update:

[Thu Apr 02 06:29:21 2009]
UID: ML/Kirk, 55459*2^16018066+1 is not prime. RES64: CD1165C1C63D7DAD. Wd1: D70B8C4E,00000000, AID: 000000000000000000000000000EDA85
[Thu Apr 02 10:04:12 2009]
UID: ML/Kirk, 10223*2^16017965+1 is not prime. RES64: 06F7EA224DE5A9EB. Wd1: D6418B84,00000000, AID: 000000000000000000000000000EDA84


Result Totals

0 valid factors were found in the results and added to the database.
2 completed tests were updated in the database.

Yep, al working fine now :clap:

imwithid
05-02-2009, 04:12 AM
I have a dual boot system running Ubuntu 9.04 x64 and XP-64. There are times where I run Ubuntu and wish to run mprime in the same folder as is in XP. I get the following error:

libcurl.so.4: cannot open shared object file: No such file or directory

What am I doing wrong? I must admit that I am a noob when it comes to Linux. Any help would be appreciated.

imwithid
05-02-2009, 04:36 AM
Disregard the last post. I had been looking for a solution to this and the dual boot question for about an hour and in haste posted it. I found the answer in the end.

sudo apt-get install curl

Copy mprime in the same folder as that in Win and run

./mprime -m

For those noobs like me who may be looking for the answer.

[DPC]Frentik
05-13-2009, 02:01 PM
The offline submission page is up:

http://www.seventeenorbust.com/offline/

Cheers,
Louie

Would it be possible to make an offline "fetch" option too (like the manual sieving)? In that case it would be much easier to get new WU's for my offline clients ;)

dsmith
05-18-2009, 10:47 PM
Is there a trick to joining a group with the new client? I seem to remember there being a simple edit on the old client but I can't find anything for the new client.

I joined the Michigan team on the web site but I don't show up on the list. I've been cranking out lots of work lately and would like it to count for the team.

Thanks...

jjjjL
05-19-2009, 01:49 AM
Is there a trick to joining a group with the new client? I seem to remember there being a simple edit on the old client but I can't find anything for the new client.

I joined the Michigan team on the web site but I don't show up on the list. I've been cranking out lots of work lately and would like it to count for the team.

Thanks...

Joining on the website is enough. That's the way to do it.

Your next test you checkout will be done as a member of that team.

However, I could have sworn there was a mechanism, that caused people who were unaffiliated with a team to have all their previous work credited to it when they joined.

It may have been built into the code of the old server and that's why it's not doing that for you. I'll look into it.

Cheers,
Louie

jjjjL
05-19-2009, 05:22 AM
Is there a trick to joining a group with the new client? I seem to remember there being a simple edit on the old client but I can't find anything for the new client.

I joined the Michigan team on the web site but I don't show up on the list. I've been cranking out lots of work lately and would like it to count for the team.

Thanks...

Hey dsmith,

Can you please go to the change team page on the website and tell it you want to join team Michigan again. I think I fixed the script so it will assign all your unaffiliated tests to the first team you join now.

Sorry for making you do this step again, but I want to test that the update I made to the team joining script will work as expected for future users who join a new team.

It may take a few minutes (15?) or you may instantly show up on the team roster with all your work. Let me know what happens when you rerun the team joining page from the website.

Cheers,
Louie

dsmith
05-19-2009, 09:21 AM
That did it, thanks! I knew I could count on you. :thumbs:

All my old work showed up instantly. All the numbers except the Last Day Rate are accurate, but the only time Last Day Rate is accurate with the new client is right after it reports status. I've got all mine scripted to report just before stats are calculated.

Woo Hoo!

imwithid
05-21-2009, 06:38 PM
I would like to move a single test to another computer (a Core2). I'm finding the laptop I have working is too slow and is getting too hot. I'm worried that it may not survive the five to six months that it will take to complete. So far it has completed about 16% of the test. The current desktop I mostly use has two tests with one that should be done in a couple of weeks at 80%. Would setting the "Days of work to queue up" to zero and cutting the three files in the working folder to the new computer be sufficient to continue the work without losing the work done so far?

I hate to take a machine away from the SoB project, but I have no choice and it seems to be of practical efficiency. This poor laptop - a 1.6Ghz Pentium M - just doesn't cut it (240-300 average days / test; I'll see how well it sieves). I should have two more machines in the next few months (same profile - Core2 @ 6300 x64). A humble offering but on average 2 tests per month per machine.

tqft
05-25-2009, 03:13 AM
Something looks screwy on my preferences page
User Stats page is showing crunching as usual, but preferences page is showing test last reported 28 Apr 2009


User ID: 1372
Username: tqft
test
977454 55459•2^16126426+1 XXX.XXX.XXX.XXX Sun Mar 29 22:30:20 2009 Tue Apr 28 00:56:09 2009 12091127 74 % 1307093

User Stats
...
Work rate 2.26 M jEMs/sec 1.90 M jEMs/sec

jamroga
06-11-2009, 01:30 AM
I want to associate a computer name for each machine I use
the new client on. How do I do this for the Linux client mprime.
In addition, how can I setup a computer name to an already running client.

Thanks In Advance

PS - I assume at some point the computer name will be displayed in test maintenance other informational displays.

jimmy
06-12-2009, 03:48 PM
Obviously GIMPS hasn't noticed a new prime for more than a month (http://mersenneforum.org/showthread.php?t=11996). So we're using the same client software can it happen to SoB, too?

umccullough
06-12-2009, 06:33 PM
Obviously GIMPS hasn't noticed a new prime for more than a month (http://mersenneforum.org/showthread.php?t=11996). So we're using the same client software can it happen to SoB, too?

From what I can tell, that seems to have been a server-side glitch.

Since SeventeenOrBust uses their own server designed to simply use the same protocol when talking to the client, I assume it won't have this same flaw automatically :)

Edit: However, has this codepath been tested?

Keroberts1
06-12-2009, 06:43 PM
i think that was simply a matter of the admins slipping and not catching the positive result.

umccullough
06-12-2009, 07:24 PM
i think that was simply a matter of the admins slipping and not catching the positive result.

There was some mention in the thread that nobody received email notifications from the server... which sounds like the server was supposed to send something when a positive result was found ;)

jjjjL
06-13-2009, 12:32 AM
From what I can tell, that seems to have been a server-side glitch.

Since SeventeenOrBust uses their own server designed to simply use the same protocol when talking to the client, I assume it won't have this same flaw automatically :)

Edit: However, has this codepath been tested?

umccullough is right, we don't share the same notification code as GIMPS because we wrote our own server. Our notification script hasn't had any changes since the last prime was found and it worked then.

And just for grins, I manually did a search... no new primes today.

Cheers,
Louie

IronBits
07-25-2009, 11:07 AM
There are several good information items concerning the setup of the new SB way using Prime95.
Is there a FAQ up somewhere I could read through?
How do I optimize for multi-core cpus with and without HT?
Make client communicate with server more than once per day?
Worker windows and threads - how does it work?
etc.