We have two SUSE SLES 9.0 x86-64 servers on gigabit network, one with RAID1 and samba 3.0.4, and one with RAID10 upgraded to samba 3.0.9. Both have the same problem: when you copy from server to client, speeds are on big files about 40MB/s for RAID1 and about 60MB/s for RAID10. But when you copy to server, speed are about 8MB/s. I have set up ftp servers on them just to try ftp protocol upload, and it is happy full speed both directions. After few hours of googling, I found "security = share" hint, which didn't help, and after little more time "use sendfile = yes" hint, which helped little bit, speeds are now 10-12MB/s, but still not acceptable. We don't intend to use samba servers as PDC, but just only as workgroup NAS. Original smb.conf is attached (before security and sendfile tweaking). One more question: does anybody know good utility to test speed of remote volumes ? -------------- next part -------------- # 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-06-30 [global] workgroup = MAXENT printing = cups printcap name = cups printcap cache time = 750 cups options = raw printer admin = @ntadmin, root, administrator username map = /etc/samba/smbusers map to guest = Bad User logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: security = user encrypt passwords = yes domain logons = no ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Computers local master = yes wins server = wins support = no add machine script = preferred master = auto ldap admin dn = cn=Administrator,dc=site ldap suffix = dc=site [homes] comment = Home Directories valid users = %S browseable = no read only = No inherit permissions = Yes guest ok = no printable = no [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 browseable = yes guest ok = no printable = no [users] comment = All users path = /home read only = No inherit permissions = Yes veto files = /aquota.user/groups/shares/ browseable = yes guest ok = no printable = no [groups] comment = All groups path = /home/groups read only = No inherit permissions = Yes browseable = yes guest ok = no printable = no [pdf] comment = PDF creator path = /var/tmp printable = yes print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z create mask = 0600 browseable = yes guest ok = no [printers] comment = All Printers path = /var/tmp printable = yes create mask = 0600 browseable = no guest ok = no [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 browseable = yes guest ok = no printable = no [z] comment = shared drive Z path = /shared/z/ writeable = yes browseable = yes guest ok = yes printable = no public = yes -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14.2.2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Karel, upgrade samba ftp://ftp.suse.com/pub/projects/samba/3.0/x86_64/ as well there a perfomance issues known to the webclient service in win xp , so just stop it. slow down logging at samba , try set sendfile parameter to no, read http://info.ccone.at/INFO/Samba/speed.html check your nic ,switching, firewalling ( if exist ) try settings like this [bigshare] ~ path = /home/jeremy/tmp/manyfilesdir ~ read only = no ~ case sensitive = True ~ default case = upper ~ preserve case = no ~ short preserve case = no Best Regards Robert Karel Rericha schrieb: | We have two SUSE SLES 9.0 x86-64 servers on gigabit network, one with | RAID1 and samba 3.0.4, | and one with RAID10 upgraded to samba 3.0.9. Both have the same problem: | when you copy from | server to client, speeds are on big files about 40MB/s for RAID1 and | about 60MB/s for RAID10. | But when you copy to server, speed are about 8MB/s. I have set up ftp | servers on them just to try | ftp protocol upload, and it is happy full speed both directions. | | After few hours of googling, I found "security = share" hint, which | didn't help, and after little more | time "use sendfile = yes" hint, which helped little bit, speeds are | now 10-12MB/s, but still not | acceptable. | | We don't intend to use samba servers as PDC, but just only as workgroup | NAS. | | Original smb.conf is attached (before security and sendfile tweaking). | | One more question: does anybody know good utility to test speed of | remote volumes ? | | | ------------------------------------------------------------------------ | | No virus found in this outgoing message. | Checked by AVG Anti-Virus. | Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14.2.2005 | - -- Mit freundlichen Gruessen Best Regards Robert Schetterer robert_at_schetterer.org Munich / Bavaria / Germany https://www.schetterer.org \********************************** \* gnupgp \* public key: \* https://www.schetterer.org/public.key \********************************** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCFKPN+Jw+56iSjEkRAqy6AKC1+qQab2fw3Wm1xf6+BxP/XFZ3bACfWIMn l6q8nflxH3nNHojIHV/rbZg=eZ2S -----END PGP SIGNATURE-----
Possibly Parallel Threads
- raid6: rmw writes all the time?
- Separate databases for reads and writes?
- [Bug 57350] [nouveau, linux-3.7-rc] Broken cursor and kernel log swamped with trapped reads/writes from BAR/PFIFO_READ/FB
- [Bug 57350] [nouveau, linux-3.7-rc] Broken cursor and kernel log swamped with trapped reads/writes from BAR/PFIFO_READ/FB
- [LLVMdev] Tablegen: How to define an instruction that reads and writes the same register