Amazon Ad

Featured Post

Sunday, January 22, 2006

What is options cifs.max_mpx?

The CIFS Technical Report describes the Multiplex-ID (MID) field as:
The multiplex ID (Mid) is used along with the Pid to allow multiplexing the single client and server connection among the client's multiple processes, threads, and requests per thread. Clients may have many outstanding requests (up to the negotiated number, MaxMpxCount) at one time.
Servers MAY respond to requests in any order, but a response message MUST always contain the same Mid and Pid values as the corresponding request message. The client MUST NOT have multiple outstanding requests to a server with the same Mid and Pid.

Dr. Toaster Recommends:
I advise setting this option to 1124 if you use any of the following products towards CIFS shares on a filer:

  • Microsoft IIS

  • Citrix

  • Microsoft SQL Server (before SQL 2000)

  • Microsoft Exchange (before Exchange 2000)



The memory allocation on every CIFS clients will increase, however, experience shows that setting this option is completely safe.
You need to restart CIFS on the filer.
Examine the output of cifs stats - watch for the last lines - Max Multiplex. Usually you see the output as the value of the highest total multiplexes incoming from one client ("What is the largest amount of MIDs incoming to the filer from one client?"), minus 1.

No comments: