Override -maxmem parameter for ECM phase 2?

Fehler und Wünsche zum Projekt yoyo@home
Bugs and wishes for the project yoyo@home
Nachricht
Autor
akruppa
Idle-Sammler
Idle-Sammler
Beiträge: 3
Registriert: 02.09.2024 14:53

Override -maxmem parameter for ECM phase 2?

#1 Ungelesener Beitrag von akruppa » 02.09.2024 14:59

Hi,

is there a way of overriding the -maxmem parameter that is passed to ecm? Currently it seems to be always 10000 (10GB) which results in many polynomial modular reductions for larger B2. It would be nice to be able to give a P2 process more memory and do low-memory tasks on the other cores. (Of course, the Right Thing™ would be for us to write a multi-threaded ECM stage 2, but that is a lot of work :( )

Thanks,
Alex

akruppa
Idle-Sammler
Idle-Sammler
Beiträge: 3
Registriert: 02.09.2024 14:53

Re: Override -maxmem parameter for ECM phase 2?

#2 Ungelesener Beitrag von akruppa » 04.09.2024 09:12

I found a preload library https://github.com/jktr/arg-inject that can rewrite the argument list of a program and modified it so that it changes -maxmem 10000 to -maxmem 32768 and adds a -treefile parameter. It's a horrible hack, of course, but it seems to get the job done. Does the server expect a certain number of "blocks"? Allowing more memory and reducing memory use with -treefile will reduce the number of blocks, so I wonder if the server will accept the output file as valid.

Alex

Antworten

Zurück zu „Fehler, Wünsche / Bugs, Wishes“