mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Operation Billion Digits (https://www.mersenneforum.org/forumdisplay.php?f=50)
-   -   Factor5 on Multicore Machines (https://www.mersenneforum.org/showthread.php?t=14515)

Rodrigo 2011-01-01 17:18

Factor5 on Multicore Machines
 
Hello and Happy New Year!

Santa might yet deliver a quad- or hex-core machine :wink:, and I'm wondering -- is there a way to dedicate, say, just one core to OBD?

I'm using Factor4 on my Windows 98 system, so I'm not familiar with how Factor5 works. But if I did get a six-core CPU, I'd be tempted to put one of them to crunch away on Factor5.

Just a thought that popped up. Equally quick-and-dirty replies are preferred!

Rodrigo

Mini-Geek 2011-01-01 17:45

Factor5 can run on however many cores/threads you tell it to.

Rodrigo 2011-01-01 18:12

[QUOTE=Mini-Geek;244255]Factor5 can run on however many cores/threads you tell it to.[/QUOTE]
Cool, so there's a way to specify that, as with Prime95.

Thanks!

Rodrigo

ET_ 2011-01-01 18:53

[QUOTE=Rodrigo;244259]Cool, so there's a way to specify that, as with Prime95.

Thanks!

Rodrigo[/QUOTE]

You can run ./factor5 <exponent> <bit_min> <bit_max> <num_threads>

where num_threads can be 1, 2, 4, 8 or 16.

Luigi

Rodrigo 2011-01-02 04:50

[QUOTE=ET_;244270]You can run ./factor5 <exponent> <bit_min> <bit_max> <num_threads>

where num_threads can be 1, 2, 4, 8 or 16.

Luigi[/QUOTE]
Excellent! :smile:

I look forward to experimenting with this, if and when the new PC is born.

Rodrigo


All times are UTC. The time now is 11:48.

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