From: liang qi on
Hi All,

I use samba in my mips platform. The tcp performance is about 450Mbps. But
the samba perfomance is only 180Mbps(Mips-->PC) and 150Mbps(PC-->Mips). I 'd
like to ask if it is normal and how I can improve the the performance of
samba server.The version of my using samba is 3.0.30.
The following is the state of vmstat during the test.

1. TCP test
# vmstat 1
procs memory swap io system
cpu
r b swpd free buff cache si so bi bo in cs us sy wa
id
0 0 0 2100 2392 109740 0 0 7 3 859 94 1 4 0
94
0 0 0 2100 2392 109740 0 0 0 0 342 24 0 0 0
100
0 0 0 2100 2392 109740 0 0 0 0 189 12 0 1 0
99
1 0 0 1904 2392 109740 0 0 0 0 9451 52 1 29 0
70
1 0 0 1932 2392 109740 0 0 0 0 17959 150 0 100
0 0
1 0 0 1932 2392 109740 0 0 0 0 18002 134 0 97
0 3
1 0 0 1932 2392 109740 0 0 0 0 17920 132 0 93
0 7
1 0 0 1932 2400 109740 0 0 0 14 17932 132 4 94
0 2
1 0 0 1960 2400 109740 0 0 0 0 17986 150 3 95
0 3
1 0 0 1932 2400 109740 0 0 0 0 18055 124 0 93
0 8
1 0 0 1932 2400 109740 0 0 0 0 18036 116 0 91
0 9
1 0 0 1932 2400 109740 0 0 0 0 17852 154 0 95
0 5
1 0 0 1932 2400 109740 0 0 0 0 18012 145 0 97
0 3
1 0 0 1932 2400 109740 0 0 0 0 17957 138 2 93
0 5
1 0 0 1932 2400 109740 0 0 0 0 17953 129 0 98
0 3
1 0 0 1932 2400 109740 0 0 0 0 17963 152 0 95
0 5
1 0 0 1960 2404 109740 0 0 0 9 17967 129 0 100
0 0
1 0 0 1960 2404 109740 0 0 0 0 18028 125 0 98
0 2
1 0 0 1932 2404 109740 0 0 0 0 17981 144 0 98
0 2
1 0 0 1904 2404 109740 0 0 0 0 17980 146 3 97
0 0
1 0 0 1932 2404 109740 0 0 0 0 18033 120 0 96
0 4
procs memory swap io system
cpu
r b swpd free buff cache si so bi bo in cs us sy wa
id
1 0 0 1932 2404 109740 0 0 0 0 17906 112 0 92
0 8
1 0 0 1932 2404 109740 0 0 0 0 17903 171 0 93
0 7
1 0 0 1932 2404 109740 0 0 0 0 18090 123 0 100
0 0
1 0 0 1932 2404 109740 0 0 0 0 18034 98 0 93
0 7
1 0 0 1960 2404 109740 0 0 0 0 17790 140 3 91
0 6
1 0 0 1932 2404 109740 0 0 0 10 17753 177 0 95
0 5
1 0 0 1932 2408 109740 0 0 0 6 18039 139 0 98
0 2
1 0 0 1932 2408 109740 0 0 0 0 17913 126 0 87 0
13
1 0 0 1932 2408 109740 0 0 0 0 17862 174 0 95
0 5
1 0 0 1932 2408 109740 0 0 0 0 18002 132 2 98
0 0
1 0 0 1932 2408 109740 0 0 0 0 17870 132 0 91
0 9
1 0 0 1932 2408 109740 0 0 0 0 17920 132 0 94
0 6
0 0 0 2016 2412 109740 0 0 0 11 3829 46 0 7 0
93
0 0 0 2016 2412 109740 0 0 0 0 186 14 0 0 0
100
0 0 0 2024 2412 109740 0 0 0 0 191 14 0 0 0
100
2. Samba test
# vmstat 1
procs memory swap io system
cpu
r b swpd free buff cache si so bi bo in cs us sy wa
id
0 0 0 101440 4856 9224 0 0 0 0 117 5 0 0 0
100
0 0 0 101440 4856 9224 0 0 0 0 339 12 0 0 0
100
1 0 0 97968 4864 12488 0 0 4 18 1357 137 1 12 1
86
1 0 0 79320 4896 30736 0 0 0 19008 5711 515 21 66 8
5
1 0 0 59692 4912 49696 0 0 0 15730 5922 403 22 71 0
8
1 0 0 40148 4932 68632 0 0 0 20480 5863 416 20 73 0
7
1 0 0 19680 4952 88456 0 0 0 16384 6167 378 25 73 0
1
1 1 0 1648 4728 106152 0 0 0 20480 5900 363 27 68 0
6
1 0 0 1900 4688 107144 0 0 4 21905 5562 414 18 73 6
3
1 0 0 1872 4700 106924 0 0 0 17750 6133 485 23 77 0

0
1 0 0 2096 4716 106396 0 0 0 16384 5692 397 18 69 0
13
1 0 0 1956 4736 106204 0 0 0 20480 6087 440 16 81 0
3
1 0 0 2096 4752 105768 0 0 0 20480 5915 457 15 81 0
4
1 0 0 2152 4608 106744 0 0 0 19592 5895 429 23 75 1
1
1 0 0 1844 4496 107064 0 0 0 17409 6107 460 20 77 0
3
1 0 0 2236 4516 106312 0 0 4 20480 5868 445 21 71 3
5
1 0 0 2040 4536 106212 0 0 0 16384 6022 482 23 68 0
9
1 0 0 2180 4556 105732 0 0 0 20480 5987 443 15 80 0
5
1 0 0 2180 4580 106772 0 0 0 20608 5767 416 26 66 1
6
1 0 0 2124 4592 106684 0 0 0 16394 6053 470 15 78 0
6
1 0 0 1956 4424 106692 0 0 0 20480 5978 454 18 78 0
5
procs memory swap io system
cpu
r b swpd free buff cache si so bi bo in cs us sy wa
id
1 0 0 2236 4184 106384 0 0 0 16384 5846 444 14 77 0
9
1 0 0 1956 3952 106564 0 0 4 20480 6054 442 23 68 2
8
0 0 0 2180 3712 106288 0 0 0 16384 4873 373 15 57 0
28
1 0 0 1900 3472 107988 0 0 0 16518 5638 408 20 70 2
9
1 0 0 2236 3256 107632 0 0 598 16384 6004 442 22 72 0
6
1 0 0 1900 2900 108024 0 0 48 20480 5915 457 25 69 0
5
1 0 0 2236 2668 107556 0 0 0 20480 6005 476 23 76 0
1
1 0 0 2152 2428 107652 0 0 0 20480 5590 389 19 67 0
15
1 0 0 2292 2204 108784 0 0 4 16518 5884 464 24 74 0
1
1 0 0 1984 1840 109256 0 0 0 20480 6042 448 20 80 0

0
1 0 0 1984 1600 109228 0 0 0 20480 5898 410 19 76 0
4
3 0 0 1928 1364 109120 0 0 0 19632 5959 425 21 75 0
4
1 0 0 2236 1384 108580 0 0 0 17232 6065 461 23 74 0
3
1 0 0 2264 1404 109524 0 0 0 20617 5805 464 23 73 0
4
3 0 0 2012 1424 109568 0 0 0 19688 6027 426 24 73 0
3
1 0 0 1872 1324 109556 0 0 4 17176 6062 473 18 78 1
3
1 0 0 2040 1340 109092 0 0 0 20480 5850 475 22 70 0
8
1 0 0 2180 1360 108624 0 0 0 16384 6025 448 21 77 0
1
1 0 0 2208 1380 109556 0 0 0 20614 5844 461 24 75 0
1
1 0 0 2208 1276 109652 0 0 57 16384 5357 456 17 64 5
13
0 0 0 2236 1276 109584 0 0 444 0 608 532 6 7 0
87
procs memory swap io system
cpu
r b swpd free buff cache si so bi bo in cs us sy wa
id
0 0 0 2208 1276 109584 0 0 0 4843 371 34 0 1 8
91
0 0 0 2208 1276 109584 0 0 0 0 336 14 0 0 0
100

Thanks a lot!
Your sincerely
Richard
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba