Max interrupts

Max interrupts

This tip originally appeared on SearchNetworking.com, a sister site of SearchSMB.com.


If you've been having performance problems with your server, you may be able to ramp up network throughput by taking a deeper look at your driver

    Requires Free Membership to View

    When you register you’ll also receive the latest news, advice and technical tips designed specifically for midmarket IT leaders like yourself. Our award-winning editorial team will give you immediate access to emerging business and technology trends.

    Scot Petersen, Editorial Director, SearchCIO-Midmarket

    By submitting your registration information to SearchCIO-MidMarket.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 SearchCIO-MidMarket.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

configuration.

Suppose that you've upgraded the hardware and installed gigabit Ethernet and the fastest disks you can find. Your processor and memory and network utilization are low, but your network throughput is still not quite where you think it should be. You might want to start looking a little deeper into your software -- specifically, tweaking your drivers.

One place to look is your hardware interrupts. If you're using Windows Server, you can open the Performance monitor, and then the Processor object. Look for a counter named something like "Interrupts/sec." When you're sending packets as fast as you can, look to see if this counter hits a plateau it never exceeds. You may find more detailed interrupt counters in the NIC objects.

The point, though, is that your NIC drivers probably have a setting called something like "Max Interrupts per second" which obviously can limit your throughput, since each network frame requires an interrupt. If your server is serving lots of little files (e.g. a typical Web server as opposed to a typical file server, which would tend to send fewer large files) then you'll need more interrupts. If you're seeing numbers in the performance monitor that are close to the configured "Max Interrupts per second," you may want to consider increasing this field. Its default value may be a little -- or a lot -- low for your application.

And by "consider," I mean "research carefully and fully test before attempting to implement in a production environment." Keep in mind that limiting the number of interrupts can also be a good thing (think broadcast storms and ping floods).

You'll want to test your configuration of the Max Interrupts because sometimes obscure options like these are included in the GUI for drivers, but there's no code behind it. That is, the option is vaporware and doesn't really do anything no matter where you set it. Or there may be some other consideration, like your application is more disk-intensive than network intensive, and by shifting resources to the LAN, you may experience a net performance loss if there is contention with other hardware.

This was first published in November 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.