Dedicated server with OpenSUSE13.1 only for Samba:
srvbcp02:/etc # rpm -qa | grep -i samba
samba-winbind-4.1.6-3.18.1.i586
samba-client-4.1.6-3.18.1.i586
libsamba-util0-4.1.6-3.18.1.i586
libsamba-credentials0-4.1.6-3.18.1.i586
yast2-samba-client-3.0.1-3.1.noarch
libsamba-hostconfig0-4.1.6-3.18.1.i586
yast2-samba-server-3.0.2-2.1.4.noarch
samba-libs-4.1.6-3.18.1.i586
samba-4.1.6-3.18.1.i586
Server have dedicated SATA drive (/dev/sda1 ) for Samba Share.
This is Write speed to this /dev/sda1:
srvbcp02:/srv/bcp/vol01 # LANG=en_US.UTF-8 dd if=/dev/zero of=test.tmp bs=500K count=1024
1024+0 records in
1024+0 records out
524288000 bytes (524 MB) copied, 3.93527 s, 133 MB/s
srvbcp02:/srv/bcp/vol01 #
/CODE]
When copy from my XPSP3 to the SAMBASHARE have speed only: <=9000Kb/s
Server with Samba have 1GLanNIC.
XPSP3 Have 100MbLanNic
Please, help me
Serg
On 5/12/2014 7:56 AM, skoltogyan wrote:
>
> Dedicated server with OpenSUSE13.1 only for Samba:
>
> Code:
> --------------------
> srvbcp02:/etc # rpm -qa | grep -i samba
> samba-winbind-4.1.6-3.18.1.i586
> samba-client-4.1.6-3.18.1.i586
> libsamba-util0-4.1.6-3.18.1.i586
> libsamba-credentials0-4.1.6-3.18.1.i586
> yast2-samba-client-3.0.1-3.1.noarch
> libsamba-hostconfig0-4.1.6-3.18.1.i586
> yast2-samba-server-3.0.2-2.1.4.noarch
> samba-libs-4.1.6-3.18.1.i586
> samba-4.1.6-3.18.1.i586
> --------------------
>
>
> Server have dedicated SATA drive (/dev/sda1 ) for Samba Share.
> This is Write speed to this /dev/sda1:
>
> Code:
> --------------------
> srvbcp02:/srv/bcp/vol01 # LANG=en_US.UTF-8 dd if=/dev/zero of=test.tmp bs=500K count=1024
> 1024+0 records in
> 1024+0 records out
> 524288000 bytes (524 MB) copied, 3.93527 s, 133 MB/s
> srvbcp02:/srv/bcp/vol01 #
> /CODE]
>
>
> When copy from my XPSP3 to the SAMBASHARE have speed only: <=9000Kb/s
>
> Server with Samba have 1GLanNIC.
> XPSP3 Have 100MbLanNic
>
> Please, help me
>
> Serg
>
>
Serg;
Can you post the contents of /etc/samba/smb.conf? It may shed some light on the problem.
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
venzkep:
On 5/12/2014 7:56 AM, skoltogyan wrote:
>
> Dedicated server with OpenSUSE13.1 only for Samba:
>
> Code:
> --------------------
> srvbcp02:/etc # rpm -qa | grep -i samba
> samba-winbind-4.1.6-3.18.1.i586
> samba-client-4.1.6-3.18.1.i586
> libsamba-util0-4.1.6-3.18.1.i586
> libsamba-credentials0-4.1.6-3.18.1.i586
> yast2-samba-client-3.0.1-3.1.noarch
> libsamba-hostconfig0-4.1.6-3.18.1.i586
> yast2-samba-server-3.0.2-2.1.4.noarch
> samba-libs-4.1.6-3.18.1.i586
> samba-4.1.6-3.18.1.i586
> --------------------
>
>
> Server have dedicated SATA drive (/dev/sda1 ) for Samba Share.
> This is Write speed to this /dev/sda1:
>
> Code:
> --------------------
> srvbcp02:/srv/bcp/vol01 # LANG=en_US.UTF-8 dd if=/dev/zero of=test.tmp bs=500K count=1024
> 1024+0 records in
> 1024+0 records out
> 524288000 bytes (524 MB) copied, 3.93527 s, 133 MB/s
> srvbcp02:/srv/bcp/vol01 #
> /CODE]
>
>
> When copy from my XPSP3 to the SAMBASHARE have speed only: <=9000Kb/s
>
> Server with Samba have 1GLanNIC.
> XPSP3 Have 100MbLanNic
>
> Please, help me
>
> Serg
>
>
Serg;
Can you post the contents of /etc/samba/smb.conf? It may shed some light on the problem.
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
This is smb.conf
srvbcp02:~ # cat /etc/samba/smb.conf# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
usershare allow guests = No
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
# netbios name = srvbcp02
security = user
wins support = No
log level = 0
debug level = 0
read raw = yes
write raw = yes
wide links=yes
getwd cache=yes
stat cache = yes
strict sync = no
use sendfile = yes
large readwrite = yes
oplock contention limit = 5
oplock break wait time = 100
case sensitive = true
strict allocate = yes
max xmit = 131072
use sendfile = Yes
dead time = 15
getwd cache = Yes
disable netbios = yes
nmbd bind explicit broadcast = no
netbios name = srvbcp02
min receivefile size = 43638
aio read size = 643638
aio write size = 643638
aio write behind = false
##Optimize tcp
socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 IPTOS_LOWDELAY SO_KEEPALIVE
socket options = SO_KEEPALIVE SO_REUSEADDR \
SO_BROADCAST TCP_NODELAY IPTOS_LOWDELAY \
IPTOS_THROUGHPUT SO_SNDBUF=262144 SO_RCVBUF=262144
write cache size = 12826144
strict allocate = yes
[srvbcp02]
comment = Server BCP02
inherit acls = Yes
path = /srv/bcp/vol01
read only = No
guest ok = Yes
hosts allow = 172.16.16.250, 172.16.16.254, 172.16.16.176, 172.16.0.112, 172.17.32.22, 172.16.16.189
srvbcp02:~ #
On 5/12/2014 10:46 PM, skoltogyan wrote:
>
> venzkep;2642876 Wrote:
>> On 5/12/2014 7:56 AM, skoltogyan wrote:
>>>
>>> Dedicated server with OpenSUSE13.1 only for Samba:
>>>
>>> Code:
>>> --------------------
>>> srvbcp02:/etc # rpm -qa | grep -i samba
>>> samba-winbind-4.1.6-3.18.1.i586
>>> samba-client-4.1.6-3.18.1.i586
>>> libsamba-util0-4.1.6-3.18.1.i586
>>> libsamba-credentials0-4.1.6-3.18.1.i586
>>> yast2-samba-client-3.0.1-3.1.noarch
>>> libsamba-hostconfig0-4.1.6-3.18.1.i586
>>> yast2-samba-server-3.0.2-2.1.4.noarch
>>> samba-libs-4.1.6-3.18.1.i586
>>> samba-4.1.6-3.18.1.i586
>>> --------------------
>>>
>>>
>>> Server have dedicated SATA drive (/dev/sda1 ) for Samba Share.
>>> This is Write speed to this /dev/sda1:
>>>
>>> Code:
>>> --------------------
>>> srvbcp02:/srv/bcp/vol01 # LANG=en_US.UTF-8 dd if=/dev/zero
>> of=test.tmp bs=500K count=1024
>>> 1024+0 records in
>>> 1024+0 records out
>>> 524288000 bytes (524 MB) copied, 3.93527 s, 133 MB/s
>>> srvbcp02:/srv/bcp/vol01 #
>>> /CODE]
>>>
>>>
>>> When copy from my XPSP3 to the SAMBASHARE have speed only:
>> <=9000Kb/s
>>>
>>> Server with Samba have 1GLanNIC.
>>> XPSP3 Have 100MbLanNic
>>>
>>> Please, help me
>>>
>>> Serg
>>>
>>>
>> Serg;
>>
>> Can you post the contents of /etc/samba/smb.conf? It may shed some
>> light on the problem.
>>
>> –
>> P.V.
>> “We’re all in this together, I’m pulling for you” Red Green
>
> This is smb.conf
>
> Code:
> --------------------
> srvbcp02:~ # cat /etc/samba/smb.conf# smb.conf is the main Samba configuration file. You find a full commented
> # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
> # samba-doc package is installed.
> [global]
> workgroup = WORKGROUP
> passdb backend = tdbsam
> printing = cups
> printcap name = cups
> printcap cache time = 750
> cups options = raw
> map to guest = Bad User
> usershare allow guests = No
> include = /etc/samba/dhcp.conf
> logon path = \%L\profiles.msprofile
> logon home = \%L%U.9xprofile
> logon drive = P:
> add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
> domain logons = No
> domain master = No
> # netbios name = srvbcp02
> security = user
> wins support = No
> log level = 0
> debug level = 0
>
>
>
>
>
>
> read raw = yes
> write raw = yes
> wide links=yes
> getwd cache=yes
> stat cache = yes
> strict sync = no
> use sendfile = yes
> large readwrite = yes
> oplock contention limit = 5
> oplock break wait time = 100
> case sensitive = true
> strict allocate = yes
> max xmit = 131072
> use sendfile = Yes
> dead time = 15
> getwd cache = Yes
>
>
> disable netbios = yes
> nmbd bind explicit broadcast = no
> netbios name = srvbcp02
>
>
> min receivefile size = 43638
> aio read size = 643638
> aio write size = 643638
> aio write behind = false
>
>
> ##Optimize tcp
> socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 IPTOS_LOWDELAY SO_KEEPALIVE
>
>
> socket options = SO_KEEPALIVE SO_REUSEADDR
> SO_BROADCAST TCP_NODELAY IPTOS_LOWDELAY
> IPTOS_THROUGHPUT SO_SNDBUF=262144 SO_RCVBUF=262144
>
>
> write cache size = 12826144
> strict allocate = yes
>
>
>
>
> [srvbcp02]
> comment = Server BCP02
> inherit acls = Yes
> path = /srv/bcp/vol01
> read only = No
> guest ok = Yes
> hosts allow = 172.16.16.250, 172.16.16.254, 172.16.16.176, 172.16.0.112, 172.17.32.22, 172.16.16.189
>
> srvbcp02:~ #
>
>
>
> --------------------
>
>
Serg;
The socket options parameter is a historic relic and generally slows a modern kernel ( 2.6 or more). See for example
any of these:
http://lists.samba.org/archive/samba/2010-March/154326.html
http://lists.samba.org/archive/samba/2009-November/151709.html
http://lists.samba.org/archive/samba/2008-March/139036.html
I would suggest you comment out both of these. ( I suspect only the last one is used anyway, when two values are set for
a parameter it is generally only the last which is used.)
I would also suggest that you allow these to go to default values unless you have first tested.(comment them out):
min receivefile size
aio read size
aio write size
aio write behind
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
venzkep:
On 5/12/2014 10:46 PM, skoltogyan wrote:
>
> venzkep;2642876 Wrote:
>> On 5/12/2014 7:56 AM, skoltogyan wrote:
>>>
>>> Dedicated server with OpenSUSE13.1 only for Samba:
>>>
>>> Code:
>>> --------------------
>>> srvbcp02:/etc # rpm -qa | grep -i samba
>>> samba-winbind-4.1.6-3.18.1.i586
>>> samba-client-4.1.6-3.18.1.i586
>>> libsamba-util0-4.1.6-3.18.1.i586
>>> libsamba-credentials0-4.1.6-3.18.1.i586
>>> yast2-samba-client-3.0.1-3.1.noarch
>>> libsamba-hostconfig0-4.1.6-3.18.1.i586
>>> yast2-samba-server-3.0.2-2.1.4.noarch
>>> samba-libs-4.1.6-3.18.1.i586
>>> samba-4.1.6-3.18.1.i586
>>> --------------------
>>>
>>>
>>> Server have dedicated SATA drive (/dev/sda1 ) for Samba Share.
>>> This is Write speed to this /dev/sda1:
>>>
>>> Code:
>>> --------------------
>>> srvbcp02:/srv/bcp/vol01 # LANG=en_US.UTF-8 dd if=/dev/zero
>> of=test.tmp bs=500K count=1024
>>> 1024+0 records in
>>> 1024+0 records out
>>> 524288000 bytes (524 MB) copied, 3.93527 s, 133 MB/s
>>> srvbcp02:/srv/bcp/vol01 #
>>> /CODE]
>>>
>>>
>>> When copy from my XPSP3 to the SAMBASHARE have speed only:
>> <=9000Kb/s
>>>
>>> Server with Samba have 1GLanNIC.
>>> XPSP3 Have 100MbLanNic
>>>
>>> Please, help me
>>>
>>> Serg
>>>
>>>
>> Serg;
>>
>> Can you post the contents of /etc/samba/smb.conf? It may shed some
>> light on the problem.
>>
>> –
>> P.V.
>> “We’re all in this together, I’m pulling for you” Red Green
>
> This is smb.conf
>
> Code:
> --------------------
> srvbcp02:~ # cat /etc/samba/smb.conf# smb.conf is the main Samba configuration file. You find a full commented
> # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
> # samba-doc package is installed.
> [global]
> workgroup = WORKGROUP
> passdb backend = tdbsam
> printing = cups
> printcap name = cups
> printcap cache time = 750
> cups options = raw
> map to guest = Bad User
> usershare allow guests = No
> include = /etc/samba/dhcp.conf
> logon path = \%L\profiles.msprofile
> logon home = \%L%U.9xprofile
> logon drive = P:
> add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
> domain logons = No
> domain master = No
> # netbios name = srvbcp02
> security = user
> wins support = No
> log level = 0
> debug level = 0
>
>
>
>
>
>
> read raw = yes
> write raw = yes
> wide links=yes
> getwd cache=yes
> stat cache = yes
> strict sync = no
> use sendfile = yes
> large readwrite = yes
> oplock contention limit = 5
> oplock break wait time = 100
> case sensitive = true
> strict allocate = yes
> max xmit = 131072
> use sendfile = Yes
> dead time = 15
> getwd cache = Yes
>
>
> disable netbios = yes
> nmbd bind explicit broadcast = no
> netbios name = srvbcp02
>
>
> min receivefile size = 43638
> aio read size = 643638
> aio write size = 643638
> aio write behind = false
>
>
> ##Optimize tcp
> socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 IPTOS_LOWDELAY SO_KEEPALIVE
>
>
> socket options = SO_KEEPALIVE SO_REUSEADDR
> SO_BROADCAST TCP_NODELAY IPTOS_LOWDELAY
> IPTOS_THROUGHPUT SO_SNDBUF=262144 SO_RCVBUF=262144
>
>
> write cache size = 12826144
> strict allocate = yes
>
>
>
>
> [srvbcp02]
> comment = Server BCP02
> inherit acls = Yes
> path = /srv/bcp/vol01
> read only = No
> guest ok = Yes
> hosts allow = 172.16.16.250, 172.16.16.254, 172.16.16.176, 172.16.0.112, 172.17.32.22, 172.16.16.189
>
> srvbcp02:~ #
>
>
>
> --------------------
>
>
Serg;
The socket options parameter is a historic relic and generally slows a modern kernel ( 2.6 or more). See for example
any of these:
[Samba] Samba 3.5 slow. Help with benchmarks !
[Samba] Optimizing Samba to stream movies
[Samba] Problems running samba in vmware
I would suggest you comment out both of these. ( I suspect only the last one is used anyway, when two values are set for
a parameter it is generally only the last which is used.)
I would also suggest that you allow these to go to default values unless you have first tested.(comment them out):
min receivefile size
aio read size
aio write size
aio write behind
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
This is smb.conf at this time:
srvbcp02:/srv/ftp # cat /etc/samba/smb.conf
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
usershare allow guests = No
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
# netbios name = srvbcp02
security = user
wins support = No
log level = 0
debug level = 0
use sendfile = yes
min receivefile size = 0
# aio read size
# aio write size
# aio write behind
[srvbcp02]
comment = Server BCP02
inherit acls = Yes
path = /srv/bcp/vol01
read only = No
guest ok = Yes
hosts allow = 172.16.16.250, 172.16.16.254, 172.16.16.176, 172.16.0.112, 172.17.32.22, 172.16.16.189
srvbcp02:/srv/ftp
with or without “aio …” - speed no changed
with or withoue “socket” - speed no changed
Speed copy from the XPSP3 to SAMBA <=9000Kb/sec
May be problem not in the Samba… Why ?
This my new Tes:
In the my opensuse13.1(with samba) - add ftp server.
srvbcp02:/srv/ftp # rpm -qa | grep -i ftp
yast2-ftp-server-3.0.0-2.1.4.noarch
vsftpd-3.0.2-10.1.2.i586
tftp-5.2-7.1.2.i586
tnftp-20100108-2.1.2.i586
yast2-tftp-server-3.0.0-2.1.4.noarch
srvbcp02:/srv/ftp #
From the XPSP3 put file ( over ftp ) to the FTPServer(my linux opensuse13.1)…
Speed = 9727,94 Kb/sec
Slowly…XPSP3 have 100Mb LanCard. OpenSUSE13.1 have 1000Gb Lan card…
Serg
skoltogyan:
This is smb.conf at this time:
srvbcp02:/srv/ftp # cat /etc/samba/smb.conf
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
usershare allow guests = No
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No
domain master = No
# netbios name = srvbcp02
security = user
wins support = No
log level = 0
debug level = 0
use sendfile = yes
min receivefile size = 0
# aio read size
# aio write size
# aio write behind
[srvbcp02]
comment = Server BCP02
inherit acls = Yes
path = /srv/bcp/vol01
read only = No
guest ok = Yes
hosts allow = 172.16.16.250, 172.16.16.254, 172.16.16.176, 172.16.0.112, 172.17.32.22, 172.16.16.189
srvbcp02:/srv/ftp
with or without “aio …” - speed no changed
with or withoue “socket” - speed no changed
Speed copy from the XPSP3 to SAMBA <=9000Kb/sec
May be problem not in the Samba… Why ?
This my new Tes:
In the my opensuse13.1(with samba) - add ftp server.
srvbcp02:/srv/ftp # rpm -qa | grep -i ftp
yast2-ftp-server-3.0.0-2.1.4.noarch
vsftpd-3.0.2-10.1.2.i586
tftp-5.2-7.1.2.i586
tnftp-20100108-2.1.2.i586
yast2-tftp-server-3.0.0-2.1.4.noarch
srvbcp02:/srv/ftp #
From the XPSP3 put file ( over ftp ) to the FTPServer(my linux opensuse13.1)…
Speed = 9727,94 Kb/sec
Slowly…XPSP3 have 100Mb LanCard. OpenSUSE13.1 have 1000Gb Lan card…
Serg
This is iperf results ( between OpenSUSE13.1_172.16.16.144 and XPSP3_172.16.0.112 ):
srvbcp02:/etc/samba # iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
4] local 172.16.16.144 port 5001 connected with 172.16.0.112 port 1714
ID] Interval Transfer Bandwidth
4] 0.0-10.0 sec 102 MBytes 85.7 Mbits/sec
^Csrvbcp02:/etc/samba # iperf -c 172.16.0.112
------------------------------------------------------------
Client connecting to 172.16.0.112, TCP port 5001
TCP window size: 21.0 KByte (default)
------------------------------------------------------------
3] local 172.16.16.144 port 41937 connected with 172.16.0.112 port 5001
ID] Interval Transfer Bandwidth
3] 0.0-10.0 sec 113 MBytes 95.0 Mbits/sec
srvbcp02:/etc/samba #
On 5/13/2014 1:56 AM, skoltogyan wrote:
>
<snip>
>> Speed copy from the XPSP3 to SAMBA <=9000Kb/sec
>>
>> May be problem not in the Samba… Why ?
>> This my new Tes:
>> In the my opensuse13.1(with samba) - add ftp server.
>>>
> Code:
> --------------------
> > > srvbcp02:/srv/ftp # rpm -qa | grep -i ftp
> > yast2-ftp-server-3.0.0-2.1.4.noarch
> > vsftpd-3.0.2-10.1.2.i586
> > tftp-5.2-7.1.2.i586
> > tnftp-20100108-2.1.2.i586
> > yast2-tftp-server-3.0.0-2.1.4.noarch
> > srvbcp02:/srv/ftp #
> >
> --------------------
>>>
>>
>> From the XPSP3 put file ( over ftp ) to the FTPServer(my linux
>> opensuse13.1)…
>> Speed = 9727,94 Kb/sec
>>
>> Slowly…XPSP3 have 100Mb LanCard. OpenSUSE13.1 have 1000Gb Lan
>> card…
>>
>>
>> Serg
>
> This is iperf results ( between OpenSUSE13.1_172.16.16.144 and
> XPSP3_172.16.0.112 ):
>
> Code:
> --------------------
> srvbcp02:/etc/samba # iperf -s
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 85.3 KByte (default)
> ------------------------------------------------------------
> 4] local 172.16.16.144 port 5001 connected with 172.16.0.112 port 1714
> ID] Interval Transfer Bandwidth
> 4] 0.0-10.0 sec 102 MBytes 85.7 Mbits/sec
> ^Csrvbcp02:/etc/samba # iperf -c 172.16.0.112
> ------------------------------------------------------------
> Client connecting to 172.16.0.112, TCP port 5001
> TCP window size: 21.0 KByte (default)
> ------------------------------------------------------------
> 3] local 172.16.16.144 port 41937 connected with 172.16.0.112 port 5001
> ID] Interval Transfer Bandwidth
> 3] 0.0-10.0 sec 113 MBytes 95.0 Mbits/sec
> srvbcp02:/etc/samba #
>
>
> --------------------
>
>
[quote=serg]
Server with Samba have 1GLanNIC.
XPSP3 Have 100MbLanNic
/quote
I’m not sure just what the problem is. The NIC on XP is rated at 100Mb and you are getting 85-95Mb. IMHO that is about
as good as you would expect.
As Samba4 will first try to connect with smb2, which XP does not understand, and then negotiate down. You might get
marginally better performance between Samba and XP with these parameters:
client max protocol=NT1
server max protocol=NT1
However, setting this will likely seriously degrade performance between Samba and Windows versions Vista or higher.
P.V.
“We’re all in this together, I’m pulling for you” Red Green
[quote=“venzkep,post:7,topic:100350”]
On 5/13/2014 1:56 AM, skoltogyan wrote:
>
<snip>
>> Speed copy from the XPSP3 to SAMBA <=9000Kb/sec
>>
>> May be problem not in the Samba… Why ?
>> This my new Tes:
>> In the my opensuse13.1(with samba) - add ftp server.
>>>
> Code:
> --------------------
> > > srvbcp02:/srv/ftp # rpm -qa | grep -i ftp
> > yast2-ftp-server-3.0.0-2.1.4.noarch
> > vsftpd-3.0.2-10.1.2.i586
> > tftp-5.2-7.1.2.i586
> > tnftp-20100108-2.1.2.i586
> > yast2-tftp-server-3.0.0-2.1.4.noarch
> > srvbcp02:/srv/ftp #
> >
> --------------------
>>>
>>
>> From the XPSP3 put file ( over ftp ) to the FTPServer(my linux
>> opensuse13.1)…
>> Speed = 9727,94 Kb/sec
>>
>> Slowly…XPSP3 have 100Mb LanCard. OpenSUSE13.1 have 1000Gb Lan
>> card…
>>
>>
>> Serg
>
> This is iperf results ( between OpenSUSE13.1_172.16.16.144 and
> XPSP3_172.16.0.112 ):
>
> Code:
> --------------------
> srvbcp02:/etc/samba # iperf -s
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 85.3 KByte (default)
> ------------------------------------------------------------
> 4] local 172.16.16.144 port 5001 connected with 172.16.0.112 port 1714
> ID] Interval Transfer Bandwidth
> 4] 0.0-10.0 sec 102 MBytes 85.7 Mbits/sec
> ^Csrvbcp02:/etc/samba # iperf -c 172.16.0.112
> ------------------------------------------------------------
> Client connecting to 172.16.0.112, TCP port 5001
> TCP window size: 21.0 KByte (default)
> ------------------------------------------------------------
> 3] local 172.16.16.144 port 41937 connected with 172.16.0.112 port 5001
> ID] Interval Transfer Bandwidth
> 3] 0.0-10.0 sec 113 MBytes 95.0 Mbits/sec
> srvbcp02:/etc/samba #
>
>
> --------------------
>
>
Server with Samba have 1GLanNIC.
XPSP3 Have 100MbLanNic
[/quote
I’m not sure just what the problem is. The NIC on XP is rated at 100Mb and you are getting 85-95Mb. IMHO that is about
as good as you would expect.
As Samba4 will first try to connect with smb2, which XP does not understand, and then negotiate down. You might get
marginally better performance between Samba and XP with these parameters:
client max protocol=NT1
server max protocol=NT1
However, setting this will likely seriously degrade performance between Samba and Windows versions Vista or higher.
P.V.
“We’re all in this together, I’m pulling for you” Red Green
Thak your for suggestion.
Result:
Step-1: add
client max protocol=NT1
server max protocol=NT1
in toe the /etc/samba/smb.conf
Step-2:
service smb stop
service smb start
Step-3:
From my XPSP3 open Far and copy test file (nw65sp8.zip ) from local drive XP to the L:( \srvbcp02\srvbcp02 )
Speed without change… <=9200Kb/s
Serg
On 5/13/2014 10:56 PM, skoltogyan wrote:
>
<snip>
>
> Step-3:
> From my XPSP3 open Far and copy test file (nw65sp8.zip ) from local drive
> XP to the L:( \srvbcp02\srvbcp02 )
>
> Speed without change… <=9200Kb/s
>
>
> Serg
>
>
Serg;
Can you explain how you are benchmarking the speed?
How are the two machines connected?
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
venzkep:
On 5/13/2014 10:56 PM, skoltogyan wrote:
>
<snip>
>
> Step-3:
> From my XPSP3 open Far and copy test file (nw65sp8.zip ) from local drive
> XP to the L:( \srvbcp02\srvbcp02 )
>
> Speed without change… <=9200Kb/s
>
>
> Serg
>
>
Serg;
Can you explain how you are benchmarking the speed?
How are the two machines connected?
–
P.V.
“We’re all in this together, I’m pulling for you” Red Green
WS_XPSP3_x86-----Switch—SAMBA_OPENSUSE13.1_x86
and
WS_XPSP3_x86-------SAMBA_OPENSUSE13.1_x86 ( use direct connection without switch )
In the XP run FarManager(1.70 beta5 ( build 1634 )
Run Farmanager
In the farManager run:
net use L: \\srvbcp02\srvbcp02
In the Right Panel select folder:
L::\0
In the Left panl select file:
E:
w65sp5
w65sp5.zip
Press “F5” and “Enter”
In the Farmanager i see current copy speed.
Serg