|
-
March 15th, 2009, 11:23 AM
#1
how to increase cpu utilization to 100%
im working with a vc++ application and i am having a hp pavilion elite pc-m9561me. with quad pro processor. my application is a big one and it is taking lot of time to execute. even though i have quad pro processor...in the task manager, in the performance tab it is showing 25% cpu utilization only..can some one tell how to write the code for my application in order speed up the process of execution for my program....
thanks in advance...
Nasru
-
March 15th, 2009, 11:50 AM
#2
Re: how to increase cpu utilization to 100%
with quad pro processor.... it is showing 25% cpu utilization
Start using a OS that can truly support your quad core. 100% / 4 cores = 25%. Your application using everything it can get, but your OS doesn't really support 4 cores.
-
March 15th, 2009, 12:05 PM
#3
Re: how to increase cpu utilization to 100%
 Originally Posted by Skizmo
Start using a OS that can truly support your quad core. 100% / 4 cores = 25%. Your application using everything it can get, but your OS doesn't really support 4 cores.
i have windows vista installed in my computer..wat is the problem with it....should i have to disable any services? in msconfig?
-
March 15th, 2009, 12:13 PM
#4
Re: how to increase cpu utilization to 100%
Hmmm... after some Googling I found out that Vista supports quad-cores fine. Apparently your application only uses one. Why this is, or how to fix it.. .sorry can't answer that.
-
March 15th, 2009, 12:16 PM
#5
Re: how to increase cpu utilization to 100%
Multiple threads would probably help, but I don't think 100% on all four processors is a realistic goal.
-
March 15th, 2009, 12:20 PM
#6
Re: how to increase cpu utilization to 100%
thanks for ur reply...what do u mean by multiple threads? is it possible to improve the cpu utilization forcefully or not?
-
March 15th, 2009, 12:20 PM
#7
Re: how to increase cpu utilization to 100%
 Originally Posted by Skizmo
Hmmm... after some Googling I found out that Vista supports quad-cores fine. Apparently your application only uses one. Why this is, or how to fix it.. .sorry can't answer that.
thanks for ur reply....in the way if u find any answer plz post it....
-
March 15th, 2009, 12:30 PM
#8
Re: how to increase cpu utilization to 100%
 Originally Posted by nasru
thanks for ur reply....in the way if u find any answer plz post it....
Please use complete and real words on this board.
Threads allow multiple pieces of code to run concurrently. In a single thread each instruction follows the previous one. With multiple threads, each cpu could execute it's own section of code at the same time. Obviously quite a bit of thought would have to go into the design to take full advantage of the four cpus.
-
March 15th, 2009, 12:50 PM
#9
Re: how to increase cpu utilization to 100%
As stated previously YOU must design your application so the work is divided up into parts that can be perfomed independantly. It is NOT something the computer does. It is entirely controlled by how YOU write the program.
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|