Postfix Stress Test with smtp-source and top

Posted by mweber on Sep 28, 2008 8:37 PM EDT
PostfixMail.com; By Mike Weber
Mail this story
Print this story

When building a mail server, one of the difficult choices is how big to build it. This tutorial is one way to test the load on a server to determine what it can handle. In order to evaluate the load on your mail server you can run smtp-source and combine that with snapshots of top to evaluate the load and I/O. Open two terminals and in one run the smtp-source command and in the other snapshots for top.

As you evaluate the sample data there are several fields to pay close attention to. The first is the Cpu wa or “amount of time the CPU has been waiting for I/O to complete.” This at any sustained level will dramatically decrease the speed or your mail server. Here is the wa from several snapshots taken and you can see that running at the load that is presented by the smtp-source is not sustainable. Spikes in wa are not a problem is just that your mail server will not be able to maintain anything over 10%, maybe even less.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.