no_expert
26.01.09, 11:23
Hi Leute, ich habe das Problem das bei mir die Verbindung von einem Linux PC mit Samba zu einem Linux PC zu langsam ist. Auf beiden Systemen läuft ein recht aktuelles Gentoo und die Samba Versionen 3.0.33, Als Netzwerkkarte läuft eine 3Com 3c2000 und das Modul skge als Treiber.
Über FTP habe ich zwischen 20 und 30 MB/s Datenübertragung, über http hab ich ähnliche geschwindigkeiten. Bei Samba Mount hab ich so um die 3 MB/s und über Konqueror und smb://192.168.1.24 zwischen 7 und 8 MB/s.
Meine smb.conf vom Server:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-04-06
[global]
# display charset = ISO8859-15
dos charset = 850
character set = ISO8859-15
client code page = 850
load printers = yes
restrict anonymous = no
# ldap ssl = No
domain master = no
interfaces = eth0
printer admin = @ntadmin, root, administrator
netbios name = vdr
printing = cups
max protocol = NT
# ldap suffix = dc=example,dc=com
local master = no
workgroup = dorfnet
os level = 20
server signing = Auto
security = user
preferred master = no
unix charset = ISO8859-15
bind interfaces only = yes
log level = 5
log file = /var/log/samba.log.%m
;; map to guest = Bad User
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
Fstab Eintrag auf dem Klienten:
//192.168.1.24/uploads /home/user/vdr-uploads smbfs user,rw,noauto,username=xxx,password=xxx 0 0
Ergänzung:
Die Änderung "use sendfile = yes" ergab eine Verbesserung auf ca. 4,2 Mb/s. Mir ist aufgefallen dass der Samba Server über 70 Prozent CPU Last benötigt.
Über FTP habe ich zwischen 20 und 30 MB/s Datenübertragung, über http hab ich ähnliche geschwindigkeiten. Bei Samba Mount hab ich so um die 3 MB/s und über Konqueror und smb://192.168.1.24 zwischen 7 und 8 MB/s.
Meine smb.conf vom Server:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2004-04-06
[global]
# display charset = ISO8859-15
dos charset = 850
character set = ISO8859-15
client code page = 850
load printers = yes
restrict anonymous = no
# ldap ssl = No
domain master = no
interfaces = eth0
printer admin = @ntadmin, root, administrator
netbios name = vdr
printing = cups
max protocol = NT
# ldap suffix = dc=example,dc=com
local master = no
workgroup = dorfnet
os level = 20
server signing = Auto
security = user
preferred master = no
unix charset = ISO8859-15
bind interfaces only = yes
log level = 5
log file = /var/log/samba.log.%m
;; map to guest = Bad User
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = No
Fstab Eintrag auf dem Klienten:
//192.168.1.24/uploads /home/user/vdr-uploads smbfs user,rw,noauto,username=xxx,password=xxx 0 0
Ergänzung:
Die Änderung "use sendfile = yes" ergab eine Verbesserung auf ca. 4,2 Mb/s. Mir ist aufgefallen dass der Samba Server über 70 Prozent CPU Last benötigt.