mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > CADO-NFS

Reply
 
Thread Tools
Old 2022-07-26, 13:54   #1
bur
 
bur's Avatar
 
Aug 2020
79*6581e-4;3*2539e-3

2·293 Posts
Default Linear algebra using all available cores

I recently installed a fresh copy of CADO and it uses all available cores (including logical cores) for the LA step. Since it's a smaller number I simply ran ./cado-nfs.py $a -t 10.

I tried -t 10, "tasks.linalg.characters.threads = 2" and even played around with different values for "tasks.linalg.bwc.threads = 2x2" on the command line but nothing changed.

Polyselect and sieving is done with the number of threads I specified.

In the snapshot file it says tasks.threads = 10 and tasks.linalg.bwc.threads = 2x2


I would simply use msieve, but for this specific factorisation it spit out an "error -1" for every single relation. remdups also gave 99% bad relations. This never happened before, so I doubt it's related to the threading problem. And especially for small numbers it's much more convenient to just have CADO handle everything.
bur is offline   Reply With Quote
Old 2022-07-26, 15:04   #2
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

538910 Posts
Default

When I use the command-line flag --server-threads 10, all phases of the job use 10 threads or fewer. I haven't tried -t, and I'm not sure if they're two invocations of the same flag.

Why are you trying "2x2" for bwc instead of 4?
VBCurtis is offline   Reply With Quote
Old 2022-07-26, 16:59   #3
bur
 
bur's Avatar
 
Aug 2020
79*6581e-4;3*2539e-3

2×293 Posts
Default

Quote:
When I use the command-line flag --server-threads 10, all phases of the job use 10 threads or fewer. I haven't tried -t, and I'm not sure if they're two invocations of the same flag.
I assume it's the same, -t is from the readme.


Quote:
Why are you trying "2x2" for bwc instead of 4?
Because I don't understand the option... I just took it from params.c90 to see if it would change anything. Then I'd have investigated further.
bur is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
restarting nfs linear algebra cubaq YAFU 2 2017-04-02 11:35
Restarting linear algebra wombatman Msieve 2 2013-10-09 15:54
Linear algebra at 600% CRGreathouse Msieve 8 2009-08-05 07:25
Linear algebra proof Damian Math 8 2007-02-12 22:25
Linear algebra in MPQS R1zZ1 Factoring 2 2007-02-02 06:45

All times are UTC. The time now is 00:59.


Thu Aug 18 00:59:47 UTC 2022 up 41 days, 19:47, 1 user, load averages: 0.94, 1.06, 1.12

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔