read/write multiplexed support

Marcel Müller samba at maazl.de
Sat May 16 16:17:45 GMT 2009


Volker Lendecke wrote:
> Can you get us a sniff of both cases?


Done. See http://home.arcor.de/maazl/temp/tlogs.zip

But the situation was not that easy than I have expected. Initially OS/2
starts with using read/write raw. But at some point the OS/2 client
switches to the MPX modes (if available). And now comes the difference.
With samba 3.0.24 there is no significant change, while with samba 3.2.5 
the performance degrades.

I think the IBM peer requester is at least part of the problem. 
Unfortunately I have no capture of the moment when the switch to Read 
MPX occurs. It took several hundreds of MB the last two times. But there 
must be a faster way to reproduce this. I am pretty sure that when I 
connected to samba 3.2.5 the first time it took no longer than half a 
minute to fail. I will have to do more testing.


=====================
1nd run, samba 3.2.5

Writing - tlog-os2-write-samba32
- Query Information (0x08)
- Open AndX (0x2d)
- Write Raw (0x1d)
- Write Raw (0x1d)
- Set Information (0x09)
- Trans2 (0x32)
- Close (0x04)

Reading - tlog-os2-read-samba32
- Query Information (0x08)
- Trans2 (0x32)
- Open AndX (0x2d)
- Read Raw (0x1a)
- Read Raw (0x1a)
- Close (0x04)

=====================
2nd run, still samba 3.2.5, but I had a critical I/O error reported by
the client meanwhile (NET 3196)

Writing - tlog-os2-write2-samba32
- Query Information (0x08)
- Open AndX (0x2d)
- Write MPX (0x1e) - Error
- Write (0x0b)
- Write MPX (0x1e) - Error
- Write (0x0b)
- Set Information (0x09)
- Trans2 (0x32)
- Close (0x04)

Reading - tlog-os2-read2-samba32
- Query Information (0x08)
- Trans2 (0x32)
- Open AndX (0x2d)
- Read MPX (0x1b) - Error
- Read (0x0a)
[multiple times]
- Read MPX (0x1b) - Error
- Read (0x0a)
- Read (0x0a)
- Close (0x04)

=====================
3rd run, samba 3.0.24

Writing - tlog-os2-write-samba30
- Query Information (0x08)
- Open AndX (0x2d)
- Write MPX (0x1e)
- Write MPX Secondary (0x1f)
- Write MPX Secondary (0x1f)
- Set Information (0x09)
- Trans2 (0x32)
- Close (0x04)

Reading - tlog-os2-read-samba30
- Query Information (0x08)
- Trans2 (0x32)
- Open AndX (0x2d)
- Read MPX (0x1b)
[many repsonses]
- Read MPX (0x1b)
[many repsonses]
- Close (0x04)

=====================
4th run, still samba 3.0.24, restartet the OS/2 requestor before

Writing - tlog-os2-write2-samba30
- Query Information (0x08)
- Open AndX (0x2d)
- Write Raw (0x1d)
- Write Raw (0x1d)
- Set Information (0x09)
- Trans2 (0x32)
- Close (0x04)

Reading - tlog-os2-read2-samba30
- Query Information (0x08)
- Trans2 (0x32)
- Open AndX (0x2d)
- Read Raw (0x1a)
- Read Raw (0x1a)
- Close (0x04)

in fact the same as with samba 3.2.5
I have no idea why the client think it must use the MPX modes.



Marcel


More information about the samba-technical mailing list