Solved

How to assign more CPU to an application on windows server 2003 R2 standard

Posted on 2009-04-10
9
654 Views
Last Modified: 2012-05-06
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
0
Comment
Question by:changjia
  • 5
  • 2
  • 2
9 Comments
 
LVL 7

Expert Comment

by:Gladys Kerns
ID: 24115721
Hi Changiia... I'm guessing you have a newer multi-thread or multi-core processor such as a Core2Quad or a Core2Duo Extreme with MT?

If so, your application may not support multi-thread processing.  What are you basing your 25% usage off-of and what is the application?
0
 
LVL 7

Accepted Solution

by:
Gladys Kerns earned 300 total points
ID: 24115724
or since your question is about Windows 2003 Server... probably a multi-proc server, right?
0
 
LVL 90

Assisted Solution

by:John Hurst
John Hurst earned 200 total points
ID: 24115764
An application (anywhere including Servers) typically needs disk resource, possibly other I/O resource, as well as CPU. So if the CPU is only 25% busy, it is very probable that is all it needs. It is a bit like electrical current - if something only needs 5 amps, making 10 amps available won't increase the current draw.

So do you have some reason to say the application is running slowly? Remember, it may want a lot of disk. Is there another simultaneous application also using CPU?

You can open task manager, look at applications, go to the process and set priority. That may help a bit.

... Thinkpads_User
0
 

Author Comment

by:changjia
ID: 24115859
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

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 7

Expert Comment

by:Gladys Kerns
ID: 24115878
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.
0
 
LVL 7

Expert Comment

by:Gladys Kerns
ID: 24115886
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?
0
 

Author Comment

by:changjia
ID: 24115982
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...
0
 
LVL 90

Expert Comment

by:John Hurst
ID: 24115988
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
0
 
LVL 7

Expert Comment

by:Gladys Kerns
ID: 24116029
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.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now