Skip to main content

Thread: Karmic 9.10 Samba Fast Read, Slow Writes


i have nas built 9.10 server on msi nettop 100 atom device 2 sata drives in raid1 array. installation done alpha release of karmic, alpha 5, think, , gradually updated using apt-get. i've setup samba shares on server , access shares vista clients.

experiencing situation writes nas reasonably fast, 50-60mb/s on gigabit lan. however, reading files nas capped @ 10-12mb/s. it's if reading nas limited 100mbps reason.

appreciated. here's lspci info nic card:

code:
01:00.0 ethernet controller: realtek semiconductor co., ltd. rtl8111/8168b pci express gigabit ethernet controller (rev 02)         subsystem: micro-star international co., ltd. device 4180         flags: bus master, fast devsel, latency 0, irq 28         i/o ports @ e800 [size=256]         memory @ febff000 (64-bit, non-prefetchable) [size=4k]         memory @ fdff0000 (64-bit, prefetchable) [size=64k]         expansion rom @ febc0000 [disabled] [size=128k]         capabilities: [40] power management version 3         capabilities: [50] message signalled interrupts: mask- 64bit+ queue=0/0 enable+         capabilities: [70] express endpoint, msi 01         capabilities: [b0] msi-x: enable- mask- tabsize=2         capabilities: [d0] vital product data <?>         capabilities: [100] advanced error reporting <?>         capabilities: [140] virtual channel <?>         capabilities: [160] device serial number 00-f0-4b-58-00-00-00-01         kernel driver in use: r8169         kernel modules: r8169
and here smb.conf

code:
  #======================= global settings ======================= [global]         log file = /var/log/samba/log.%m         passwd chat = *enter\snew\s*\spassword:* %n\n *retype\snew\s*\spassword:* %n\n *password\supdated\s successfully* .         obey pam restrictions = yes         map guest = bad user         encrypt passwords = true         passwd program = /usr/bin/passwd %u         passdb backend = tdbsam         dns proxy = no         netbios name = ubumax         server string = %h server (samba, ubuntu)         unix password sync = yes         workgroup = workgroup         os level = 20         syslog = 0         usershare allow guests = yes         panic action = /usr/share/samba/panic-action %d         preferred master = no         max log size = 1000         pam password change = yes   [printers]    comment = printers    browseable = no    path = /var/spool/samba    printable = yes    guest ok = no    read = yes    create mask = 0700   [print$]    comment = printer drivers    path = /var/lib/samba/printers    browseable = yes    read = yes    guest ok = no     [public]         writeable = yes         create mode = 777         public = yes         guest = yes         path = /mnt/raid/public         directory mode = 777 [multimedia]         writeable = yes         create mode = 777         public = yes         guest = yes         path = /mnt/raid/multimedia         directory mode = 777 [download]         writeable = yes         create mode = 777         public = yes         guest = yes         path = /mnt/raid/download         directory mode = 777
here output ethtool , mii-tool:

code:
root@ubumax:/etc/samba# ethtool eth0 settings eth0:         supported ports: [ tp mii ]         supported link modes:   10baset/half 10baset/full                                 100baset/half 100baset/full                                 1000baset/half 1000baset/full         supports auto-negotiation: yes         advertised link modes:  10baset/half 10baset/full                                 100baset/half 100baset/full                                 1000baset/half 1000baset/full         advertised auto-negotiation: yes         speed: 1000mb/s         duplex: full         port: mii         phyad: 0         transceiver: internal         auto-negotiation: on         supports wake-on: pumbg         wake-on: g         current message level: 0x00000033 (51)         link detected: yes root@ubumax:/etc/samba# mii-tool eth0 eth0: negotiated 1000baset-hd flow-control, link ok root@ubumax:/etc/samba#

did find fix this? have similar problem, reversed (slow reads, fast writes) , configuration looks similar - strange.

have had problem since started using ubuntu... in january , yet find solution having reinstalled 3 times , shifted 9.04 9.10.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Karmic 9.10 Samba Fast Read, Slow Writes


Ubuntu

Comments