Determining which core runs an app in dual core processors
Ups ] [ Post
Followup ] [ CPU-Central Message Board ] [ Home ]
Subject: Determining which core runs an app in dual core processors
Date: 2/21/2006 9:29:30 PM (GMT-7)
IP Address: 18.104.22.168
After my recent motherboard crash, I'm now the happy owner of an Athlon X2 3800. I'm playing around with the dual core nature of this thing, and was wondering if anyone could answer a question for me.
Most of my computational time is spent running scientific simulations, which are all home grown and single threaded. I noticed that when I start one instance of my code with my new X2 processor that some of the workload is shared between both processors (I see this on the task manager). Is there any way to tell the application to use ONLY one of the processors, but at 100%, like if it was a single processor?
The reason I ask is that when I run two instances of my simulations at the same time, I notice that the run time is significantly longer than the time for just one instance. For example: 131 seconds vs 90 seconds (I can easily change the parameters so that these could run for days...). I'm worried that a lot of processing power is waster trying to distribute the workload between both cpu's when it would be way more efficient to just run one instance of each sim of each cpu.
FollowUps | Post
Maximum of 100 messages displayed.
Post a Followup
Ups ] [ Post
Followup ] [ CPU-Central Message Board ]