![]() |
![]() |
#34 | |
"Ben"
Feb 2007
3,361 Posts |
![]() Quote:
The input is a random 91 digit (300 bit) RSA number with SIQS, on a Xeon 5122 (very similar to your cpu), timings are for 16 threads, only the sieving portion time. gcc 7.3 SSE41: 129 sec AVX2: 135 sec AVX2-BMI2: 135 sec AVX512: 96 sec And the same with icc compiler: SSE41: broken! AVX2: 135 sec AVX2-BMI2: 135 sec AVX512: 92 sec By the way, the Xeon 5120 CPU should not only have AVX2, but also AVX512. That should get you a substantial speed improvement with SIQS (as above). Add SKYLAKEX=1 to the WIP version build line to enable it for that cpu. Regarding the .ini file error spewing, you can ignore that, and I will add it to the list to fix. Finally regarding the SIQS segfaults in trunk, it is high time I merged wip back into trunk, which should take care of that. Apologies for all of the confusion and thanks for all of the testing! |
|
![]() |
![]() |
![]() |
#35 | |
"Ben"
Feb 2007
3,361 Posts |
![]() Quote:
Still, I would be curious to know, again if you are willing, if you are able to build with SKYLAKEX and how that changes your SIQS times. The number I used in the benchmarks above was: Code:
1173409788347755181387080556399719318596373877059851463520389102364922325971774873949704379 |
|
![]() |
![]() |
![]() |
#36 |
"Ed Hall"
Dec 2009
Adirondack Mtns
24×13×17 Posts |
![]()
Thanks Ben.
I occasionally get a Colab instance with AVX512 in the flags. Is there something in particular I should look for other than that, to try adding SKYLAKE=1, or possibly AVX512=1? |
![]() |
![]() |
![]() |
#37 | |
"Ben"
Feb 2007
3,361 Posts |
![]() Quote:
I should also make a version that just uses AVX512F since the extra BW isn't on all cpus and doesn't add much extra anyway. There are so many cpu variations out there now; I need a better method of managing all this... |
|
![]() |
![]() |
![]() |
#38 | ||
"James Heinrich"
May 2004
ex-Northern Ontario
1100101001102 Posts |
![]() Quote:
make NFS=1 USE_SSE41=1 USE_AVX2=1 SKYLAKEX=1 output the usual stuff for a minute or so, and then ended with: Quote:
|
||
![]() |
![]() |
![]() |
#39 | |
"Ben"
Feb 2007
3,361 Posts |
![]() Quote:
LIBS += -lecm -lgmp which should be inside of a ifeq ($(SKYLAKEX),1) block around line 178 in the makefile. |
|
![]() |
![]() |
![]() |
#40 | |
"James Heinrich"
May 2004
ex-Northern Ontario
2·1,619 Posts |
![]()
I changed the path in Makefile, and it seems to have compiled without errors, but when I run yafu I just get:
Quote:
|
|
![]() |
![]() |
![]() |
#41 |
"Ben"
Feb 2007
3,361 Posts |
![]() |
![]() |
![]() |
![]() |
#42 | |
"James Heinrich"
May 2004
ex-Northern Ontario
2·1,619 Posts |
![]()
I don't see any AVX512 listed?:
Quote:
|
|
![]() |
![]() |
![]() |
#43 |
"Ben"
Feb 2007
336110 Posts |
![]()
Yep, seems to be missing. The VM must be masking it... I've run into that with VirtualBox before, not sure about other VMs.
Sorry to run you through all of that! Looks like your original sse41 build is probably the best one. But it wasn't all a waste - you are at least getting more experience with building finicky software on linux ![]() |
![]() |
![]() |
![]() |
#44 |
"Ed Hall"
Dec 2009
Adirondack Mtns
1101110100002 Posts |
![]()
Probably not helpful, but I have had Virtualbox hide 64bit capability until I found I had to set something in the BIOS. I think it was some sort of hardware VM setting. Could the missing AVX512 be something of that sort?
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running YAFU via Aliqueit doesn't find yafu.ini | EdH | YAFU | 8 | 2018-03-14 17:22 |
Adventures with 16f siever | VBCurtis | Factoring | 6 | 2018-01-24 11:06 |
Building yafu on windows/linux | 2147483647 | YAFU | 19 | 2016-12-09 07:59 |
The Adventures of a Donkey | a1call | Puzzles | 9 | 2016-05-27 16:50 |
Building gcc 4.4.0 | CRGreathouse | Software | 1 | 2009-07-07 22:25 |