Tip

Fine-tune Exchange; get rid of storage issues

If you are an Exchange 2003 admin, you probably know that the majority of performance problems you encounter relate to storage issues rather than the CPU.

What kind of clue do you have that you are having performance issues? Microsoft says if your average read and write latencies are more than 20 ms or latency spikes more than 50 ms for more than a few seconds, then your Exchange Server needs work. Fortunately, Exchange responds well to tuning.

Make certain files 'independent'
At the heart of Exchange are the Jet (.edb) and streaming (.stm) databases, which are updated with almost every mail transaction. One simple step is to put all of these database files (.edb and .stm files) on a single, fast volume for each storage group. The volume should be dedicated to these databases; the disks holding them should have fast random-access speeds.

Another kind of file that is updated constantly is the transaction log file. Transaction logs need to be on a device with the lowest possible write latency. If your hardware RAID controller has the proper protection on its write cache (such as mirroring and battery backup), you can improve performance by setting the ratio to 100 percent write. Separate the logs for each storage group and put them on dedicated RAID 1 or RAID 10 LUNs.

The SMTP queue volume should be spread over several spindles using a RAID 10 array. Since this volume is critical to performance, it should not share spindles with any other function.

    Requires Free Membership to View

How many spindles this volume needs and how big to make the SMTP write cache will vary according to your system's characteristics.

The page file should be on separate spindles with at least RAID-1 protection. Even if you have a storage area network (SAN), use direct-attached storage for the page file. You should also separate the page file from the context indexing file by putting them on separate disks. The default for Exchange Server 2003 is for the files to reside on the same disk, but this can slow performance considerably.

An example of a configuration for Exchange Server 2003, according to Microsoft, is the following (this assumes one storage group with five databases):

  • C: System volume, operating system, Exchange system files –RAID 1 (DAS not SAN)
  • D: Page file – RAID 1 (DAS, not SAN)
  • E: SMTP and MTA queues – RAID 10 (SAN)
  • F: Log files from storage group – RAID 1 (SAN)
  • G: Databases from storage group – RAID 10 (SAN)

Rick Cook has been writing about mass storage since the days when the term meant an 80K floppy disk. The computers he learned on used ferrite cores and magnetic drums. For the last 20 years he has been a freelance writer specializing in storage and other computer issues.


This was first published in November 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

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.