~vcs-imports/samba/main

« back to all changes in this revision

Viewing changes to examples/pcap2nbench/README

  • Committer: jerry
  • Date: 2006-07-14 21:48:39 UTC
  • Revision ID: vcs-imports@canonical.com-20060714214839-586d8c489a8fcead
gutting trunk to move to svn:externals

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
pcap2nbench
2
 
-----------
3
 
 
4
 
About
5
 
 
6
 
This program converts a libpcap network trace file (produced by ethereal or
7
 
another pcap-aware network analyzer) into a output suitable for nbench.  The
8
 
only option it takes it -i which supresses any reads/writes/closes that use a
9
 
FID that does not have a corresponding ntcreateandx
10
 
 
11
 
Limitations
12
 
 
13
 
1) pcap2nbench does not handle ip fragmentation.  You should not normally see
14
 
   very much fragmentation so this should not really affect a workload.
15
 
2) unicode on the wire is not supported.
16
 
3) only a limited number of SMBs are supported.  Namely: NtCreateAndX,
17
 
   ReadAndX, WriteAndX, and Close.  In addition, not all WCTs are supported on
18
 
   each of these SMBs.
19
 
 
20
 
Future Work
21
 
 
22
 
It would be nice to use Samba or Ethereal's parsing code to handle the SMBs.
23
 
At first glance, this seemed non-trivial.  It would also be nice to handle some
24
 
Trans2 SMBs specifically QueryFileInfo and QueryPathInfo.