![]() |
|
|
#56 |
|
Oct 2006
On a Suzuki Boulevard C90
24610 Posts |
To be fair, I do not have the same gcc versions. On the blades, I'm using RedHat with their version of gcc 4.0.0. On the PowerMac, I'm using a hand-built gcc 4.1.1. But this is the first time where I've seen something cause an improvement on one platform without also improving the other.
|
|
|
|
|
|
#57 | |
|
Mar 2003
New Zealand
13×89 Posts |
Quote:
I'll leave the code as it is for now, I can add a condition to only use the modification for certain GCC versions if that turns out to be the cause. |
|
|
|
|
|
|
#58 | |
|
Oct 2006
On a Suzuki Boulevard C90
2×3×41 Posts |
Quote:
One other thing: for Linux when using the inline assembly code, can you add Code:
-Xassembler -mregnames The only other source change I am making now is BASE from 5 to 2 and HASH_MAX_DENSITY from 0.65 to 0.32, since that showed an improvement on all of the machines.
Last fiddled with by BlisteringSheep on 2006-12-12 at 04:36 Reason: added other source changes |
|
|
|
|
|
|
#59 | |
|
Mar 2003
New Zealand
13·89 Posts |
Quote:
I have also made a change to the inline mulmod code: Change the Makefile line with USE_INLINE_MULMOD=1 to USE_INLINE_MULMOD=3 to try it out. It is the same idea as in version 1.4.9 but done using a global variable, the GCC version that didn't like the 1.4.9 modification might like this one better. (You can set USE_INLINE_MULMOD=2 to use the 1.4.9 modification). |
|
|
|
|
|
|
#60 | |
|
Oct 2006
On a Suzuki Boulevard C90
2·3·41 Posts |
Quote:
![]()
|
|
|
|
|
|
|
#61 |
|
"Jason Goatcher"
Mar 2005
3·7·167 Posts |
How does sr2sieve Linux compare to proth sieve linux? Specifically, in terms of Seventeen or Bust sieving.
|
|
|
|
|
|
#62 |
|
Oct 2006
On a Suzuki Boulevard C90
2×3×41 Posts |
|
|
|
|
|
|
#63 | |
|
Jun 2003
31×163 Posts |
Quote:
Anyway, on x86, I think sr2sieve is about 35% slower than proth_sieve for sob. I am quoting this from memory, so I could be wrong. If you can do the benchmark and post it here, that'd be super -- especially with a 64 bit build of sr2sieve. |
|
|
|
|
|
|
#64 |
|
Oct 2006
On a Suzuki Boulevard C90
2×3×41 Posts |
That sounds about like what I remember from the couple of x86 sieving tests that I did. I do have an EM64T (3.2 GHz Nocona) that I could do a benchmark on; is there a 64-bit proth_sieve for Linux?
|
|
|
|
|
|
#65 |
|
"Mark"
Apr 2003
Between here and the
11000110010112 Posts |
|
|
|
|
|
|
#66 |
|
Oct 2006
On a Suzuki Boulevard C90
2×3×41 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| srsieve/sr2sieve enhancements | rogue | Software | 300 | 2021-03-18 20:31 |
| 32-bit of sr1sieve and sr2sieve for Win | pepi37 | Software | 5 | 2013-08-09 22:31 |
| sr2sieve question | SaneMur | Information & Answers | 2 | 2011-08-21 22:04 |
| sr2sieve client | mgpower0 | Prime Sierpinski Project | 54 | 2008-07-15 16:50 |
| How to use sr2sieve | nuggetprime | Riesel Prime Search | 40 | 2007-12-03 06:01 |