mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-07-25, 19:32   #1
Cruelty
 
Cruelty's Avatar
 
May 2005

22×11×37 Posts
Question Prime95/LLR on dualcore CPU - strange thing?

Normally I run two copies of Prime95 on my dual-core A64 CPU, so I haven't noticed it before. However due to the recent high temperatures accross Europe I had to switch off one of the copies. As affinity was not set I've noticed under task manager that remaining copy of Prime95 was running on both cores with cumulative CPU load of 50%. Further tests showed that there is no performance difference between running Prime95 with and without affinity being set.
So given the fact that Prime95 calculations at iteration I depend on results from previous calculations at iteration I-1 (LL-test) and the reported complexity of creating multi-threaded version of Prime95, can someone explain it to me?
I figure that this "load-sharing" is an OS feature, but what keeps it from running at 100% on both cores with single copy of Prime95? (which is probably a dumb question anyways )
BTW: the same applies to LLR and PRP.
OS=Windows XP Pro
Cruelty is offline   Reply With Quote
Old 2006-07-27, 04:53   #2
Jamiaz
 
Jamiaz's Avatar
 
Sep 2005
Detroit, MI

23 Posts
Default

Basically if there is a non-multi threaded program running on a multi processor computer, the os decideds where to run the threads. In simple terms it runs the thread on a processor, then the next command starts and it goes to the unused processor, and so on and so on, It is basically using 100% of 1 processor, but since there is 2 of them it is jumping between both of them. I have seen this for years using dual prcoessor computers, it is a simple way to tell if a program is multi-threaded or not.


I'm sure someone here has a much more technical description of this, but I like my simple answer. :)

Matt

Last fiddled with by Jamiaz on 2006-07-27 at 04:53
Jamiaz is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
strange thing happening in factordb firejuggler FactorDB 96 2019-12-06 15:32
Strange behaviour of Prime95 LingUaan Software 13 2015-10-15 16:15
Very strange thing nngs Software 4 2007-04-14 22:08
Hm... strange thing... Yxine Factoring 1 2006-08-10 13:48
Dualcore mac G5 machines from Apple Peter Nelson Hardware 20 2006-03-07 11:26

All times are UTC. The time now is 13:39.


Sat Dec 4 13:39:17 UTC 2021 up 134 days, 8:08, 0 users, load averages: 0.75, 0.99, 1.03

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.