![]() |
|
|
#12 | |
|
May 2007
Kansas; USA
1040310 Posts |
Quote:
Sr1sieve: 1597 26M P/sec 36772 20M P/sec average 23M. Adjust for comparison to sr2sieve: 23M / 2 = 11.5M. Sr2sieve on both k's: 11.5M P/sec This was only the 4th core running out of 8 cores on an I7 so as to not get any slowdown or interruption from other processes. It was at a sieve depth of P=4G so would be quite a bit slower than P=20T or wherever you happen to be at. Adjust higher for that and lower for the more cores and it probably comes in close to yours. In order to determine which one was better, I had to do the more detailed process, which showed sr2sieve as ~2% faster. I might suggest that you do the type of test that I did. Sometimes a snapshot of the P-rate can be inaccurate. My 10 mins. test on both of them eliminated any possibility of a temporary process affecting anything too much. Later on, I'll test it with all 8 cores running sieving. I cannot imagine that will have an impact on the percentage of difference between the 2 programs since they apparently use the same calculations / processes, but one never knows. Gary Last fiddled with by gd_barnes on 2010-06-30 at 08:56 |
|
|
|
|
|
|
#13 |
|
May 2007
Kansas; USA
101×103 Posts |
I forgot to ask. What is -t8 ? I don't see it talked about in the help or readme. Should I be using that on an 8-core I7 ? Perhaps that is the speedup that you are getting for sr2sieve and I am not getting it. Last fiddled with by gd_barnes on 2010-06-30 at 08:33 |
|
|
|
|
|
#14 | |
|
"Lennart"
Jun 2007
25·5·7 Posts |
Quote:
./sr2sieve -p22e12 -P23e12 -iinput.txt -ffactors.txt -q -t8 -t8 means it will use all 8 core when i start this. I don't need to start one instance on each core. I only start one instance and it use all 8 core. On a quad you use -t4 and on a duo -t2 sometime i work on a computer and need some CPU power to other work then I use to start -t7 to have one core free. Lennart Last fiddled with by Lennart on 2010-06-30 at 09:00 |
|
|
|
|
|
|
#15 |
|
May 2007
Kansas; USA
101×103 Posts |
All of that is what I use except the -f and -t8 switches. The default is for it to write factors to factors.txt so I don't use that unless I'm sieving multiple bases in batch and need different file names.
Thanks. I'll try the -t8 switch and see what happens. I thought the I7 would utilize all 8 cores anyway unless I tell it specific CPUs to use (which I do not) but the switch is worth a try. |
|
|
|
|
|
#16 | |
|
"Lennart"
Jun 2007
112010 Posts |
Quote:
so I think you should get about 70-80Mp/sec if you run 8 core on a i7. Lennart EDIT: This is only working on Linux. Last fiddled with by Lennart on 2010-06-30 at 09:28 |
|
|
|
|
|
|
#17 |
|
I quite division it
"Chris"
Feb 2005
England
31·67 Posts |
Taking 40-45T
(ETA 6th July) Last fiddled with by Flatlander on 2010-06-30 at 11:23 Reason: Added ETA |
|
|
|
|
|
#18 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
5,881 Posts |
Quote:
|
|
|
|
|
|
|
#19 | |
|
May 2007
Kansas; USA
101·103 Posts |
Quote:
I will test it with all 8 cores sieving as soon as a couple of things finish up within 2-3 days. All of the rest of my machines are Linux quads; only 5 of which are good sievers. But the I7 smokes them all for sieving throughput. |
|
|
|
|
|
|
#20 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
What the -t switch does is have the program do automatic multithreading. That is, it handles splitting up the range into small chunks itself, distributes them to the specified # of cores, collects the results, etc. The result is a small decrease in efficiency over running separate instances (due to overhead from communication between the cores), though often the gain in human-time savings is worth it. |
|
|
|
|
|
|
#21 | |
|
May 2007
Kansas; USA
101×103 Posts |
Quote:
I don't understand why this -t switch is even needed for Windows. What it appears to do is what Windows does automatically; that is utilize all 8 cores. Why is it needed? Perhaps Linux is not as sophisticated. Last fiddled with by gd_barnes on 2010-06-30 at 18:54 |
|
|
|
|
|
|
#22 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
On either Windows or Linux, one can still use the "old fashioned" method of dividing up p-ranges over multiple cores manually and running separate instances. However, this offers an alternative that automates that process somewhat. Last fiddled with by mdettweiler on 2010-06-30 at 19:04 |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Riesel base 6 - team drive #4 - EIGHT OR BUST! | gd_barnes | Conjectures 'R Us | 401 | 2015-05-27 15:15 |
| Riesel base 16 - team drive #2 | gd_barnes | Conjectures 'R Us | 213 | 2014-02-26 09:35 |
| Sieving Riesel & Sierp base 16 | gd_barnes | Conjectures 'R Us | 13 | 2009-12-14 09:23 |
| Sieving drive Riesel base 6 n=150K-1M | gd_barnes | Conjectures 'R Us | 27 | 2009-10-08 21:49 |
| Riesel base 3 - mini-drive I | gd_barnes | Conjectures 'R Us | 199 | 2009-09-30 18:44 |