Tom's Guide > Forum > CPU & Components > CPUs > To Increase CPU Utilization Time

To Increase CPU Utilization Time

Forum CPU & Components : CPUs - To Increase CPU Utilization Time

TomsGuide.com: Over 800,000 questions and answers to address all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: comp.sys.ibm.pc.hardware.chips,comp.sys.hp.apps,comp.sys.hp.misc (More info?)

 

I have an Application Written in C++ which does certain translations.
The problem is that this application consumes very little of CPU Time.
When running overnight, say for about 12 hours, it will consume only
15 Min out of those 12 hours and rest of the time can be seen as
"System Ideal time" in the Task Manager's "Processes" Screen.

Earlier we had more IO related operations during these translations.
That time our CPU Utilization was quite ok and satisfactory but as we
have now removed these IO related operations, although our Application
has become more efficient in performing the same translations, but has
started lagging in consuming the CPU Usage. So the end result is less
translation in a day.

How can I make my application consume more of the CPU Time than the
System Idle Time. OS we are using is Windows 2000 Professional.

I shall be grateful if you can help
Regards
Shailaindra Sharma

Sponsored Links
Register or log in to remove.

Archived from groups: comp.sys.ibm.pc.hardware.chips,comp.sys.hp.apps,comp.sys.hp.misc (More info?)

 

In comp.sys.ibm.pc.hardware.chips Shail <netshail74@yahoo.com> wrote:
> I have an Application Written in C++ which does certain
> translations. The problem is that this application consumes
> very little of CPU Time. When running overnight, say for
> about 12 hours, it will consume only 15 Min out of those
> 12 hours and rest of the time can be seen as "System Ideal
> time" in the Task Manager's "Processes" Screen.

This is a bad thing? :)

It is likely that the System Idle Time includes time
the CPU is idle because the system is doing network/disk IO.

Your app might benefit from fewer syscalls and increased
internal buffering. Like reading 512 bytes at a time.

-- Robert

Reply to Anonymous

Archived from groups: comp.sys.ibm.pc.hardware.chips,comp.sys.hp.apps,comp.sys.hp.misc (More info?)

 

On 13 Mar 2005 09:05:25 -0800, netshail74@yahoo.com (Shail) wrote:

>I have an Application Written in C++ which does certain translations.
>The problem is that this application consumes very little of CPU Time.
>When running overnight, say for about 12 hours, it will consume only
>15 Min out of those 12 hours and rest of the time can be seen as
>"System Ideal time" in the Task Manager's "Processes" Screen.
>
>Earlier we had more IO related operations during these translations.
>That time our CPU Utilization was quite ok and satisfactory but as we
>have now removed these IO related operations, although our Application
>has become more efficient in performing the same translations, but has
>started lagging in consuming the CPU Usage. So the end result is less
>translation in a day.
>
>How can I make my application consume more of the CPU Time than the
>System Idle Time. OS we are using is Windows 2000 Professional.

Have you tried something as simple as bumping the priority, from Task
Manager/Processes to see if that makes any difference? You might get a
better idea what's going on by using something like Taskinfo,
http://www.iarsn.com/download.html instead of Task Manager.

You say you "removed" IO operations but is the system storing "result" data
to a file along the way? I can't think of anything, in your app, other
than IO operations which would give *that* high a system idle time - heap
thrashing through excessive mallocs/freemems and soft page faults wouldn't
seem likely as culprits. Are you sure there's no malware which could be
stealing resources?

--
Rgds, George Macdonald

Reply to Anonymous
Tom's Guide > Forum > CPU & Components > CPUs > To Increase CPU Utilization Time
Go to:

There are 9 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Google ads