mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-03-05, 08:31   #23
axn
 
axn's Avatar
 
Jun 2003

32·5·113 Posts
Default

BTW, the correct setting for P-1 to work on two threads is:
Code:
WorkerThreads=1
ThreadsPerTest=2
axn is online now   Reply With Quote
Old 2009-03-05, 13:04   #24
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

23·149 Posts
Default

Jumping late into this thread: it looks to me like dominicanpapi82 very likely has a hyperthreaded, single-core P4-3.2Hz. The apparent "second core" that Windows shows is not really there, it is very very different from the first, physical core. Hyperthreaded CPUs can give a performance boost typically around +10-15% over the non-hyperthreaded single-core, but results vary greatly depending on what the workload is (it could be +30%, it could actually be slower than single-core in some cases). There's plenty of threads on the forum about hyperthreaded performance; you'll probable find some testing results and optimal configurations in there. In the posted screenshot, the system was 42% idle over the doubled cores, which means that useful work is occupying 58/50=116% of the capacity of the non-hyperthreaded singlecore, which looks just about expected. Even if you do get the CPU utilization up to show close to 100%, your throughput is not going to be hugely better (doing simultaneous P-1 and TF will have slightly higher throughput than P-1 alone, but it also means that the P-1 will take nearly twice as long (maybe 1.85x?) to complete compared to it running by itself).
James Heinrich is offline   Reply With Quote
Old 2009-03-06, 01:13   #25
lfm
 
lfm's Avatar
 
Jul 2006
Calgary

1A916 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Jumping late into this thread: it looks to me like dominicanpapi82 very likely has a hyperthreaded, single-core P4-3.2Hz. The apparent "second core" that Windows shows is not really there, it is very very different from the first, physical core. Hyperthreaded CPUs can give a performance boost typically around +10-15% over the non-hyperthreaded single-core, but results vary greatly depending on what the workload is (it could be +30%, it could actually be slower than single-core in some cases). There's plenty of threads on the forum about hyperthreaded performance; you'll probable find some testing results and optimal configurations in there. In the posted screenshot, the system was 42% idle over the doubled cores, which means that useful work is occupying 58/50=116% of the capacity of the non-hyperthreaded singlecore, which looks just about expected. Even if you do get the CPU utilization up to show close to 100%, your throughput is not going to be hugely better (doing simultaneous P-1 and TF will have slightly higher throughput than P-1 alone, but it also means that the P-1 will take nearly twice as long (maybe 1.85x?) to complete compared to it running by itself).
But wouldn't the OS report both CPUs as active rather than showing 42% idle even tho they were producing less total work results than they might? The idle task will only report time when a CPU finds no other task runnable. It will not and cannot report idleness within instructions due to functional unit conflicts between hyperthreaded CPUs any more than it can report waits for cache misses to go to main memory.

For the idle task to get control and start measuring time you need a task wait such as a page file wait or an intertask lock wait.

Perhaps dominicanpapi82 could tell us exactly what model CPU he has?
lfm is offline   Reply With Quote
Old 2009-03-08, 04:36   #26
xorbe
 
xorbe's Avatar
 
Feb 2009

73 Posts
Default

P-1 is definitely chewing up almost all of 8 threads here (25.8b4 64-bit, Windows)
xorbe is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion for new sieving software ATH Factoring 3 2012-04-04 13:03
Suggestion henryzz Marin's Mersenne-aries 1 2009-04-14 10:33
v5 suggestion crash893 PrimeNet 0 2008-08-29 03:54
Just a suggestion... bearnol Miscellaneous Math 0 2006-04-23 07:50
suggestion junky NFSNET Discussion 3 2004-02-10 07:19

All times are UTC. The time now is 07:26.


Fri Aug 6 07:26:09 UTC 2021 up 14 days, 1:55, 1 user, load averages: 3.07, 2.74, 2.71

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