mersenneforum.org  

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

Closed Thread
 
Thread Tools
Old 2004-04-21, 12:31   #1
Unregistered
 

2×11×107 Posts
Smile Dual CPUs and Hyperthreading

Hi,

I'd like to join the hunt for Mersenne primes. I have a dual processor (2 x 2.8GHz) Linux system with the option of hyperthreading. If I switch on hyperthreading, I then have 4 "logical" CPUs (CPU0 - CPU3) as displayed via the "top" command.

In order fully to utilise the system so that it will process the workunit as quickly as possible, what command(s) should I use to run mprime, e.g.,

./mprime -A2 (2 physical processors)
./mprime -B2 (2 physical processors; and in the background)
./mprime -A4 (4 logical processors)
./mprime -B4 (4 logical processors; and in the background)
./mprime -B2 -A2, etc................or something else?

pAuL
 
Old 2004-04-21, 13:55   #2
PrimeCruncher
 
PrimeCruncher's Avatar
 
Sep 2003
Borg HQ, Delta Quadrant

2×33×13 Posts
Default

There are some numbers on this in various threads in the Hardware forum. This is the most recent.
PrimeCruncher is offline  
Old 2004-04-21, 14:02   #3
Unregistered
 

3×5×569 Posts
Smile

OK......................thanks!
 
Old 2004-06-19, 20:08   #4
Spinny
 
Jun 2004
Bucharest

2 Posts
Question P4 with HT, dual prime95 ???

I have a P4 3.0 with HT. The question is this: Do I need to install a separate prime95 [in another directory??] in order to take full advantage of my new proc. ?? [I've read that I can run 2 separate prime95 but it doesn't say how exactly]. Will they run 2 separate tests or will they work together. 10q.

Last fiddled with by Spinny on 2004-06-19 at 20:09
Spinny is offline  
Old 2004-06-19, 20:18   #5
outlnder
 
outlnder's Avatar
 
Aug 2002

2×3×53 Posts
Default

If you want to run 2 instances and run Windows of any flavor, install in different directories.

However, there is no advantage to run 2 .exes. 2 run slower than one because of the battling for Ram and thru-put.
outlnder is offline  
Old 2004-06-19, 20:49   #6
Spinny
 
Jun 2004
Bucharest

28 Posts
Default

The thing is that I've noticed only 50% proc usage [and I thought what a waste computing power [until today I had a P4 2,4 fsb 533]] and that is the main reason behind my decision 2 run 2 diff instances. 10x again.
Spinny is offline  
Old 2004-06-19, 23:04   #7
patrik
 
patrik's Avatar
 
"Patrik Johansson"
Aug 2002
Uppsala, Sweden

23×53 Posts
Default

You will not get a performance gain by running two different copies--but you can try just to get some timings. Then you would see the iteration time (in the Prime95 window) double.
patrik is offline  
Old 2004-06-20, 01:18   #8
delta_t
 
delta_t's Avatar
 
Nov 2002
Anchorage, AK

3·7·17 Posts
Default

Since HT is a virtual processor, you'll actually get a big hit in performance when you run two instances of Prime95. Each instance will run at half the speed of one. Here is a link on how to run two instances as a service. It's for a real dual processor system, but works for HT as well. Remember to se the affinity. http://www.mersenneforum.org/showthr...dual+processor

Last fiddled with by delta_t on 2004-06-20 at 01:19
delta_t is offline  
Old 2004-06-20, 15:34   #9
outlnder
 
outlnder's Avatar
 
Aug 2002

13E16 Posts
Default

Quote:
Originally Posted by Spinny
The thing is that I've noticed only 50% proc usage [and I thought what a waste computing power [until today I had a P4 2,4 fsb 533]] and that is the main reason behind my decision 2 run 2 diff instances. 10x again.
This is only because your operating system thinks there is 2 processors. Your actual CPU usage is 100% of the actual CPU. The virtual CPU is getting nothing so it shows 50% of both CPU's.

Remember the virtual CPU doesn't exist.
outlnder is offline  
Old 2004-09-16, 10:04   #10
RazorWolf
 
Sep 2004

3 Posts
Exclamation Prime95 runs on my CPU only 50% !

Hi there,

I just installed and run prime95. its running now the 40st test run. I can see that it uses just 50-51% of CPU! I guess that must be because of Hyperthreating (right?). So, how can I let it run 100% ? I hope I not have to disable that HT feature.

thanx

RazorWolf
RazorWolf is offline  
Old 2004-09-16, 10:43   #11
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

11·433 Posts
Default

Quote:
Originally Posted by RazorWolf
Hi there,

I just installed and run prime95. its running now the 40st test run. I can see that it uses just 50-51% of CPU! I guess that must be because of Hyperthreating (right?). So, how can I let it run 100% ? I hope I not have to disable that HT feature.

thanx

RazorWolf
You are right, it's the HT feature.

Try to disable it from the BIOS settings.

Luigi
ET_ is offline  
Closed Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web account status and true dual processors PLUS hyperthreading bmoshier Information & Answers 1 2014-12-12 16:01
Identical PenD Dual-Core CPUs, one is 2.25x faster NBtarheel_33 Hardware 5 2008-11-12 03:24
Importance of dual channel memory for dual core processors patrik Hardware 3 2007-01-07 09:26
Hyperthreading dave_0273 Hardware 5 2003-12-12 13:22
Best configuration for linux + dual P4 Xeon + hyperthreading luma Software 3 2003-03-28 10:26

All times are UTC. The time now is 09:46.

Thu Aug 13 09:46:01 UTC 2020 up 6:21, 0 users, load averages: 1.50, 1.26, 1.24

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