Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Seventeen or Bust :
SoB Double Checking starting soon
Author |
Message |
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
Tentatively, on March 10th we will start an SoB challenge with the purpose of giving a big boost to the SoB double check. This of course assumes that the SoB-DC has begun before then. We therefore have about 6 weeks to start the double check. Or we could rearrange the challenge schedule, but I expect to be able to start the double check before then.
For those of you who are familiar with the PSP double check, this will be similar, with two significant differences:
1) The SoB double check is much, much larger. It will take years to complete. The numbers being tested are much larger, and unlike PSP, a significant portion of the largest numbers need to be double checked. The original PSP project died a few years ago, so all the largest PSP numbers were all crunched at PrimeGrid and don't need to be checked further. About 50% of all the SoB candidates, which includes the largest most recent numbers, need to be double checked.
2) The residues produced in the SoB project are not compatible with the LLR app that we use at PrimeGrid. This means we can't compare our tests to their tests. However, we can make LLR run in a mode that's compatible with their tests. That's the good news. The bad news is that this is about 50% slower than a normal LLR test. Because of this, we won't save as much time when using SoB's residues as we normally would, but it's better than nothing.
As with the PSP double check, we will continue using the credit bonus for long tasks, even though initially the tasks will be shorter. Also, I anticipate that the credit for tasks using the slower SoB algorithm will be adjusted to compensate for the longer run times.
That's pretty much all the information I have at this time. We're still working on getting everything ready, and there's several major decisions that we've yet to make. Feel free to ask questions, but there's a good chance I won't have answers until later.
P.S.: There's also a third difference: Two of SoB's primes were actually found while they were doing their own double checks of early work. It's impossible to say if this was just luck or whether there was a reason those two primes were missed. It's possible there may be more missed primes.
____________
My lucky number is 75898524288+1 | |
|
|
In response to the P.S.
Do we know if they were matching residues, or just running candidates a second time for the old double check? What % of the total work is n < the highest prime found in the old double check?
If we know they were getting matched residues during their own double check, and it's a month or more of crunching to get to the highest prime found in the double check, then does it make sense to start the double check there? We know they double checked to that n, and while we don't have those results anymore due to the server crash, it's still more like a 3rd and 4th check for those values.
Now if it's a couple weeks work w/ today's computers, or we have no assurances that they were matching residues, and there could still be missed primes in there, then I'm all for having a complete record, but I'd hate to waste months quadruple checking a range.
Thanks,
CW | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
Do we know if they were matching residues, or just running candidates a second time for the old double check?
We do not know.
What % of the total work is n < the highest prime found in the old double check?
The highest double check prime was about n=7M. That's tiny -- the PSP double check is already above n=12M. In the PSP double check, everything below n=7M accounts for about 5% of the total. In the SoB DC, it would probably be around 0.5%
If we know they were getting matched residues during their own double check, and it's a month or more of crunching to get to the highest prime found in the double check, then does it make sense to start the double check there?
We're not looking at "ranges". We're looking at each candidate individually to see if it needs to be double checked or not.
____________
My lucky number is 75898524288+1 | |
|
Honza Volunteer moderator Volunteer tester Project scientist Send message
Joined: 15 Aug 05 Posts: 1957 ID: 352 Credit: 6,137,993,476 RAC: 2,260,339
                                      
|
However, we can make LLR run in a mode that's compatible with their tests. That's the good news. The bad news is that this is about 50% slower than a normal LLR test. Because of this, we won't save as much time when using SoB's residues as we normally would, but it's better than nothing.
Running two "standard" LLR test would give about the same performance comparing to run only single "slower/compatible" one (and compare old residues).
Assuming there is no [significant] performance benefit, we get extra information about residue reliability that we may investigate further.
Correct?
____________
My stats | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
Running two "standard" LLR test would give about the same performance comparing to run only single "slower/compatible" one (and compare old residues).
Assuming there is no [significant] performance benefit, we get extra information about residue reliability that we may investigate further.
Correct?
No, running 1 PRP test as opposed to running 2 LLR tests will save us about 25% as compared to ignoring the SoB residues and running everything again from scratch. If an LLR test took 1 hour, then rerunning it fully would require two tests (2 hours). Using the SoB residue and running one PRP test would take 1.5 hours, for a net savings of 0.5 hours (25%).
____________
My lucky number is 75898524288+1 | |
|
mackerel Volunteer tester
 Send message
Joined: 2 Oct 08 Posts: 2645 ID: 29980 Credit: 568,565,361 RAC: 266
                              
|
I think I was misreading it like Honza, where "50% slower" implied takes twice the time, as opposed to "takes 50% longer" which seems to be the case. | |
|
axnVolunteer developer Send message
Joined: 29 Dec 07 Posts: 285 ID: 16874 Credit: 28,027,106 RAC: 0
            
|
2) The residues produced in the SoB project are not compatible with the LLR app that we use at PrimeGrid. This means we can't compare our tests to their tests. However, we can make LLR run in a mode that's compatible with their tests. That's the good news. The bad news is that this is about 50% slower than a normal LLR test. Because of this, we won't save as much time when using SoB's residues as we normally would, but it's better than nothing
This makes no sense. LLR & SoB client both use GW library. LLR uses a proth test, while SOB client does a base-3 (?) PRP test. The difference between these two is one extra squaring (a few milliseconds). I don't understand why LLR should be 50% slower in this "compatibility" mode.
If that is truly the case, please ask Jean to put in an actual compatibility mode that takes the same time.
EDIT:- Ok, I just checked it for myself with the Force PRP option. You're right, it is appr. 50% slower.
I don't know why it is happening, but I would classify this as a _bug_ in LLR. Please report this to Jean Penne so that he can fix this. | |
|
|
For each of the five remaining k multipliers, will the double check restart from exponent n=1?
/JeppeSN | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
For each of the five remaining k multipliers, will the double check restart from exponent n=1?
/JeppeSN
Yes, except that exponents below 500 K or 1 million (or a similar number) will be tested internally first. We won't load very small numbers into BOINC; we'll just test them ourselves. It doesn't take that long. (This has probably already been done.) Then we'll start testing at that point on BOINC.
At this point I'd like to make a shoutout to Iain for a rather major discovery regarding old residues. It really pays to RTFM sometimes. As a result, we're able to use all the old residues, even without knowing which program produced them. Previously we had thought we'd only be able to use the residues from the more recent P95 program that SoB had been using.
Jim's really been making good progress on pulling all the data together. The good news is the database dump we got from SoB two or so years ago seems to have usable residues for almost every candidate below n=28M. Many of those have two matching residues and we don't have to test them in the DC at all. The bad part of that is, of course, these are the small numbers (or at least the less huge numbers). The most recent numbers, done in the last couple of years, will take a long time to test and the residues were, of course, lost with the SoB server.
Here's the other piece of good news: you know how I've been requesting SoB users to send me their log files? We've done surprisingly well. We have about 25% of the residues from tests done above n=28M.
And of course everything done at PrimeGrid and everything that was double checked at SoB we don't need to test again. Looking at the data, it looks like SoB did a full DC up to about n=13M or so. N=13M is where most of the candidates stop having 2 matching residues and start having only one residue. At around n=28M we're relying solely on user-submitted log files, and from then on about 75% of the non-PrimeGrid candidates have no residues at all.
So what does this all mean? Here are some statistics, with the caveat that there still may be adjustments to these numbers:
For the purposes of these statistics, "work" is defined as the amount of computing necessary to check a 1,000,000 digit Proth number twice. It's roughly the equivalent of processing a PPS-MEGA, including double checking. For comparison, the entire PSP double check comprises 651,110 "work".
Count of eliminated candidates we do NOT need to test, either because they were checked twice on PrimeGrid or checked twice at SoB: 193,696
Total work for those eliminated candidates: 3,192,236
Count of not-eliminated candidates in the double check: 150,870
Total work to double check those candidates: 5,812,525
Count of candidates with no residues (we need to test each one twice): 23,512 (These will be done with the regular, faster LLR test.)
Total work for candidates with no residue: 1,855,850
Count of candidates with an SoB residue (we'll double check these once with the PRP test): 127,358
Total work for candidates with one residue: 3,956,675 (Takes into account that we only have to run one test, but that test is slower.)
On thing of note in all those numbers is that the SoB double check will be about 9 times as long as the PSP double check. About one third of the double check is rechecking candidates that were presumably already checked by SoB but whose records were lost with the server. Some of these were, however, above SoB's leading edge (wherever that was) and we'll be checking those for the first time. PrimeGrid's leading edge is currently above where SoB was, so we're "double checking" everything up to our leading edge. Some of those numbers were never checked. About two thirds of the double check is checking numbers that were only checked once at SoB.
____________
My lucky number is 75898524288+1 | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
2) The residues produced in the SoB project are not compatible with the LLR app that we use at PrimeGrid. This means we can't compare our tests to their tests. However, we can make LLR run in a mode that's compatible with their tests. That's the good news. The bad news is that this is about 50% slower than a normal LLR test. Because of this, we won't save as much time when using SoB's residues as we normally would, but it's better than nothing
This makes no sense. LLR & SoB client both use GW library. LLR uses a proth test, while SOB client does a base-3 (?) PRP test. The difference between these two is one extra squaring (a few milliseconds). I don't understand why LLR should be 50% slower in this "compatibility" mode.
If that is truly the case, please ask Jean to put in an actual compatibility mode that takes the same time.
EDIT:- Ok, I just checked it for myself with the Force PRP option. You're right, it is appr. 50% slower.
I don't know why it is happening, but I would classify this as a _bug_ in LLR. Please report this to Jean Penne so that he can fix this.
Noted. We'll look into it. If the PRP test could be made as fast as the LLR test, that would cut about 20 months off the double check time. As things stand right now, I expect the LLR portion of the DC to take about 30 months and the PRP portion to take 60 months. Cutting out 20 months of double checking would be very nice!
____________
My lucky number is 75898524288+1 | |
|
Crun-chi Volunteer tester
 Send message
Joined: 25 Nov 09 Posts: 3233 ID: 50683 Credit: 151,443,349 RAC: 99,549
                         
|
I don't know why it is happening, but I would classify this as a _bug_ in LLR. Please report this to Jean Penne so that he can fix this.
He is noted about this problem and say that he try to fix this ASAP.
____________
92*10^1585996-1 NEAR-REPDIGIT PRIME :) :) :)
4 * 650^498101-1 CRUS PRIME
2022202116^131072+1 GENERALIZED FERMAT
Proud member of team Aggie The Pew. Go Aggie! | |
|
tng Send message
Joined: 29 Aug 10 Posts: 486 ID: 66603 Credit: 47,364,276,188 RAC: 27,827,225
                                                    
|
is the Sob double check likely to start before the end of February?
____________
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
is the Sob double check likely to start before the end of February?
I hope so, but I'd rather not speculate about schedules at this point. We're kind of at that "95% done" stage, but just don't know how long that last 5% will take.
____________
My lucky number is 75898524288+1 | |
|
tng Send message
Joined: 29 Aug 10 Posts: 486 ID: 66603 Credit: 47,364,276,188 RAC: 27,827,225
                                                    
|
No problem -- just trying to figure out my strategy for the Tour de Primes.
____________
| |
|
|
No problem -- just trying to figure out my strategy for the Tour de Primes.
If you were to find a prime during double checking of Seventeen-or-Bust, since the Top 5000 requires more than 1'290'000 bits for a prime to be huge enough, the exponent n of the prime k*2^n + 1 would have to be n > 1.29M.
/JeppeSN | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
No problem -- just trying to figure out my strategy for the Tour de Primes.
If you were to find a prime during double checking of Seventeen-or-Bust, since the Top 5000 requires more than 1'290'000 bits for a prime to be huge enough, the exponent n of the prime k*2^n + 1 would have to be n > 1.29M.
/JeppeSN
Even if we start the DC with n below 1.29M, it will grow beyond that almost immediately. There's a grand total of 41 candidates below n=1.29M. All of those have SoB residues to validate against, so it's a total of 41 very short tasks.
Regardless of whether it makes the T5K list or not, it would be totally awesome to eliminate a K with such a small number.
____________
My lucky number is 75898524288+1 | |
|
RafaelVolunteer tester
 Send message
Joined: 22 Oct 14 Posts: 911 ID: 370496 Credit: 550,234,793 RAC: 442,833
                         
|
No problem -- just trying to figure out my strategy for the Tour de Primes.
If you were to find a prime during double checking of Seventeen-or-Bust, since the Top 5000 requires more than 1'290'000 bits for a prime to be huge enough, the exponent n of the prime k*2^n + 1 would have to be n > 1.29M.
/JeppeSN
Even if we start the DC with n below 1.29M, it will grow beyond that almost immediately. There's a grand total of 41 candidates below n=1.29M. All of those have SoB residues to validate against, so it's a total of 41 very short tasks.
Regardless of whether it makes the T5K list or not, it would be totally awesome to eliminate a K with such a small number.
Somehow, I feel like that T5k question was more in line of TDP rather than knocking a K out...
Think about it for a second, if we can get SoB DC going on for TDP, it would kinda be an "extra" challenge, as I'm sure some people would crunch that for a good chance of a prime. | |
|
|
Regardless of whether it makes the T5K list or not, it would be totally awesome to eliminate a K with such a small number.
Surely!
Think about it for a second, if we can get SoB DC going on for TDP, it would kinda be an "extra" challenge, as I'm sure some people would crunch that for a good chance of a prime.
Good chance? It is hard to estimate the chance because it would be a "bet" that a candidate that was previously tested negative was really affected by a hardware error, and the true status of the candidate was a prime.
The smallest and first prime Seventeen or Bust found was 46157*2^698207 + 1 which has clearly fallen out of Top 5000 by now.
The smallest prime they found which is still on the Top 5000 would be their fifth one, 54767*2^1337287 + 1.
There was less than one month between these two (November 2002 and December 2002)! Wikipedia has a list of all SoB finds.
/JeppeSN | |
|
mackerel Volunteer tester
 Send message
Joined: 2 Oct 08 Posts: 2645 ID: 29980 Credit: 568,565,361 RAC: 266
                              
|
If I'm not mistaken, the old SoB project found primes in double check. GIMPS have found primes in double check. I found a prime in double check in the former rieselsieve project. It is certainly not impossible, especially for projects that have run separate first pass and double check efforts. | |
|
|
If I'm not mistaken, the old SoB project found primes in double check. GIMPS have found primes in double check. I found a prime in double check in the former rieselsieve project. It is certainly not impossible, especially for projects that have run separate first pass and double check efforts.
For that reason I also think it is an excellent decision to run a new Seventeen-or-Bust double check now.
I just say that it is hard to tell whether the chance of finding a Top 5000 prime is "better" with the SoB double check, compared to other PrimeGrid subprojects offered.
/JeppeSN
PS! GFN history also shows many finds during double checking. | |
|
tng Send message
Joined: 29 Aug 10 Posts: 486 ID: 66603 Credit: 47,364,276,188 RAC: 27,827,225
                                                    
|
No problem -- just trying to figure out my strategy for the Tour de Primes.
If you were to find a prime during double checking of Seventeen-or-Bust, since the Top 5000 requires more than 1'290'000 bits for a prime to be huge enough, the exponent n of the prime k*2^n + 1 would have to be n > 1.29M.
/JeppeSN
Even if we start the DC with n below 1.29M, it will grow beyond that almost immediately. There's a grand total of 41 candidates below n=1.29M. All of those have SoB residues to validate against, so it's a total of 41 very short tasks.
Regardless of whether it makes the T5K list or not, it would be totally awesome to eliminate a K with such a small number.
One valid strategy for the Tour de Primes is to ignore it and run whatever your personal priorities dictate.
SoB double checking seems to me a poor choice for winning the yellow jersey simply because there will prombably be a small number of primes found. My expectation is that at most 5 primes will be found by the SoB DC. If I want the yellow jersey,, I need to devote all of my resources to the attempt for all of February. I did that the last two years, and came up short by a hair (52-50 last year, 22-21 in 2015). If I'm going to divert resources to the SoB DC, better to go for the red and/or green badges and look for larger primes. That's the basic decision I need to make.
I'd love to eliminate a K on Sob, no matter how small the prime. I'd also love to have a yellow jersey. This is the root of my dilemma.
____________
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
My expectation is that at most 5 primes will be found by the SoB DC.
LOL
By definition, there will never be more than 5 primes EVER found in the remainder of SoB, double check or not. There's only 5 K's remaining. (Barring the unlikely event that two primes are found in the same K before we can shut off the work generator.)
As far as the SoB double check being more or less likely to find a prime...
Compared to other projects such as SGS or PPSE, it's LESS likely to find a prime simply because these are numbers that have previously been checked. So you have the needle in a haystack chance of finding a prime PLUS the chance that the original checker had some sort of error.
Compared to leading edge SoB tests, it's more complicated. You're still checking numbers that have already been checked, which lowers your chances, but primes are more likely when the numbers are smaller and you get to check more numbers because the tests are faster. In sum, are the odds better or worse? It's impossible to say without knowing how reliable the original tests were.
In terms of competing in TDP, to be honest, neither the PSP-DC nor the SoB-DC is a good bet. You're better off running another project with similarly sized numbers which is checking numbers for the first time.
That being said, I hope people run SoB DC as well as PSP DC a lot. Both need a lot of TLC to be completed, especially SoB.
____________
My lucky number is 75898524288+1 | |
|
axnVolunteer developer Send message
Joined: 29 Dec 07 Posts: 285 ID: 16874 Credit: 28,027,106 RAC: 0
            
|
GIMPS have found primes in double check.
FTR... Never happened. | |
|
|
(Barring the unlikely event that two primes are found in the same K before we can shut off the work generator.)
(Then both would be winners in a sense. The smaller one would be more interesting, as the first example for that K. But the larger one would clearly get more credit points and a higher position on Top 5000.)
When we found the recent SoB prime, did we let the remaining smaller work units on the same K value finish?
/JeppeSN | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
(Barring the unlikely event that two primes are found in the same K before we can shut off the work generator.)
(Then both would be winners in a sense. The smaller one would be more interesting, as the first example for that K. But the larger one would clearly get more credit points and a higher position on Top 5000.)
When we found the recent SoB prime, did we let the remaining smaller work units on the same K value finish?
/JeppeSN
Yes. Work in progress is allowed to complete, but as soon as we notice there's ONE result showing a prime and either a user verifies it or we verify it internally, we pull the plug on work generation. In the case of that particular prime, there's was about a one-month gap between when we verified it and when the BOINC double checker verified it.
We have all of the conjectures set up that way.
____________
My lucky number is 75898524288+1 | |
|
JimB Honorary cruncher Send message
Joined: 4 Aug 11 Posts: 920 ID: 107307 Credit: 989,246,873 RAC: 201,706
                     
|
When we found the recent SoB prime, did we let the remaining smaller work units on the same K value finish?
Any workunits that went out to users were allowed to complete. They were both smaller and larger than the prime. There are still around 20 of them that haven't completed yet. | |
|
|
When we found the recent SoB prime, did we let the remaining smaller work units on the same K value finish?
Any workunits that went out to users were allowed to complete. They were both smaller and larger than the prime. There are still around 20 of them that haven't completed yet.
Will that mean that for K=10223, every N below 31172165 will eventually be checked, once those twenty outstanding WUs are finished? So we will know that this N=31172165 is minimal unless the pre-PrimeGrid processing of K=10223 failed to double check everything.
(I assume PrimeGrid sends out the WUs in order of increasing N.)
Or will there be a small number of N values below 31172165 that will never be tested, for example because the user abandoned it voluntarily and at that time you already knew internally that the K=10223 series was being retired?
/JeppeSN | |
|
JimB Honorary cruncher Send message
Joined: 4 Aug 11 Posts: 920 ID: 107307 Credit: 989,246,873 RAC: 201,706
                     
|
Will that mean that for K=10223, every N below 31172165 will eventually be checked, once those twenty outstanding WUs are finished? So we will know that this N=31172165 is minimal unless the pre-PrimeGrid processing of K=10223 failed to double check everything.
Yes. I believe that each of those twenty or so outstanding k=10223 candidates has one composite residue and we're just waiting for a wingman to agree with it. | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
When we found the recent SoB prime, did we let the remaining smaller work units on the same K value finish?
Any workunits that went out to users were allowed to complete. They were both smaller and larger than the prime. There are still around 20 of them that haven't completed yet.
Will that mean that for K=10223, every N below 31172165 will eventually be checked, once those twenty outstanding WUs are finished? So we will know that this N=31172165 is minimal unless the pre-PrimeGrid processing of K=10223 failed to double check everything.
(I assume PrimeGrid sends out the WUs in order of increasing N.)
Or will there be a small number of N values below 31172165 that will never be tested, for example because the user abandoned it voluntarily and at that time you already knew internally that the K=10223 series was being retired?
/JeppeSN
Jim said yes; I'll say no; and we're both correct.
Yes, as Jim said, PrimeGrid did send out every n below the prime. They were sent out in order of ascending N. All of PrimeGrid's tests below the known prime will be completed, as well as a small number above it.
However, we are not going to search 10223 in the double check, so if any primes exist for n's where PrimeGrid wasn't responsible for the testing, they won't be found by us. If the SoB project missed any 10223 primes, especially above n=13M, they won't be found anytime soon.
____________
My lucky number is 75898524288+1 | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
I suspect we're going to wait for the new LLR before starting the double check, so we might be starting the double check somewhat later than expected. I'll let you know as events develop, but there's no dates I can give you at this time.
____________
My lucky number is 75898524288+1 | |
|
Honza Volunteer moderator Volunteer tester Project scientist Send message
Joined: 15 Aug 05 Posts: 1957 ID: 352 Credit: 6,137,993,476 RAC: 2,260,339
                                      
|
Feel free to continue discussion about new LLR version in LLR Version 3.8.18 released
____________
My stats | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
Effective immediately:
The new LLR version is now live for SoB. (It's v8.00 as far as BOINC task versions go.)
This means we can start the DC when we're ready.
It also means you can use app_config to easily configure SoB to run multi-threaded.
32-bit Macs are no longer supported. We've been unable to build the software such that it will work on 32 bit-Macs. The number of 32-bit macs currently running on primegrid (or at least successfully running) is a 1-digit number -- in ANY base. Our apologies to the owner of that computer, but we can not support that platform anymore.
____________
My lucky number is 75898524288+1 | |
|
|
[quote]Effective immediately:
It also means you can use app_config to easily configure SoB to run multi-threaded.
I saw the "<cmdline>--nthreads" in the app_version. When I run SOB it uses a full core (25% of the CPU), can you please explain what will this multi-threading do? how many threads to use?
TX | |
|
|
Might be a dumb question with an easy to find the answer. But does primegrid update automatically? aka if I run sob will it use 8.0 automatically? OR where is app_config? | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
Might be a dumb question with an easy to find the answer. But does primegrid update automatically? aka if I run sob will it use 8.0 automatically? OR where is app_config?
Unless you are using app_info (NOT app_config), you will automatically get the new app as part of the next LLR task you download from PrimeGrid. If you're using app_info, you must make the change yourself.
However, while the new app supports multithreading, you must use app_config.xml to activate the multithreading.
Let's say you have a 4-core CPU like a Core-5 or a Core-i7 (ignore the hyperthreads -- if you have an i7, tell BOINC to only use 50% of the "CPUs".) This is an example of app_config.xml:
<app_config>
<app>
<name>llrSOB</name>
<fraction_done_exact/>
</app>
<app_version>
<app_name>llrSOB</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>
</app_config>
Two notes about that example.:
1) To set up more than one app for multithreading, duplicate the <app> and <app_version> sections within the <app_config> block. There should only be one <app_config> block.
2) Notice that in the <cmdline> tag, there IS a space between "-t" and "4". This is different than if you were feeding the -t parameter directly to LLR (such as when running it by hand), where you must NOT use a space.
I saw the "<cmdline>--nthreads" in the app_version. When I run SOB it uses a full core (25% of the CPU), can you please explain what will this multi-threading do? how many threads to use?
See the example above. It will run SOB tasks using 4 cores.
EDIT: That example goes in a file called app_config.xml, which, for Windows, goes in the directory C:\ProgramData\BOINC\projects\www.primegrid.com
____________
My lucky number is 75898524288+1 | |
|
|
Well the app_config did the trick and SOB was running on all four cores, but then I looked on GPU-Z and both GPUs, 960 & 1060 were not doing too well, the once nice smooth bar graphs were now looking more like combs, the “PerfCap Reason” was showing “Util”, “GPU load” was fluctuating widely and even the “GPU Core Clock” was unstable.
I revert back from 378.78 to 378.66, it didn’t help, I switched SOB back to one core and everything went back to normal.
There goes my dream of 2+ days SOB, back to 9 days. | |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
Well the app_config did the trick and SOB was running on all four cores, but then I looked on GPU-Z and both GPUs, 960 & 1060 were not doing too well, the once nice smooth bar graphs were now looking more like combs, the “PerfCap Reason” was showing “Util”, “GPU load” was fluctuating widely and even the “GPU Core Clock” was unstable.
I revert back from 378.78 to 378.66, it didn’t help, I switched SOB back to one core and everything went back to normal.
There goes my dream of 2+ days SOB, back to 9 days.
Depending on your hardware as well as which CPU apps and which GPU apps, you may need to sometimes leave a core free just to service the GPUs. If you run LLR on 3 cores instead of 4 your GPUs should go back to full speed.
____________
My lucky number is 75898524288+1 | |
|
|
3 worked fine except that another SOB was fetched but couldn't run on a single core so it was left waiting and the 4th core was idle. So now I run it on two cores and there is room fore another double core LLR. | |
|
|
It's almost mind-boggling that the double check is almost up to where SoB was many years ago when I began participating in that particular project.
____________
| |
|
Michael Goetz Volunteer moderator Project administrator
 Send message
Joined: 21 Jan 10 Posts: 14011 ID: 53948 Credit: 433,157,676 RAC: 1,017,804
                               
|
It's almost mind-boggling that the double check is almost up to where SoB was many years ago when I began participating in that particular project.
Indeed. Computers are so much faster.
It only took a few months to recreate all the work that was lost on the PSP server.
____________
My lucky number is 75898524288+1 | |
|
Message boards :
Seventeen or Bust :
SoB Double Checking starting soon |