User Group Meeting Microsoft Read Write Review
-
Upload
patrick-carey -
Category
Documents
-
view
49 -
download
3
description
Transcript of User Group Meeting Microsoft Read Write Review
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 TestingECHO offCLSECHO ABOUT TO MAP DRIVE. ECHO START SNIFFER IF YOU WANT TO CAPTURE THIS.ECHO.PAUSENET USE T: \\10.10.10.12\TEMPcls
ECHO.ECHO ABOUT TO COPY THE FILE TO THE NT SERVERECHO START SNIFFER IF YOU WANT TO CAPTURE THIS.ECHO.PAUSECOPY C:\TEMP\TESTFILE T:cls
ECHO.ECHO ABOUT TO COPY THE FILE from THE NT SERVERECHO START SNIFFER IF YOU WANT TO CAPTURE THIS.ECHO.PAUSECOPY T:testfile c:\temp\testfile.newdel c:\temp\testfile.newcls
1
2
3
Test Identifier
Batch File To Simplify Testing
ECHO.ECHO ABOUT TO DELETE THE FILE ON THE NT SERVERECHO START SNIFFER IF YOU WANT TO CAPTURE THIS.ECHO.PAUSEDEL T:TESTFILEcls
ECHO.ECHO ABOUT TO REMOVE THE DRIVE MAPPING ON THE NT SERVERECHO START SNIFFER IF YOU WANT TO CAPTURE THIS.ECHO.PAUSENET USE T: /dPAUSE
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
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 NotesSame 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 NoteI 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.
WINDOW Filters
TCP WINDOW SIZE FILTER
SMB READ FILTER
SMB WRITE FILTER
WIN NT Server
Read Write Comparison Win NT Client & Win NT Server
0
10000
20000
30000
40000
50000
60000
70000
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63
Number of Commands
Byt
es
Read Write
Read Write ComparisonWIN 2000 Client & WIN NT Server
-
10,000
20,000
30,000
40,000
50,000
60,000
70,000
1 16 31 46 61 76 91 106
121
136
151
166
181
196
211
226
241
256
271
286
301
316
331
346
361
376
391
406
421
436
451
466
481
496
Number or Commands
Byt
es
Read Write
Read Write ComparisonWIN 2000 Client & WIN NT Server (SizReqBuf=65,535)
-
10,000
20,000
30,000
40,000
50,000
60,000
70,000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
Number of Commands
Byt
es
Read Write
Read Write ComparisonWin NT Client to NT Server (SizReqBuf=65,535)
-
10,000
20,000
30,000
40,000
50,000
60,000
70,0001 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63 65 67
Number of Commands
Byt
es
Read Write
Read Write ComparisonWin NT Client (Changed SizReqBuf to 65,535) & Server
-
10,000
20,000
30,000
40,000
50,000
60,000
70,000
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63
Number Of Commands
Byt
es
Read Write
WIN2K Server Charts
Read Write ComparisonWIN 2000 Client & WIN 200 Server
-
10,000
20,000
30,000
40,000
50,000
60,000
70,000
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
Number of Commands
Byt
es
Read Write
Read Write ComparisonWIN NT Client & WIN 2000 Server
-
10,000
20,000
30,000
40,000
50,000
60,000
70,000
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 61 63
Number of Commands
Byt
es
Read Write