Oops, get wrapped. Attach the table in a text file this time.
Post by joeg--- via samba-technicalIt seems like some people have trouble to receive my original email
because of the images.
 r\S        1       2       3       4       5       6      Â
7Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â 9Â Â Â Â Â Â 10Â Â Â Â Â Â 11Â Â Â Â Â Â 12
 1         0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
 2         0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
 3         0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
 4         0       0       0  41.119  56.732  66.447  72.572 Â
76.956Â Â 95.436Â 102.396Â 110.454Â Â Â Â Â Â Â 0
 5         0       0       0  49.145  70.014  74.849  84.013 Â
89.707Â 107.108Â 116.287Â 103.106Â Â Â Â Â Â Â 0
 6         0       0       0  68.731  78.698  93.159  95.705Â
115.973Â 114.349Â 112.678Â 130.282Â Â Â Â Â Â Â 0
 7         0       0       0  71.490  85.902 108.542 108.586Â
113.590Â 126.788Â 119.140Â 101.968Â Â Â Â Â Â Â 0
 8         0       0       0  84.228 103.297 112.420 108.141Â
112.146Â 125.492Â 109.455Â 101.155Â Â Â Â Â Â Â 0
 9         0       0       0  88.669 111.279 121.480 121.692Â
138.248Â 115.464Â 131.850Â Â 98.632Â Â Â Â Â Â Â 0
 10         0       0       0 107.833 115.134 126.926 132.568Â
116.088Â 136.371Â Â 97.090Â 126.787Â Â Â Â Â Â Â 0
 11         0       0       0 114.108 111.883 126.213 139.040Â
141.352Â 106.134Â 124.904Â 118.583Â Â Â Â Â Â Â 0
 12         0       0       0 109.988 120.804 142.387 133.999Â
124.241Â 131.333Â 107.382Â 111.447Â Â Â Â Â Â Â 0
 13         0       0       0 133.787 115.635 135.760 144.311Â
113.029Â 109.257Â 124.848Â 135.680Â Â Â Â Â Â Â 0
 14         0       0       0 142.868 118.900 139.201 131.333Â
132.071Â 113.330Â 116.351Â 118.728Â Â Â Â Â Â Â 0
 15         0       0       0 124.355 132.024 146.237 130.092Â
107.181Â 125.418Â 121.196Â 126.104Â Â Â Â Â Â Â 0
 16         0       0       0 123.211 140.214 135.858 109.205Â
146.865Â 137.027Â 111.136Â 121.051Â Â Â Â Â Â Â 0
 17         0       0       0 120.864 149.945 116.799 147.768Â
119.295Â 126.733Â 119.915Â 107.164Â Â Â Â Â Â Â 0
 18         0       0       0 140.311 138.099 108.622 126.043Â
127.352Â 143.128Â 134.762Â Â 93.017Â Â Â Â Â Â Â 0
 19         0       0       0 145.346 133.715 120.586 139.703Â
120.015Â 118.425Â Â 83.349Â 106.214Â Â Â Â Â Â Â 0
 20         0       0       0 144.652 130.634 110.613 123.414Â
151.610Â 135.753Â Â 93.042Â Â 85.515Â Â Â Â Â Â Â 0
 21         0       0       0 131.350 122.082 121.926 146.542Â
132.719Â 126.720Â 120.016Â Â 91.363Â Â Â Â Â Â Â 0
 22         0       0       0 140.259 146.325 129.648 142.637Â
142.712Â 132.569Â 124.193Â Â 84.189Â Â Â Â Â Â Â 0
 23         0       0       0 *169.764 139.553  91.046 137.663Â
159.753Â 138.276Â 102.191Â 110.595Â Â Â Â Â Â Â 0
 24         0       0       0 148.510 142.059 141.010 137.082 Â
98.231Â Â 96.259Â 109.009Â Â 69.462Â Â Â Â Â Â Â 0
 25         0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
max: 169.764
r\SÂ Â Â Â Â Â Â 1Â Â Â Â Â Â Â 2Â Â Â Â Â Â Â 3Â Â Â Â Â Â Â 4Â Â Â Â Â Â Â 5Â Â Â Â Â Â Â 6Â Â Â Â Â Â Â
7Â Â Â Â Â Â Â 8Â Â Â Â Â Â Â 9Â Â Â Â Â Â 10Â Â Â Â Â Â 11Â Â Â Â Â Â 12
 1        0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
 2        0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
 3        0       0       0       0       0       0      Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
 4        0       0       0  37.499  51.081  47.946  78.658 Â
73.416Â Â 92.505Â Â 95.842Â 100.820Â Â Â Â Â Â Â 0
 5        0       0       0  55.603  57.470  74.442  86.191Â
113.089Â 111.861Â 115.396Â 142.818Â Â Â Â Â Â Â 0
 6        0       0       0  58.732  85.243  92.833 102.397Â
108.455Â 136.802Â 134.110Â 136.791Â Â Â Â Â Â Â 0
 7        0       0       0  66.669  91.372 100.347 132.541Â
159.121Â 137.524Â 166.432Â 131.660Â Â Â Â Â Â Â 0
 8        0       0       0  76.959 113.768 130.787 148.635Â
140.318Â 155.053Â 185.398Â 172.079Â Â Â Â Â Â Â 0
 9        0       0       0 104.442 124.219 135.548 156.073Â
159.233Â 161.505Â 165.132Â 111.609Â Â Â Â Â Â Â 0
10Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 121.444Â 128.814Â 170.306Â 172.741Â
173.592Â 155.078Â 137.541Â 160.373Â Â Â Â Â Â Â 0
11Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 119.806Â 147.530Â 171.919Â 175.189Â
156.816Â 189.379Â 176.344Â 155.873Â Â Â Â Â Â Â 0
12Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 103.682Â 145.108Â 174.202Â 172.044Â
206.165Â 129.995Â 157.405Â 150.218Â Â Â Â Â Â Â 0
13Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 151.011Â 151.274Â 172.072Â 189.949Â
161.779Â 176.042Â 137.990Â 140.948Â Â Â Â Â Â Â 0
14Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 146.589Â 166.755Â 213.144Â 189.248Â
166.505Â 145.031Â 138.344Â 150.909Â Â Â Â Â Â Â 0
15Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 149.442Â 190.469Â 200.051Â 160.482Â
143.324Â 151.437Â 141.908Â 130.576Â Â Â Â Â Â Â 0
16Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 173.891Â 202.137Â 204.066Â 172.500Â
176.371Â 166.698Â 127.024Â 141.724Â Â Â Â Â Â Â 0
17Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 170.829Â 180.184Â 196.766Â 181.791Â
147.663Â 155.474Â Â 99.551Â 127.230Â Â Â Â Â Â Â 0
18Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 188.009Â 191.858Â 155.009Â 172.549Â
147.957Â 152.508Â 124.296Â 129.689Â Â Â Â Â Â Â 0
19Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 201.694Â 225.261Â 190.230Â 157.619Â
152.969Â 136.545Â 130.671Â 125.775Â Â Â Â Â Â Â 0
20Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 203.151Â 209.354Â 165.844Â 166.927Â
141.296Â 140.057Â 139.265Â 125.006Â Â Â Â Â Â Â 0
21Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 212.496Â 217.526Â 171.679Â 168.568Â
168.101Â 145.787Â 111.281Â 106.252Â Â Â Â Â Â Â 0
22Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 184.216 *235.421Â 180.842Â 156.551Â
158.798Â 149.434Â 115.148Â 113.642Â Â Â Â Â Â Â 0
23Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 201.699Â 210.266Â 191.049Â 153.199Â
153.461Â 110.562Â 110.072Â 112.646Â Â Â Â Â Â Â 0
24Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â 222.205Â 150.690Â 155.598Â 176.060Â
137.402Â 123.665Â 115.973Â 106.362Â Â Â Â Â Â Â 0
25Â Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â
0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0Â Â Â Â Â Â Â 0
max: 235.421
   sudo bin/samba -M prefork --option='prefork children = 4'
Post by Garming Sam via samba-technicalThere's some interesting observations that you can make about the
overall traffic, without looking at too much detail of the actual runs.
1) In terms of maximum traffic (which in our examples has been quite
LDAP based), Windows is at most 50% faster. This number likely shrinks
depending on whether or not the service levels (e.g. 99% success) at
such high load are acceptable or not.
2) Looking at median packet response times, we generally spend twice as
long on processing a packet. However, the difference between our 95
percentile values is often much smaller than this and some of the mean
values are actually at parity.
3) With small to moderate loads, Samba handles a similar amount of
operations per second to Windows. For the values shown, it actually
seems to get more throughput (although not incredibly so) for a good
chunk of the table shown.
It's actually kind of surprising that Samba doesn't perform all that
much worse than Windows does. It's certainly not off by an order of
magnitude (or two), although this testing has been run in the prefork
mode. Our previous analyses showed much smaller numbers and that's
likely due to the limitations of being stuck with a single-process.
Cheers,
Garming
Hi Team,
I've been trying to make the Samba performance test tool work against
Windows.
After a lot of effort, Garming and I fixed all the errors for
different packets, and finally it's working(fixes are merged into master).
Base on that, we can send traffic to Samba and Windows, get the
maximum load, and compare the performance.
script/traffic_replay -U Administrator%PASSWORDÂ --realm
krb.samba.site --workgroup KRB --fixed-password FIXED-PASSWORD -r 4 -S
4 traffic-sample-1-model.txt dc1.krb.samba.site 2>&1 >
traffic_replay_stats/dc1_r4_S4.txt
By changing the combination of different -r and -S, we can get test
results and save to files, then parse files to get summary tables as
below.
The number displayed is "*Successful operations per s**econd*", the 0
ones are combinations we think not important and skipped.
All data are attached, hope this can help the team to understand how
is Samba performing with compare to Windows.
--
Joe Guo
Catalyst IT