View Single Post
Old 2020-11-18, 11:05   #36
penlu
 
Jul 2018

111112 Posts
Default

Here is some python: https://github.com/penlu/factoring

The code is messy and variously suboptimal. Let me know if something is broken or if you need additional information to get it working.

To avoid repeatedly poking disk with msieve's save files, I run it as:
Code:
TMPDIR=/dev/shm python worker2.py
I have a machine working at 20dd, offset 40000. This script is using rather less than one core. The bottleneck for such small composites appears to be communication with factordb: it allows us four parallel requests per IP. The script above uses two requests per number: one to query its ID and one to submit its factorization. With the response time I get from factordb, this apparently works out to some 250 factored per minute. This is maybe about the throughput the script will manage per IP address it is run on.
penlu is offline   Reply With Quote