PC Review


Reply
Thread Tools Rate Thread

cpu allocation

 
 
Dave M.
Guest
Posts: n/a
 
      17th Oct 2003
I have an exe that solves NP hard programs, taking
several days to complete. The Performance monitor shows
the app gets only 50 percent of the CPU and Idle gets the
other half. I'd rather have my problem solved in half as
many days than have my CPU idle half the time. Any
suggestions?
 
Reply With Quote
 
 
 
 
Jochen Kalmbach
Guest
Posts: n/a
 
      17th Oct 2003
Dave M. wrote:

> I have an exe that solves NP hard programs, taking
> several days to complete. The Performance monitor shows
> the app gets only 50 percent of the CPU and Idle gets the
> other half. I'd rather have my problem solved in half as
> many days than have my CPU idle half the time. Any
> suggestions?


maybe your app is running on an dual-processor machine (or hyperthreading-
machine) ????

If this is the case, then you are only using one thread....

If you have a real dual-processor system, then split your problem into two
threads and let it run.... it will then take almost half of the time to
complete...

If you have an hyperthreading-processor, then it depends on your thread´s-
code. If one thread is only doing interger-calculation and the other only
float; then it will be 30 % faster than on single-processor systems.

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allocation JMI Microsoft Excel Misc 0 10th Feb 2009 05:49 PM
Allocation =?Utf-8?B?RGluZXNo?= Microsoft Excel Worksheet Functions 4 28th Jun 2007 10:06 PM
F-key allocation HELLBOY787 Microsoft Excel Misc 1 30th Jun 2005 11:21 AM
Project allocation johntippins@mac.com Microsoft Excel Discussion 2 21st Mar 2005 10:34 PM
re-allocation problem Sienayr Microsoft Excel Misc 1 21st Mar 2005 10:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:49 AM.