![]() |
|
|
#78 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3×52×71 Posts |
Stage 1 is 10 Mins with AVX512 and 14 Mins with FMA3
Crazy idea ... can I run Stage 1 with AVX512 and Stage 2 with FMA3? Probably not worth the effort for anyone. I'll wait for the AVX512 version of 30.8, 28.0M 20GB RAM 600K/273M (Chosen by Prime95) Stage 1: 14 Mins Stage 2: 23 Mins 28.0M 20GB RAM 600K/120M (Chosen by me) Stage 1: 14 Stage 2: 10 28.0M 24GB RAM 600K/120M (Chosen by me) Stage 1: 14 Stage 2: 10 ... 4 GB not a big diff. |
|
|
|
|
|
#79 |
|
Jun 2003
125308 Posts |
Easily done. Run stage 1 only (B1=B2) in one folder, and stage 2 in another folder after copying over the save files.
|
|
|
|
|
|
#80 |
|
Jun 2003
23·683 Posts |
How do the parameter selection (D / poly / memory usage / actual B2) look like for these options?
|
|
|
|
|
|
#81 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3×52×71 Posts |
Quote:
First below uses 24GB Second uses 20 GB [Dec 3 00:57] [Dec 3 00:57] P-1 on M28052377 with B1=600000, B2=120000000 [Dec 3 00:57] Setting affinity to run helper thread 2 on CPU core #3 ... and 6 more of these [Dec 3 00:57] Using FMA3 FFT length 1536K, Pass1=384, Pass2=4K, clm=2, 8 threads [Dec 3 01:11] M28052377 stage 1 complete. 1731726 transforms. Total time: 834.494 sec. [Dec 3 01:11] Round off: 0.06515492749 [Dec 3 01:11] Conversion of stage 1 result complete. 5 transforms, 1 modular inverse. Time: 8.425 sec. [Dec 3 01:11] Switching to FMA3 FFT length 1680K, Pass1=448, Pass2=3840, clm=2, 8 threads [Dec 3 01:11] Setting affinity to run helper thread 1 on CPU core #2 ... [Dec 3 01:11] Using 24827MB of memory. D: 3570, 384x1474 polynomial multiplication. [Dec 3 01:12] Round off: 0.006904345816, poly_size: 2, EB: 1.04634, SM: 2.39624 [Dec 3 01:12] Round off: 0.0104635992, poly_size: 4 [Dec 3 01:12] Round off: 0.01654535736, poly_size: 8 [Dec 3 01:12] Round off: 0.02423378668, poly_size: 16 [Dec 3 01:12] Round off: 0.04181992679, poly_size: 32 [Dec 3 01:12] Round off: 0.04973827218, poly_size: 64 [Dec 3 01:12] Round off: 0.06909625713, poly_size: 128 [Dec 3 01:12] Round off: 0.09012404759, poly_size: 256 [Dec 3 01:12] Round off: 0.09836611984, poly_size: 512 [Dec 3 01:13] Stage 2 init complete. 10136 transforms. Time: 67.378 sec. [Dec 3 01:13] Round off: 0.191300468 [Dec 3 01:22] M28052377 stage 2 complete. 384153 transforms. Total time: 579.687 sec. [Dec 3 01:22] Round off: 0.1936677887 [Dec 3 01:22] Stage 2 GCD complete. Time: 5.263 sec. [Dec 3 01:22] M28052377 completed P-1, B1=600000, B2=121965480, Wi4: D2F70E68 [Dec 3 08:58] [Dec 3 08:58] P-1 on M28040009 with B1=600000, B2=120000000 [Dec 3 08:58] Using FMA3 FFT length 1440K, Pass1=320, Pass2=4608, clm=2, 8 threads [Dec 3 08:58] Setting affinity to run helper thread 1 on CPU core #2 ... [Dec 3 09:11] M28040009 stage 1 complete. 1731726 transforms. Total time: 802.705 sec. [Dec 3 09:11] Round off: 0.34375 [Dec 3 09:11] Conversion of stage 1 result complete. 5 transforms, 1 modular inverse. Time: 8.493 sec. [Dec 3 09:11] Setting affinity to run helper thread 1 on CPU core #2 ... [Dec 3 09:11] Switching to FMA3 FFT length 1680K, Pass1=448, Pass2=3840, clm=2, 8 threads [Dec 3 09:11] Using 19761MB of memory. D: 2730, 288x1190 polynomial multiplication. [Dec 3 09:11] Round off: 0.007246532776, poly_size: 2, EB: 1.26823, SM: 2.29248 [Dec 3 09:11] Round off: 0.01052497622, poly_size: 4 [Dec 3 09:12] Round off: 0.01707247617, poly_size: 8 [Dec 3 09:12] Round off: 0.02619342368, poly_size: 16 [Dec 3 09:12] Round off: 0.04025678108, poly_size: 32 [Dec 3 09:12] Round off: 0.04762847341, poly_size: 64 [Dec 3 09:12] Round off: 0.06455924855, poly_size: 128 [Dec 3 09:12] Round off: 0.09652106448, poly_size: 256 [Dec 3 09:12] Round off: 0.05227529114, poly_size: 512 [Dec 3 09:12] Stage 2 init complete. 7648 transforms. Time: 36.623 sec. [Dec 3 09:12] Round off: 0.1491780477 [Dec 3 09:22] M28040009 stage 2 complete. 469459 transforms. Total time: 591.273 sec. [Dec 3 09:22] Round off: 0.1693160104 [Dec 3 09:22] Stage 2 GCD complete. Time: 5.255 sec. [Dec 3 09:22] M28040009 completed P-1, B1=600000, B2=120040830, Wi4: D2BFE942 Last fiddled with by petrw1 on 2021-12-03 at 17:57 |
|
|
|
|
|
|
#82 |
|
Jun 2003
155816 Posts |
Something's not quite right here. The 24GB option shows about 20% less transforms, yet sees no significant improvement in elapsed time. I wonder if there was some interference or something during these tests. If you have build 1 sitting around, can you repeat the tests and see if the pattern holds?
|
|
|
|
|
|
#83 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
10100110011012 Posts |
Quote:
No one will be on the computer. And I am not aware of any overnight processing....at least not all night because these same numbers are on all the overnight runs. |
|
|
|
|
|
|
#84 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3·52·71 Posts |
I reran B1=600K/B2=TBD
Interestingly when it switched from AVX512 to FMA3 it changed the B2. [Dec 3 12:41] Worker starting [Dec 3 12:41] Setting affinity to run worker on CPU core #1 [Dec 3 12:41] [Dec 3 12:41] P-1 on M28053787 with B1=600000, B2=TBD [Dec 3 12:41] Setting affinity to run helper thread 2 on CPU core #3 ... [Dec 3 12:41] Using FMA3 FFT length 1536K, Pass1=256, Pass2=6K, clm=4, 8 threads [Dec 3 12:41] M28053787 stage 1 is 1.10% complete. [Dec 3 12:55] M28053787 stage 1 complete. 1712436 transforms. Total time: 818.117 sec. [Dec 3 12:55] Round off: 0.078125 [Dec 3 12:55] Conversion of stage 1 result complete. 5 transforms, 1 modular inverse. Time: 8.424 sec. [Dec 3 12:55] With trial factoring done to 2^75, optimal B2 is 615*B1 = 369000000. [Dec 3 12:55] If no prior P-1, chance of a new factor is 5.55% [Dec 3 12:55] Switching to FMA3 FFT length 1680K, Pass1=448, Pass2=3840, clm=2, 8 threads [Dec 3 12:55] Setting affinity to run helper thread 5 on CPU core #6 ... [Dec 3 12:55] With trial factoring done to 2^75, optimal B2 is 555*B1 = 333000000. [Dec 3 12:55] If no prior P-1, chance of a new factor is 5.48% [Dec 3 12:55] Using 24827MB of memory. D: 3570, 384x1474 polynomial multiplication. [Dec 3 12:55] Round off: 0.007483116829, poly_size: 2, EB: 1.0447, SM: 2.39624 [Dec 3 12:56] Round off: 0.01062373627, poly_size: 4 [Dec 3 12:56] Round off: 0.01606212542, poly_size: 8 [Dec 3 12:56] Round off: 0.02399381441, poly_size: 16 [Dec 3 12:56] Round off: 0.04149382492, poly_size: 32 [Dec 3 12:56] Round off: 0.04831414652, poly_size: 64 [Dec 3 12:56] Round off: 0.07144245388, poly_size: 128 [Dec 3 12:56] Round off: 0.0934058712, poly_size: 256 [Dec 3 12:56] Round off: 0.09837685356, poly_size: 512 [Dec 3 12:56] Stage 2 init complete. 10138 transforms. Time: 60.797 sec. [Dec 3 12:56] Round off: 0.1785826166 [Dec 3 13:21] M28053787 stage 2 complete. 1047025 transforms. Total time: 1479.956 sec. [Dec 3 13:21] Round off: 0.2112125547 [Dec 3 13:21] Stage 2 GCD complete. Time: 5.265 sec. [Dec 3 13:21] M28053787 completed P-1, B1=600000, B2=333152400, Wi4: C626955D |
|
|
|
|
|
#85 |
|
"GIMFS"
Sep 2002
Oeiras, Portugal
110001011102 Posts |
Why are you saying it switched from AVX-512 to FMA3 FFT?
As far as I can see, upon entering stage 2 it changed the length of the FFT (and as a consequence the value of B2) but not its type. Last fiddled with by lycorn on 2021-12-03 at 20:58 |
|
|
|
|
|
#86 | |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
123158 Posts |
Quote:
I couldn't think of another reason for the change...not that there isn't. |
|
|
|
|
|
|
#87 | |
|
"Robert Gerbicz"
Oct 2005
Hungary
3·547 Posts |
Quote:
just guessing that the 2nd is eulerphi(1050)/2=120, but what is the 403 ? Last fiddled with by R. Gerbicz on 2021-12-03 at 22:01 |
|
|
|
|
|
|
#88 |
|
1976 Toyota Corona years forever!
"Wayne"
Nov 2006
Saskatchewan, Canada
3·52·71 Posts |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Do not post your results here! | kar_bon | Prime Wiki | 40 | 2022-04-03 19:05 |
| what should I post ? | science_man_88 | science_man_88 | 24 | 2018-10-19 23:00 |
| Where to post job ad? | xilman | Linux | 2 | 2010-12-15 16:39 |
| Moderated Post | kar_bon | Forum Feedback | 3 | 2010-09-28 08:01 |
| Something that I just had to post/buy | dave_0273 | Lounge | 1 | 2005-02-27 18:36 |