Prioritizing programs

Prioritizing programs

Although it is seldom used, Windows and most other operating systems have ways of prioritizing the CPU time allocated to various processes. There are many cases where you may want to consider something like this to deal with resource problems. For example, if you have several applications running on a server, and one is "mission critical" or "time sensitive" then you can adjust it to an "above normal" or perhaps even "high" state. Alternately, if you're tired of your anti-virus scanner starting up at 12:00 noon every Monday and slowing your PC to an unusable crawl, then you could assign that process a "below normal" or even "low" priority.

In Windows, there are several ways to set the priority, depending on the version. The easy way is to create a short-cut for your program, but instead of just using the program's name, use the "start" command and the priority keywords, which are

/LOW
/BELOWNORMAL
/NORMAL
/ABOVENORMAL
/HIGH
/REALTIME

Another method is more appropriate for processes already in progress. Simply go to the Task Manager (CTRL-ALT-DEL and select Task Manager), and click on the Processes tab. Then right-click on a process and select Set Priority.

While this idea is easy to implement globally -- for instance, if you're administering a large population of Windows servers or workstations you can use the shortcut method or even include the start command in login scripts -- you'll want to exercise extreme caution

    Requires Free Membership to View

    By submitting your registration information to SearchNetworking.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchNetworking.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

in doing so. Thoroughly test your application environment prior to rollout, as changes in process priorities could have unintended consequences.

While you're thinking about this, you may also consider another performance enhancement, which is to turn off unnecessary graphics. In Windows XP you can do this by right-clicking My Computer and going to System Properties, then clicking the Advanced tab, and the Performance button. You'll find a list in there of all those fancy animations like fading in and out of menus and tooltips, and shadows, and the bar that slides over your systray.


Tom Lancaster, CCIE# 8829 CNX# 1105, is a consultant with 15 years experience in the networking industry, and co-author of several books on networking, most recently, CCSPTM: Secure PIX and Secure VPN Study Guide published by Sybex.


This was first published in April 2005

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.