280 likes | 461 Views
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
E N D
User Group MeetingMicrosoft 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: \\10.10.10.12\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 1 2 3
Batch File To Simplify Testing Test Identifier 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
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 Test1 0-5 6-2235 2236-4456 4457-4467 4468-4470 Test2 1-15 16-2276 2277-4484 4485-4495 4496-4498 Test3 0-14 15-2339 2340-4559 4560-4570 4571-4573 Test4 0-27 28-2463 2481-4698 4699-4718 Test5 0-28 29-2229 2230-4445 4446-2254 Test6 0-16 17-2343 2344-4559 4560-4570 4571-4574 Test7 0-39 40-2238 2239-4455 4456-4462 Test8 0-19 20-2273 2274-4468 4469-4475 4476-4480 Test9 0-23 24-2275 2276-4471 4472-4478 4479-4483 Test10 0-14 15-2315 2316-4534 4535-4545 Test 11 0-14 15-2248 2249-4492 4493-4503 4504-4506
Number of Commands Reads Write Test1 63 35 Test2 63 35 Test3 63 68 Test4 42 503 Test5 42 34 Test6 63 34 Test7 42 34 Test8 34 34 Test9 34 34 Test10 63 68 Test 11 63 68
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\CurrentControlSet\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: 65535 Quit Registry Editor.