mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Conjectures 'R Us

Reply
 
Thread Tools
Old 2017-01-21, 21:53   #254
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

32D16 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
For a single k, use sr1sieve?
Yes. sr2sieve is build to deal more k´s.
MisterBitcoin is online now   Reply With Quote
Old 2017-01-21, 22:23   #255
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

949710 Posts
Default

Quote:
Originally Posted by MisterBitcoin View Post
Taking R867 to nmax=1M. Using the "old" srsieve to avoid any problems.
Quote:
Originally Posted by VBCurtis View Post
For a single k, use sr1sieve?
Quote:
Originally Posted by MisterBitcoin View Post
Yes. sr2sieve is build to deal more k´s.
That's not what VBCurtis meant.
He meant "Are you trying to sieve with (old or whatnot) srsieve, not knowing that you should only sieve low n values with srsieve and then switch to sr1sieve which is many times faster?"

In fact one should sieve like follows (pay attention to the middle step which removes 25% of candidates and makes next step faster):
Code:
srsieve -g -n200000 -N1000000 -P1e6 "8*867^n-1"
# optional:
# awk 'NF==2 {print $2%3}' t17_b867_k8.npg | sort | uniq -c
#      and observe

awk 'NF!=2 || $2%3!=0' t17_b867_k8.npg > t17_b867_k8.A.npg

sr1sieve -t 4 -P 1e11 -i t17_b867_k8.A.npg -o t17_b867_k8.1e11.npg
sr1sieve -t 4 -P 1e13 -i t17_b867_k8.1e11.npg -o t17_b867_k8.1e13.npg

# even more optimal is to sieve ranges on 1 CPU each, then combine... 
# ... but you have to know how/what you are doing
Batalov is offline   Reply With Quote
Old 2017-01-22, 00:31   #256
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

81310 Posts
Default

Quote:
Originally Posted by Batalov View Post
That's not what VBCurtis meant.
He meant "Are you trying to sieve with (old or whatnot) srsieve, not knowing that you should only sieve low n values with srsieve and then switch to sr1sieve which is many times faster?"

In fact one should sieve like follows (pay attention to the middle step which removes 25% of candidates and makes next step faster):
Code:
srsieve -g -n200000 -N1000000 -P1e6 "8*867^n-1"
# optional:
# awk 'NF==2 {print $2%3}' t17_b867_k8.npg | sort | uniq -c
#      and observe

awk 'NF!=2 || $2%3!=0' t17_b867_k8.npg > t17_b867_k8.A.npg

sr1sieve -t 4 -P 1e11 -i t17_b867_k8.A.npg -o t17_b867_k8.1e11.npg
sr1sieve -t 4 -P 1e13 -i t17_b867_k8.1e11.npg -o t17_b867_k8.1e13.npg

# even more optimal is to sieve ranges on 1 CPU each, then combine... 
# ... but you have to know how/what you are doing
I always sieve to 50M using srsieve, not deeper. After sieving to this value sr1sieve catches the factors.

[Its not my first sieve I´m doing. I probably misunderstood Curtis.]
MisterBitcoin is online now   Reply With Quote
Old 2017-01-22, 01:08   #257
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

2·2,437 Posts
Default

Quote:
Originally Posted by MisterBitcoin View Post
I always sieve to 50M using srsieve, not deeper. After sieving to this value sr1sieve catches the factors.

[Its not my first sieve I´m doing. I probably misunderstood Curtis.]
neither old srsieve nor sr1sieve is going to remove the perfect-cube-minus-1 composites. Are you ignoring Batalov's awk advice because you already knew to remove those candidates, or did you not understand the importance of his point?

If the power is a multiple of 3, then the number is composite (because 8 is also a 3rd power). This is precisely the point Batalov has been trying to make all week- the tools as CRUS uses them miss these algebraic factors, so you should remove them yourself (with Batalov's script, or via fancy awk as he wrote it).

Serge- Thanks for the awk tip, and for translating my too-short post about sr1.
VBCurtis is offline   Reply With Quote
Old 2017-01-22, 03:13   #258
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

22×7×227 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
neither old srsieve nor sr1sieve is going to remove the perfect-cube-minus-1 composites. Are you ignoring Batalov's awk advice because you already knew to remove those candidates, or did you not understand the importance of his point?

If the power is a multiple of 3, then the number is composite (because 8 is also a 3rd power). This is precisely the point Batalov has been trying to make all week- the tools as CRUS uses them miss these algebraic factors, so you should remove them yourself (with Batalov's script, or via fancy awk as he wrote it).

Serge- Thanks for the awk tip, and for translating my too-short post about sr1.
Once the kinks are worked out of the newest srsieve, it will eliminate those terms.
rogue is offline   Reply With Quote
Old 2017-01-22, 09:27   #259
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

3·271 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
neither old srsieve nor sr1sieve is going to remove the perfect-cube-minus-1 composites. Are you ignoring Batalov's awk advice because you already knew to remove those candidates, or did you not understand the importance of his point?

If the power is a multiple of 3, then the number is composite (because 8 is also a 3rd power). This is precisely the point Batalov has been trying to make all week- the tools as CRUS uses them miss these algebraic factors, so you should remove them yourself (with Batalov's script, or via fancy awk as he wrote it).

Serge- Thanks for the awk tip, and for translating my too-short post about sr1.

Oh, your talking about algebraic factors...............I´ll check with the script.
Your reply was so confusing, just say what you want.
Sry that I falsely understand it, I should stop sieving until all problem solved.

MisterBitcoin is online now   Reply With Quote
Old 2017-01-22, 21:12   #260
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

145110 Posts
Default

Quote:
Originally Posted by Batalov View Post
sr1sieve -t 4 -P 1e11 -i t17_b867_k8.A.npg -o t17_b867_k8.1e11.npg
When you use -t 4 what is slowdown comparing to t 1 * 4 instances?

Last fiddled with by pepi37 on 2017-01-22 at 21:12
pepi37 is online now   Reply With Quote
Old 2017-01-23, 05:15   #261
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

2·2,437 Posts
Default

For me on R3, -t 4 is just a bit faster than 3 instances of single-threaded. So, about 20% wasted for convenience. But that's on a hyperthreaded machine; ubuntu doesn't schedule awesomely, so even with 6 tasks running it sometimes doubles up tasks on a single core whilst leaving another core idle.
VBCurtis is offline   Reply With Quote
Old 2017-01-23, 09:04   #262
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,451 Posts
Default

That info is same for me- one instance gives me 53Mp/s but t 4 gives me 169 Mp/s
pepi37 is online now   Reply With Quote
Old 2017-01-30, 18:49   #263
MisterBitcoin
 
MisterBitcoin's Avatar
 
"Nuri, the dragon :P"
Jul 2016
Good old Germany

3·271 Posts
Default

R867 finished to p=50T. File attached.

As I stated there are a lot of under sieved files for single-k Bases.
Reserving S406 (1k) from n=200K to N=1M. planned pmax=50T
Attached Files
File Type: txt R867.txt (75.8 KB, 163 views)
MisterBitcoin is online now   Reply With Quote
Old 2017-01-30, 19:06   #264
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

26538 Posts
Default

Quote:
Originally Posted by MisterBitcoin View Post
R867 finished to p=50T. File attached.
1157 algebraic factors removed
corrected sieve file attached
Attached Files
File Type: txt R867-algebraic.txt (37.1 KB, 65 views)
File Type: txt t17_b867_k8.npg.txt (72.9 KB, 60 views)

Last fiddled with by pepi37 on 2017-01-30 at 19:12
pepi37 is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sieving Drive all base 2/4 k's worked by CRUS gd_barnes Conjectures 'R Us 143 2014-10-21 23:55
Some CRUS stats vmod Conjectures 'R Us 213 2014-02-28 21:23
What are your CRUS plans? rogue Conjectures 'R Us 35 2013-11-09 09:03
CRUS-like sieving challenge CRGreathouse Puzzles 24 2011-10-28 18:30
how high will CRUS go Mini-Geek Conjectures 'R Us 1 2010-11-08 20:50

All times are UTC. The time now is 21:50.


Fri Aug 6 21:50:06 UTC 2021 up 14 days, 16:19, 1 user, load averages: 2.88, 2.52, 2.51

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.