Diagnosing Network Problems

To diagnose network problems, our team pays special attention to the NETWORKIO wait type, which the "Wait Types, Perfmon Counters, and Correlations" document includes. (You can download the full document at InstantDoc ID 40925.) The NETWORKIO wait type indicates that SQL Server has sent results to the client and is waiting for an acknowledgement. Network bandwidth and packet sizes are important considerations when NETWORKIO is high. You can think of packets as the containers that an application sends queries to SQL Server in; SQL Server uses these same containers to return results to the client. Packets/sec is the rate at which the network data travels across the network. You can obtain the average number of bytes a packet transfers by dividing the Bytes Total/sec Performance Monitor counter by Packets/sec.

If the NETWORKIO percentage is high, you should look at SQL Server's packet size. SQL Server's default packet size is 4096 bytes. If an application performs bulk-copy operations or sends or receives large amounts of text or image data, a packet size larger than the default can improve efficiency. A larger packet size lets you process fewer packets overall, so you need fewer network reads and writes. If an application sends and receives small amounts of information, you can set the packet size to 512 bytes, which is sufficient for most data transfers. The most important tips for alleviating NETWORKIO wait problems are to make sure the packet size lets SQL Server send as much data as possible in each packet and to avoid sending empty packets and wasting network bandwidth. Before making changes, confer with your network administrator to determine the optimal packet size for your organization.

Discuss this Article 1

lansley
on Jan 21, 2005
Good Info

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottOur Experts will show you:
• Common SQL Server
Problems
• Best Practices for T-SQL
• SQL Server Integration
Services
• Database Development

Come See Mike Otey & Tim Ford in Person!

Early Registration Now Open

From the Blogs
May 9, 2013
blog

My ISO 8601-Compliant Signature 2

My family recently just "officially" announced that we're in the process of adopting a child from South Africa. We're quite excited, of course, but there's a ton of paperwork to do—along with the need for gobs of signatures....More
May 8, 2013
blog

Use SSIS for ETL from Hadoop

In this blog post, Mark Kromer walks you through using SSIS as a way to use ETL techniques using Microsoft's Hadoop on Windows (HDInsight) as a source using Hive connectors...More
Vision road sign
May 6, 2013
blog

Cheaters Never Win, Even in TPC Benchmarks

In this portion of the series on database benchmarking, I want to tell you about one of my favorite aspects of the TPC benchmarks – CHEATING....More
SQL Server Pro Forums

Get answers to questions, share tips, and engage with the SQL Server community in our Forums.