changjia
asked on
How to assign more CPU to an application on windows server 2003 R2 standard
Hi Experts:
When I start an application , it only uses 25% of the CPU power, I want the system to give mor CPU power to the application, so it can finish faster, Is there a way I can achieve that ?
Thanks
When I start an application , it only uses 25% of the CPU power, I want the system to give mor CPU power to the application, so it can finish faster, Is there a way I can achieve that ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help.
The server is Windows 2003 standard R2, It has 2 dual core CPUs.
The application is a batch script we wrote to generate a lots of reports. Currently, it takes 4 hours to finish, We want to shorten the time it takes... when we look at the CPU monitor, it stays at 25%, I set the priority to real time, it still stays at 25%.. Is there a way to give 50% of the CPU to the process?
Thank
Any suggestions?
Thanks
The server is Windows 2003 standard R2, It has 2 dual core CPUs.
The application is a batch script we wrote to generate a lots of reports. Currently, it takes 4 hours to finish, We want to shorten the time it takes... when we look at the CPU monitor, it stays at 25%, I set the priority to real time, it still stays at 25%.. Is there a way to give 50% of the CPU to the process?
Thank
Any suggestions?
Thanks
Thinkpads has a viable theory as well (i/o resources)... particularly if you're generating a number of large reports.
How about this - to test his theory and mine at the same time.... can you separate the report production process into two parts?
Let's see if you can make "homemade multi-core processing" Separate the script operations into "halves" if that's possible between two batch scripts and then run them simultaneously.
How about this - to test his theory and mine at the same time.... can you separate the report production process into two parts?
Let's see if you can make "homemade multi-core processing" Separate the script operations into "halves" if that's possible between two batch scripts and then run them simultaneously.
if you do this and still end-up around 25%... it's i/o.... if you do this and end-up around 50%... it's lack of multi-core support....
I'm pretty sure that raw batch scripting does not support multi-core. What aps are you running with these scripts?
I'm pretty sure that raw batch scripting does not support multi-core. What aps are you running with these scripts?
ASKER
Brilliant idea, Thanks guys!
I will do the test and let you know!!
We are using an open source program called AWStat, it uses perl to generate bunch of reports for a website...
I will do the test and let you know!!
We are using an open source program called AWStat, it uses perl to generate bunch of reports for a website...
To really reduce the amount of time, you need to see if the application can process in a different way - specifically by physical record sequence rather than searching by logical sequence. Then split the application as otter77 is suggesting (good suggestion).
... Thinkpads_User
... Thinkpads_User
ah... I've used awstats for Perl before. It works well but it is very i/o intense if you're reading big IIS logs. It's always run very slowly for me.
Completely off-topic but if you're in the market for free statistics engines - you may consider Google Analytics.
Completely off-topic but if you're in the market for free statistics engines - you may consider Google Analytics.
If so, your application may not support multi-thread processing. What are you basing your 25% usage off-of and what is the application?