Results 1 to 2 of 2

Thread: Improving the read/write speed on a network hard drive

  1. #1

    Default Improving the read/write speed on a network hard drive

    Hi,
    I've got a 2TB Western Digital My Passport (NTFS) connected to a raspberry pi (192,168.0.100 on my network) and I've mounted it in my laptop using the following in fstab:
    Code:
    //192.168.0.100/media/Siavash /media/external cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
    and sudo mount -a upon boot. Now when I try to read or write on this drive, the speed is unusually slow, mostly around 2.5 MB/s. I don't know if that's normal, in Linux Mint the speed was around 30 MB/s, but due to a bug in Mint (and all Ubuntu based distros for that matter) it fell down quickly, until it completely stalled. Now my question is that is there any way to improve the read/write speed on the drive in OpenSuse 13.1? I've made some modifications to Raspberry Pi config and it did came up a bit, but I have no idea what to do on Laptop side.

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,187

    Default Re: Improving the read/write speed on a network hard drive

    In your [global] section of smb.conf, try some or a combination of these:
    Code:
    strict allocate = yes

    Code:
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
    read raw = yes
    write raw = yes
    aio read size = 1
    aio write size = 1
    use sendfile = Yes
    Try the first one before anything else and then the rest afterwards.
    .: miuku @ #opensuse @ irc.libera.chat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •