How can I get more than 50% CPU for my program?

G

Guest

I have an IBM Thinkcenter with Windows XP Pro. Whenver I run a program I can
get utmost ~50% of CPU only and the rest is used by System idle processes. If
I don't run anything system idle process is ~100%. I asked this question
before but nobody ever replied. The answers I get from general websearch is
mostly meaningless or silly. I hope atleast in Microsoft website somebody
will answer and help me to slove the problem. Thanks
 
D

Dave Patrick

100% system idle process = my pc is doing nothing.
Your program and it's functions are entirely at the discretion of the
developer.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have an IBM Thinkcenter with Windows XP Pro. Whenver I run a program I
can
| get utmost ~50% of CPU only and the rest is used by System idle processes.
If
| I don't run anything system idle process is ~100%. I asked this question
| before but nobody ever replied. The answers I get from general websearch
is
| mostly meaningless or silly. I hope atleast in Microsoft website somebody
| will answer and help me to slove the problem. Thanks
 
G

Guest

I have two processors. I run matlab and now it is much slower then I checked
the CPU and found only one is active. It was running much faster a few weeks
before. How can I use both the processors together other than running two
programs at the same time.
 
D

Dave Patrick

Check with the application developer to see if multi-processor is supported.
Some apps are not.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I have two processors. I run matlab and now it is much slower then I
checked
| the CPU and found only one is active. It was running much faster a few
weeks
| before. How can I use both the processors together other than running two
| programs at the same time.
 
J

JW

Hi Joy.

Sorry I don't know anything about Matlab, but applications I do know about
use several resources. The CPU offloads some of the work on other
components (e.g. video adapter, disk controller, etc.) and during this
process the CPU might spend some time waiting for output, input,
confirmations, or other processes. Since the CPU is the fastest component,
and all the others are much slower, the time that the CPU is idle is usually
over 90% of the time on most PCs.

A 50% busy rate is very high relatively speaking (relative to the long time
it usually waits for other components, communication, and processes). There
are several ways to change this (some stupid, some not ; some feasible,
some not.) Using a striped RAID array would reduce time the CPU spends
waiting (idle time) on disk I/O. Using a slower CPU (thus increasing time
the app spends running, relative to waiting) would be an example of stupid
and comical. Asking the programmer to change the program code is probably
not feasible. Using a 2nd CPU might be feasible, depending whether the app
and motherboard support it.

What a long-winded explanation. Sorry if the way I wrote this sounds overly
simplified. It's because I don't know your level of knowledge and
experience.

I have an IBM Thinkcenter with Windows XP Pro. Whenver I run a program I can
get utmost ~50% of CPU only and the rest is used by System idle processes.
If
I don't run anything system idle process is ~100%. I asked this question
before but nobody ever replied. The answers I get from general websearch is
mostly meaningless or silly. I hope atleast in Microsoft website somebody
will answer and help me to slove the problem. Thanks
 
G

Guest

If I run two matlab programs total cpu time is almost 100% (50 +50 on each
processors).
I can see whenever I run a program only one of the processor is becoming
active. It is just a PC running windows XP, not a parallel computer. How can
I get power of the dual processor (whatever it is) for a program. It was
working faster before. Now it is slower!
 
J

JW

I am not familiar with Matlab. Better contact the vendor, and ask them if
there is any kind of program switch that allows simultaneous use of dual
processors by a single program instance.


If I run two matlab programs total cpu time is almost 100% (50 +50 on each
processors).
I can see whenever I run a program only one of the processor is becoming
active. It is just a PC running windows XP, not a parallel computer. How can
I get power of the dual processor (whatever it is) for a program. It was
working faster before. Now it is slower!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top