mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > FactorDB

Reply
 
Thread Tools
Old 2014-04-02, 21:51   #1
Aillas
 
Aillas's Avatar
 
Oct 2002
France

2×5×13 Posts
Default Yafu.pl and http url to get/send results

Hi,

I have some questions on the yafu.pl script and also on the url to get/send the results back to factordb.

1 - Diff between Mersenne version of Yafu.pl and Yoyo/rechenkraft one.

Code:
Yoyo: http://factorization.ath.cx/listtype.php?t=3&mindig=70&perpage=1&start=$rand&download=1
Mersenne: http://factorization.ath.cx/listtype.php?t=3&mindig=60&maxdig=80&perpage=1&start=$rand&download=1
I've tested the maxdig parameter and it seems it's not taken into account. Bug or unsupported feature?

2 - Yafu.pl: Is it possible to send a batch of results in one request?

I've updated the script to retrieve a batch of factors in one request (perpage=20) but yafu.pl returns result after each factorization.
Does factordb can accept multiple results in one request?
If yes, how to update yafu.pl?

3 - What is the expiration time of retrieved exponents?

It doesn't seems to be a problem when I retrieve 20 factors from 60-80 range but if I increment the number of factors to retrieve of when the range will increase, I would not work on reassigned factors.

Thanks
Aillas is offline   Reply With Quote
Old 2014-04-02, 22:29   #2
ChristianB
 
Apr 2013
Germany

311 Posts
Default

Quote:
Originally Posted by Aillas View Post
Hi,

I have some questions on the yafu.pl script and also on the url to get/send the results back to factordb.

1 - Diff between Mersenne version of Yafu.pl and Yoyo/rechenkraft one.

Code:
Yoyo: http://factorization.ath.cx/listtype.php?t=3&mindig=70&perpage=1&start=$rand&download=1
Mersenne: http://factorization.ath.cx/listtype.php?t=3&mindig=60&maxdig=80&perpage=1&start=$rand&download=1
I've tested the maxdig parameter and it seems it's not taken into account. Bug or unsupported feature?
I would say unsupported feature.

Quote:
Originally Posted by Aillas View Post
2 - Yafu.pl: Is it possible to send a batch of results in one request?

I've updated the script to retrieve a batch of factors in one request (perpage=20) but yafu.pl returns result after each factorization.
Does factordb can accept multiple results in one request?
If yes, how to update yafu.pl?
For normal operations its better to report the results immediately. Or else someone else is also working on the same number in the meantime.

Quote:
Originally Posted by Aillas View Post
3 - What is the expiration time of retrieved exponents?

It doesn't seems to be a problem when I retrieve 20 factors from 60-80 range but if I increment the number of factors to retrieve of when the range will increase, I would not work on reassigned factors.

Thanks
The numbers you retrieve are not reserved and can be factored by someone else in the meantime. That's why the yafu.pl script has the random start value. This ensures that if several people run this script they still get different numbers.
ChristianB is offline   Reply With Quote
Old 2014-04-03, 07:54   #3
Aillas
 
Aillas's Avatar
 
Oct 2002
France

2·5·13 Posts
Default

So when getting higher range, it would be better to reduce the number of components to fetch to avoid duplicate effort, as factorization will be longer by component.

Thanks for the info.
Aillas 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
How to send a PM to Batalov pinhodecarlos Forum Feedback 3 2016-06-08 02:43
Where do I send my PRP primes with large k? Trilo Riesel Prime Search 3 2013-08-20 00:32
How to: send results back after using CUDALucas Koyaanisqatsi Information & Answers 5 2013-02-06 10:08
Where to send ECM curves completed? edorajh Factoring 5 2005-09-26 08:54

All times are UTC. The time now is 12:20.


Sat Jul 17 12:20:52 UTC 2021 up 50 days, 10:08, 1 user, load averages: 1.44, 1.43, 1.40

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.