mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2012-09-27, 19:26   #111
swellman
 
swellman's Avatar
 
Jun 2012

24·181 Posts
Default

Quote:
Originally Posted by bsquared View Post
I was having the same problem over here. Not sure what's causing it, but it doesn't seem to be related to yafu. The linux version (with the x86_64 assembler improvements) doesn't have the problem.
OK, thanks for the response. I'll try this composite again on different machines once I return home (currently traveling).

I have been considering installing Ubuntu (dual boot) on one of my Windows boxes. Never played with Linux, but it sounds like it's a lot more non-CS user friendly than it was 10 years ago when I last considered making the plunge.

Is the performance increase in factoring under Linux substantial enough to justify the pain of the learning curve? Just curious.
swellman is online now   Reply With Quote
Old 2012-09-27, 19:33   #112
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Quote:
Originally Posted by swellman View Post
OK, thanks for the response. I'll try this composite again on different machines once I return home (currently traveling).

I have been considering installing Ubuntu (dual boot) on one of my Windows boxes. Never played with Linux, but it sounds like it's a lot more non-CS user friendly than it was 10 years ago when I last considered making the plunge.

Is the performance increase in factoring under Linux substantial enough to justify the pain of the learning curve? Just curious.
You might consider a virtual box with Linux inside Windows. The gain from 64bit/assembly routines is significant enough that even inside a virtual box, it's still quite a bit faster.
Dubslow is offline   Reply With Quote
Old 2012-09-28, 05:19   #113
Kosmaj
 
Kosmaj's Avatar
 
Nov 2003

362210 Posts
Default

Seconding the following idea. It's exactly what I wanted to suggest.

Quote:
Originally Posted by bsquared View Post
No problem.

It would be easy to do. Options are fun!
Quote:
Originally Posted by jcrombie View Post

re: making the crossover point an option, that might not be a bad idea. I suspect that even with 300 digit numbers, there could be a speed improvement. And making this an option would somewhat "document" what is going on.
Kosmaj is offline   Reply With Quote
Old 2012-09-28, 05:27   #114
swellman
 
swellman's Avatar
 
Jun 2012

24×181 Posts
Default

Dubslow

Maybe I'll try the virtual box thing too (on a machine separate from the Ubuntu dual boot). Thanks for the suggestion.

bsquared
Would I be out of line starting (or requesting) a "YAFU on Linux" thread? While there are a good number of posts discussing Linux on MF (including the Linux subforum), they are often about very specific or scattered subjects and often years out of date. If nothing else, it might help Linux newbs like myself get started using YAFU on Linux even if it is just links to relevant posts around the forum.

Last fiddled with by swellman on 2012-09-28 at 05:31 Reason: Clarity
swellman is online now   Reply With Quote
Old 2012-09-28, 05:39   #115
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×2,399 Posts
Default

Quote:
Originally Posted by swellman View Post
bsquared
Would I be out of line starting (or requesting) a "YAFU on Linux" thread? While there are a good number of posts discussing Linux on MF (including the Linux subforum), they are often about very specific or scattered subjects and often years out of date. If nothing else, it might help Linux newbs like myself get started using YAFU on Linux even if it is just links to relevant posts around the forum.
It's not really different from Windows AFAIK. You open a terminal, change to the YAFU dir, "./yafu" and off you go. But feel free to start a thread.
Dubslow is offline   Reply With Quote
Old 2012-09-28, 14:12   #116
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

334210 Posts
Default

Quote:
Originally Posted by jcrombie View Post
It was just a misunderstanding then. I had "-pretest 20" which implied B1=11e3 and would of been below that limit.

re: making the crossover point an option, that might not be a bad idea. I suspect that even with 300 digit numbers, there could be a speed improvement. And making this an option would somewhat "document" what is going on.
SVN 240
bsquared is offline   Reply With Quote
Old 2012-09-28, 20:39   #117
jcrombie
 
jcrombie's Avatar
 
"Jonathan"
Jul 2010
In a tangled web...

2·107 Posts
Default

Quote:
Originally Posted by bsquared View Post
SVN 240
Seems to be working just fine! Thanks again!

btw, the option, which is not documented, is "-ext_ecm N" where N is the crossover point.

eg. "-ext_ecm 10000" to start multi-threaded ecm'ing at B1=11000.
jcrombie is offline   Reply With Quote
Old 2012-09-28, 20:44   #118
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2×3×557 Posts
Default

You got it, sorry about that. I'll update the documentation before releasing the next version.
bsquared is offline   Reply With Quote
Old 2012-09-30, 16:47   #119
swellman
 
swellman's Avatar
 
Jun 2012

B5016 Posts
Default Win32 binaries compiled with zlib?

I think I've found the source of my earlier problems combining nfs.dat files between win32 snd win64 boxes - the nfs.dat files from the win32 machines are compressed. Once I extracted the win32 .dat files, there were fully compatible with my win64 boxes.

Can the ZLIB=1 feature (or whatever is causing this) be turned off when compiling the win32 YAFU binaries in the next release? I know it was an issue during a past release, looks like win32 slipped by somehow. No biggie if it can't be removed - now that I know it's there, I can just extract the data file when moving it from a win32 to a win64 box.
swellman is online now   Reply With Quote
Old 2012-10-03, 08:44   #120
VolMike
 
VolMike's Avatar
 
Jun 2007
Moscow,Russia

7×19 Posts
Default problem with -op parameter

I have a problem with -op in yafu 1.32.1 win32.
F.e. when written in windows batch file
%yafu_path% "factor(12234765987623896452346987687998273465234523452345234523452345798768769876842376985762345)" -op primes.txt -threads 4 -plan normal -p -ecm_path %ecm_path%

yafu completes factorization but doesn't create primes.txt. All other parameters are used in factorization process (4 threads, gmp_ecm in ecm stage, etc). What's wrong with -op. Is that well known bug, or am I doing something wrong?
VolMike is offline   Reply With Quote
Old 2012-10-03, 11:50   #121
WraithX
 
WraithX's Avatar
 
Mar 2006

1D816 Posts
Default

Quote:
Originally Posted by VolMike View Post
I have a problem with -op in yafu 1.32.1 win32.

yafu completes factorization but doesn't create primes.txt. All other parameters are used in factorization process (4 threads, gmp_ecm in ecm stage, etc). What's wrong with -op. Is that well known bug, or am I doing something wrong?
The purpose of -op is to check if an input number is prime or prp and then "O"utput that "P"rime number to a file.

If you'd like to save all the factors of an input number out to a file you can use the -of option, which will "O"utput "F"actors to a file.

There is also a -ou option which will "O"utput an "U"nfactored number to a specified file if yafu knows that the input number is composite, but was unable to find any factors before stopping.
WraithX is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
Where to report bugs Matt Software 1 2007-02-20 19:13
Possible Prime95 bugs JuanTutors Software 9 2006-09-24 21:22
RMA 1.7 beta bugs TTn 15k Search 2 2004-11-24 22:11
RMA 1.6 fixes LLR bugs! TTn 15k Search 16 2004-06-16 01:22

All times are UTC. The time now is 04:41.

Sun Nov 29 04:41:45 UTC 2020 up 80 days, 1:52, 3 users, load averages: 1.56, 1.48, 1.36

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.