mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2010-11-17, 15:58   #1
otutusaus
 
Nov 2010
Ann Arbor, MI

5E16 Posts
Default Why factoring is single-core designed?

Whenever I run factoring it's limited to "one core job", even if I assign more.
For example, setting up factoring on a Core2 Duo (1 worker/2 threads), it uses both cores but amounting a total of 50% total CPU usage and leaving 50% of idle time. When assigning to an 1055t X6 (1 worker/6 threads), it uses all cores but amounting 16.66% of total CPU usage.
Any reason for that? Is it planned to be redesigned to use 100% of all cores?
otutusaus is offline   Reply With Quote
Old 2010-11-17, 16:03   #2
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by otutusaus View Post
Whenever I run factoring it's limited to "one core job", even if I assign more.
For example, setting up factoring on a Core2 Duo (1 worker/2 threads), it uses both cores but amounting a total of 50% total CPU usage and leaving 50% of idle time. When assigning to an 1055t X6 (1 worker/6 threads), it uses all cores but amounting 16.66% of total CPU usage.
Any reason for that? Is it planned to be redesigned to use 100% of all cores?
Your question assumes facts that are false.
R.D. Silverman is offline   Reply With Quote
Old 2010-11-17, 16:11   #3
otutusaus
 
Nov 2010
Ann Arbor, MI

2·47 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Your question assumes facts that are false.
Can you point out what is false?
otutusaus is offline   Reply With Quote
Old 2010-11-17, 16:17   #4
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

746010 Posts
Default

Quote:
Originally Posted by otutusaus View Post
Can you point out what is false?
Your assumption that less than 100% of the processing capability is being used.
R.D. Silverman is offline   Reply With Quote
Old 2010-11-17, 16:20   #5
otutusaus
 
Nov 2010
Ann Arbor, MI

2×47 Posts
Default

Do you mean that there is a bottleneck when factoring that doesn't allow the use of more processing capability? My task manager is telling me that CPU usage in my 1055t X6 is 16.66%.
otutusaus is offline   Reply With Quote
Old 2010-11-17, 16:31   #6
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

4,271 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Your assumption that less than 100% of the processing capability is being used.
Assuming he's using Prime95's TF, this is an accurate assumption. This isn't a case where someone might think that only 50% of the processing capability is being used due to hyperthreading; it's really only using one core out of two or six.
Quote:
Originally Posted by otutusaus View Post
Whenever I run factoring it's limited to "one core job", even if I assign more.
For example, setting up factoring on a Core2 Duo (1 worker/2 threads), it uses both cores but amounting a total of 50% total CPU usage and leaving 50% of idle time. When assigning to an 1055t X6 (1 worker/6 threads), it uses all cores but amounting 16.66% of total CPU usage.
Any reason for that? Is it planned to be redesigned to use 100% of all cores?
First, I'll note that you are correct that the TF of Prime95 is only made to work on a single core, no matter how many threads you assign that worker. I think the reason is simply that both the FFT (LL/P-1) and TF code was originally written to be single-threaded only, and only the FFT code has been updated for multi-threading so far. I don't know of an exact plan to allow it to use more, but I'd imagine it's in the future plans. In the mean time, you can run multiple TF jobs in parallel, or use other software like Factor5 that is multi-thread enabled (but Factor5 is much slower per core than Prime95; usually it's just used for factoring numbers too large for Prime95).
Mini-Geek is offline   Reply With Quote
Old 2010-11-17, 16:55   #7
otutusaus
 
Nov 2010
Ann Arbor, MI

2×47 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Assuming he's using Prime95's TF, this is an accurate assumption.
Oops, sorry I forgot to mention that. Yes, I am using Prime95.

Quote:
Originally Posted by Mini-Geek View Post
First, I'll note that you are correct that the TF of Prime95 is only made to work on a single core, no matter how many threads you assign that worker.
You got my point.

Quote:
Originally Posted by Mini-Geek View Post
In the mean time, you can run multiple TF jobs in parallel, or use other software like Factor5 that is multi-thread enabled
Thanks for the link. Anyhow, any plans for multithreading Prime95 FT?
otutusaus is offline   Reply With Quote
Old 2010-11-17, 17:19   #8
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

5×997 Posts
Default

Quote:
Originally Posted by otutusaus View Post
Thanks for the link. Anyhow, any plans for multithreading Prime95 FT?
I'd be curious to ask why? On Dual Core and above PCs like you are talking about all but the largest of TF assignments will finish in under a day; the bulk of server assigned TF will complete in hours.

As pointed out above you can certainly run a seperate TF on each core.
petrw1 is online now   Reply With Quote
Old 2010-11-17, 19:13   #9
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

10000100102 Posts
Default

Without having tried it, I assume that if you configure Prime95 to run LL tests across multiple cores, and TF is being done as part of the LL assignment, the TF part runs on one core only with the rest idling away. So much for the "last bit of TF after P-1" idea...
ckdo is offline   Reply With Quote
Old 2010-11-17, 21:58   #10
otutusaus
 
Nov 2010
Ann Arbor, MI

2·47 Posts
Default

Quote:
Originally Posted by petrw1 View Post
I'd be curious to ask why? On Dual Core and above PCs like you are talking about all but the largest of TF assignments will finish in under a day; the bulk of server assigned TF will complete in hours.
I have some PC's working a few hours a day. I think it would be better to be able to send FT results more often (multicore) than having several FT tests running (single core), specially in the case of 6 cores.

Quote:
Originally Posted by petrw1 View Post
As pointed out above you can certainly run a seperate TF on each core.
That's what I have been doing up to now.

Last fiddled with by otutusaus on 2010-11-17 at 21:59
otutusaus is offline   Reply With Quote
Old 2010-11-18, 00:17   #11
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

100111111110012 Posts
Default

TF does not gain through-put by trying to do it on multiple cores. You will turn in more results per time period by having one core per test.
Uncwilly is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to focus manually a lens for which it was not designed. fivemack Astronomy 73 2018-02-04 20:07
Dual Core to process single work unit? JimboPrimer Homework Help 18 2011-08-28 04:08
exclude single core from quad core cpu for gimps jippie Information & Answers 7 2009-12-14 22:04
Core i7 Assigned Trial Factoring ScrappyJoel Software 8 2009-04-20 06:01
4 checkins in a single calendar month from a single computer Gary Edstrom Lounge 7 2003-01-13 22:35

All times are UTC. The time now is 16:23.


Tue Jan 18 16:23:10 UTC 2022 up 179 days, 10:52, 0 users, load averages: 1.48, 1.36, 1.32

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.

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