![]() |
![]() |
#166 | |
Sep 2010
Scandinavia
3·5·41 Posts |
![]() Quote:
I'm not expecting YAFU to replace an experienced human. But I am glad to see that the threshold for how large numbers can be factored automatically with reasonable efficiency may move upwards with some clever automation. Trial sieving isn't done automatically is it? Perhaps trial sieve the n best polys after x minutes of searching. Then trial sieve better polynomials as they are found. When the [estimated sieve time] to [poly search time] reaches a certain point, we are done. Or a hybrid between that and the current. (What values of -pbatch make sense? I'm thinking that for large inputs the optimal value may be substantially larger than 250.) Is it likely that YAFU will have GPU support in the future? |
|
![]() |
![]() |
![]() |
#167 | |
"Ben"
Feb 2007
336110 Posts |
![]()
At the moment, for GNFS, no. It will do trial sieving of SNFS polys, and the framework is such that it will be straightforward to make the same happen for GNFS, but right now that automation is not implemented.
Quote:
It could have GPU support now, for anyone that compiles their own libraries and wants to turn on msieve gpu capability. If you mean gpu support for other stuff like siqs, then in the medium time frame (year-ish) the answer is no. |
|
![]() |
![]() |
![]() |
#168 | ||
Sep 2010
Scandinavia
3×5×41 Posts |
![]() Quote:
Quote:
I was mostly thinking about poly search and ECM stage 1. |
||
![]() |
![]() |
![]() |
#169 |
"Ben"
Feb 2007
3,361 Posts |
![]()
Building GPU Msieve will give you poly search capability today (note: I don't plan on releasing an "official" yafu+gpu-msieve). When/if the production GMP-ECM codebase builds with a gpu option, then we'll have that too (but I also don't plan on an officially supported release with it enabled).
|
![]() |
![]() |
![]() |
#170 |
Mar 2010
5×11 Posts |
![]()
I don't know how you'd implement it, but it seems that YAFU could help us all be smarter about using SNFS. A quick calculation up front regarding the equivalent gnfs difficulty would help choose between snfs and gnfs, as well as figuring out how much ECM to do.
For example, the C139 from 10^217+2 will take much less time using GNFS because the SNFS equivalent difficulty is much more. Similarly, 10^131+4 will take no time using SNFS and needs maybe 5 minutes of ECM. Both of these decisions could either be automated or at least presented to the user to choose which course of action is best. Thoughts? |
![]() |
![]() |
![]() |
#171 |
May 2013
2×3 Posts |
![]()
Has anyone managed to get Yafu working on an arm cpu?
The code seems heavily optimized and I don't see a "generic" path for some functions. Walter |
![]() |
![]() |
![]() |
#172 |
Tribal Bullet
Oct 2004
2·3·19·31 Posts |
![]()
That's by design, you must have an SSE2 system to compile the code. This was done because it's too much work to maintain a generic branch of code that almost nobody else needs.
|
![]() |
![]() |
![]() |
#173 | |
"Ben"
Feb 2007
3,361 Posts |
![]() Quote:
@jason: Will msieve compile on an ARM? I know it used to, but with all of your recent development I guess I'm not sure anymore. I haven't looked through the source in a while. |
|
![]() |
![]() |
![]() |
#174 |
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
10110101000112 Posts |
![]()
I am pretty certain fivemack managed to compile it on arm.
I can understand stopping generic x86 but it would be nice if c code existed for things like arm. I would guess in the next few years they will become a viable computing platform here as they use so little power. fivemack is the one to talk about concerning arm I think. Last fiddled with by henryzz on 2013-08-08 at 14:51 |
![]() |
![]() |
![]() |
#175 |
"Antonio Key"
Sep 2011
UK
32·59 Posts |
![]()
Would it be possible to replace the "plan=(light/normal/deep/custom)" in the .ini with:-
qs_plan=(light/normal/deep/custom) gnfs_plan=(light/normal/deep/custom) (Bold are just my preferred defaults) and then automatically select the test plan for a composite according to the qs/gnfs crossover point? Of course you could go the whole way and also replace "pretest_ratio=" with:- "qs_ratio=" and "gnfs_ratio=" for those people who want to customize both situations, but I would be very happy if just the first part could be implemented. |
![]() |
![]() |
![]() |
#176 | |
Tribal Bullet
Oct 2004
67168 Posts |
![]() Quote:
Fivemack got the code to compile on an ARM eval board, and ran NFS linear algebra on a commendably large matrix given how tiny that system is. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ARM ASM request | ET_ | Programming | 0 | 2018-11-01 14:57 |
Bug/request | Dubslow | YAFU | 4 | 2012-03-31 03:07 |
Odd request? | Xyzzy | Lounge | 23 | 2011-03-08 17:50 |
Prime95 featured in Maximum PC! | ixfd64 | Software | 10 | 2010-05-31 15:21 |
GMP-ECM Request | rogue | GMP-ECM | 4 | 2009-11-23 15:07 |