Network World
Saturday, November 22, 2008
DNSstuff.com
Get information about your IP
IP Information
50+ On-demand DNS and network tools

App Performance View

Navigation

Why CIFS and MAPI Are Poor Network Citizens

Among the applications most likely impaired by file server centralization are Word, PowerPoint, and Excel, which use Microsoft's Common Internet File System (CIFS) file sharing protocol, as well as Outlook which uses Microsoft's Messaging Applications Programming Interface (MAPI) email protocol for Exchange.  CIFS and MAPI-based applications degrade badly as distance to users increases, and here's why.

The problem is that CIFS and MAPI are just plain poor network citizens.  They were designed to run over local area networks, where the performance price for application protocol "chattiness" is negligible.  Unfortunately, when run over a WAN, such chattiness (application turns) exacts a heavy toll. 

CIFS runs slowly over a WAN because when a client requests a server to open, close, or read a file, CIFS breaks it into blocks and transmits the blocks sequentially rather than send the whole file,.  For example, if a client requests a 1Mb file from a remote server, CIFS breaks the file into hundreds of data blocks and sends the blocks one at a time.  The client acknowledges receipt of each block, and only after receiving the acknowledgement, does the server release the next block.  This back and forth chattiness adds unwanted seconds, or even minutes to the simple task of opening the file.  Microsoft's MAPI protocol exhibits similar behavior (or misbehavior) over a WAN.

To place CIFS and MAPI-based application performance into perspective, it is useful to compare performance profiles for CIFS and MAPI tasks with other common application tasks.  The following figure shows application turns and payload per task on logarithmic scales.  As you can see, the number of turns required for CIFS and MAPI-based applications are exponentially larger than for client server, SNA, and even most Web-based applications.

Application Profiles

 

Because the scales are logarithmic, small distances on the chart reflect huge differences in the user's experience.  With this in mind, you can see that the turns and payload burden for MAPI and CIFS-based applications is exponentially greater than for SNA and client-server applications.

In a future blog we'll tell you how to "fix" CIFS and MAPI's performance problems.

looking for the "fix"

Useful answer?
0

Your blog on CIFS/MAPI chattiness was very interesting and helpful, but I'm still looking for a "fix" - can you provide any guidance? Thanks..

Phil

Phil - Thanks very much for

Useful answer?
0

Phil - Thanks very much for the reminder. We meant to get back to that topic. We promise to post the "fix" blog soon.

Here is the "fix" blog

Useful answer?
0

As promised, here is the blog that describes fixes to CIFS/MAPI performance challenges: http://www.networkworld.com/community/node/34821

/rebecca wetzel

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <i> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <br /> <br> <p>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

About Peter Sevcik and Rebecca Wetzel

NetForecast is an internationally recognized engineering consulting company that benchmarks, analyzes, and improves the performance of networked data, voice, and video applications.

RSS feed XML feed

Sevcik and Wetzel's archive.

The opinions expressed in this Weblog are those of the writer and may not represent the opinions of Network World.

Advertisement: