User Group Meeting Microsoft Read Write Review July 13, 2001
Microsoft Read Write Review We wanted to review the read/write buffer sizes when we mix Windows 98, 2000 and NT together.
Setup Notes Network connection 10 Mb/s – Half Duplex Ethernet Some charts were scaled down to 100’s of milliseconds. Therefore the maximum theoretical throughput would be.125 MB or 1.25 Mb/s.
Batch File To Simplify Testing ECHO off CLS ECHO ABOUT TO MAP DRIVE. ECHO START SNIFFER IF YOU WANT TO CAPTURE THIS. ECHO. PAUSE NET USE T: \\ \TEMP cls ECHO. ECHO ABOUT TO COPY THE FILE TO THE NT SERVER ECHO START SNIFFER IF YOU WANT TO CAPTURE THIS. ECHO. PAUSE COPY C:\TEMP\TESTFILE T: cls ECHO. ECHO ABOUT TO COPY THE FILE from THE NT SERVER ECHO START SNIFFER IF YOU WANT TO CAPTURE THIS. ECHO. PAUSE COPY T:testfile c:\temp\testfile.new del c:\temp\testfile.new cls Test Identifier
Batch File To Simplify Testing ECHO. ECHO ABOUT TO DELETE THE FILE ON THE NT SERVER ECHO START SNIFFER IF YOU WANT TO CAPTURE THIS. ECHO. PAUSE DEL T:TESTFILE cls ECHO. ECHO ABOUT TO REMOVE THE DRIVE MAPPING ON THE NT SERVER ECHO START SNIFFER IF YOU WANT TO CAPTURE THIS. ECHO. PAUSE NET USE T: /d PAUSE 4 5 Test Identifier
Filename List Test1.cap – NT Workstation – NT Server Test2.cap – NT Workstation – NT Server (changed SizReqBuf to 65,535 on Workstation) Test3.cap – NT Workstation – NT Server (changed SizReqBuf to 65,535 on Server) Test4.cap – Win2000 Workstation – NT Server Test5.cap – Win2000 Workstation – NT Server (changed SizReqBuf to 65,535 on Server) Test6.cap - NT Workstation – Win2000 Server Test7.cap - Win2000 Workstation – WIN2000 Server Test8.cap – Win98 Workstation – NT Server Test9.cap - Win98 Workstation - WIN2000 Server Test10.cap – WinNT Workstation – NT Server (changed SizReqBuf to 60,000 on Server) Test11.cap – WinNT Workstation – NT Server (changed SizReqBuf to 55,000 on Server)
Frame Number for Results Step1 Step2 Step3 Step4 Step5 Test Test Test Test Test Test Test Test Test Test Test
Number of Commands Reads Write Test16335 Test26335 Test36368 Test Test54234 Test66334 Test74234 Test83434 Test93434 Test Test
Sniffer Notes Same old Bug..
Sniffer Notes Whenever you create a filter and create a print file, the output doesn’t match what was in the filtered trace.
Work Around Option 1 Just click the Save As. Select OK at the Next dialog screen. When prompted for a file name, Press Esc. Now create your Print File.
Work Around Option 2 Select whatever Display Filter Right click and choose Create New Filtered Window. Now create your Print File.
Output File Note I found if you drag and drop at least 4 Trace Files from the File Manager into the Sniffer Application and then Create your Print File, the Output is back to the correct format. Sounds nuts, but seems to work for me... so far.
How to Quickly Group the Reads and Writes ?? Import the trace file into Excel. Make sure you kept the Summary information as an entire cell. Sort on Summary Information. Select the Summary Column and use the Data- Text to Columns function. Choose the Delimited option and use equals, space and comma as a delimiter,
Microsoft Registry Change Locate and click the following key in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentContr olSet\Services\lanmanserver\parameters On the Edit menu, click Add Value, and then add the following registry value: –Value Name: SizReqBuf –Data Type: DWORD Value –Radix: Decimal –Value: Quit Registry Editor.
WINDOW Filters
TCP WINDOW SIZE FILTER
SMB READ FILTER
SMB WRITE FILTER
WIN NT Server
WIN2K Server Charts