Very Slow Transfer Speed on Raspberry Pi 4 with OMV 5

  • Hello


    I have different problem. Fast reading RP->PC (70-100) and slow writing PC->RP (8-20) by Samba. Results are the same with ntfs and ext4. There is Windows 10 on PC. Writing from 2 different SSD on PC sometimes can give a little faster speed (30-40) for a small moment.



    Reading from RP with WD20EZRX



    Reading from RP with WD40PURZ (NTFS) gaves 80-100.


    USB 3 cardreader (microsd 128gb u1 Samsung evo) in second usb 3 port has same problem.



    RP 4 4gb + original PU + cooling + 2020-08-20-raspios-buster-arm64 + clean OMV (wo torrents, dockers and other)

    microsd 32gb class 10 u1

    WD 2 or 4 tb 3.5 + ugreen SATA3-> USB 3 with external power unit


    Same HDDs gaves 110+ directly to PC through USB 3 adapter.

  • There are several possible reasons for speed and data transfer problems, such as outdated hardware or changes to one node or several network segments. You can try disabling all unnecessary features, auto-upload, torrent, etc.

  • hi everyone,


    i'am getting the nearly same speeds for writing and reading as pasha4ur


    Write arounfd25-30

    Read 85-110


    RP 4 4gb + original PU + cooling

    microsd 64gb SanDisk Extreme SD XC 3 A2 V30

    WD MyBook 12 TB 3.5 ext. powered via USB 3 Port

  • i have the same problem rasp4 omv5 with

    Smb/cifs minidlna . With rasp4 with raspian buster with desktop and minidlna and openvpn transfer rates above 100 mb/s

    Usb3 with ssd.


    Then i changed enable write cache. No it is 110 mb/s again

    this is under storage / disks/ edit.

    Shit now it is dropping again from 110 to 25 mb/s

  • write cache was allready enabeld in my case.



    Code
    lsusb -t

    Output:

    Code
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
  • did you try the "SMB Extra Options" mentioned in the post referenced in my signature below?

    omv 5.5.23-1 (usul) on RPi4 with Kernel 5.10.x and WittyPi 3 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • Quote

    did you try the "SMB Extra Options" mentioned in the post referenced in my signature below?

    just tried it. still around 30 MB/s write max.


    Just to mention it again. i´m still running on a ntfs-formated Disk.

  • i´m still running on a ntfs-formated Disk.

    what prevents the conversion to ext4 as already recommended and used in the benchmark I pointed you to?

    omv 5.5.23-1 (usul) on RPi4 with Kernel 5.10.x and WittyPi 3 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • Quote

    what prevents the conversion to ext4 as already recommended and used in the benchmark I pointed you to?

    two reasons:


    1. i copied the files to the drive with my windows PC because of my slow writing speed over network when connected to the pi (and would like to keep this option as long as it stays that slow)


    2. the time needed to backup and rewrite everthing back on the the drive after formating it to ext4


    and as Birdbox mentiond some post above. he got the the problem with a external drive formated to ext4.

    (and i tried ext4 befor i dicided to use ntfs)


    mi-hol

    are there any problems with ntfs-formatet drives? do you thing the slow speed in my situation is caused through ntfs?


    during the weekend i´ll try to add another exterenal drive with ext4-format and will give it another try.

  • Well, the SMB performance tests confirming that 100MB/s is achievable used ext4 and there are many posts in the forum complaining about ntfs performance.

    see for yourself using this search site:forum.openmediavault.org +ntfs +performance +slow


    Unfortunately no benchmark data is available to have a conclusion supported by measurable facts yet.

    Would you be in position to repeat the benchmark using the same tools used for ntfs (details in post linked in below signature) ?

    omv 5.5.23-1 (usul) on RPi4 with Kernel 5.10.x and WittyPi 3 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • i´m only able to test wired Connections.

    SMB Extra Options modified to:

    min receivefile size = 16384

    write cache size = 524288

    getwd cache = yes

    socket options = TCP_NODELAY IPTOS_LOWDELAY

    read raw = yes

    write raw = yes


    Client and server connected via 1Gbit switch & wired Ethernet performance

    [Read]

    SEQ 1MiB (Q= 8, T= 1): 117.716 MB/s [ 112.3 IOPS] < 70698.97 us>

    SEQ 1MiB (Q= 1, T= 1): 104.262 MB/s [ 99.4 IOPS] < 10042.86 us>

    RND 4KiB (Q= 32, T= 1): 50.469 MB/s [ 12321.5 IOPS] < 2592.26 us>

    RND 4KiB (Q= 1, T= 1): 7.720 MB/s [ 1884.8 IOPS] < 528.45 us>


    [Write]

    SEQ 1MiB (Q= 8, T= 1): 39.808 MB/s [ 38.0 IOPS] <205804.84 us>

    SEQ 1MiB (Q= 1, T= 1): 37.868 MB/s [ 36.1 IOPS] < 27651.30 us>

    RND 4KiB (Q= 32, T= 1): 18.367 MB/s [ 4484.1 IOPS] < 7125.81 us>

    RND 4KiB (Q= 1, T= 1): 6.086 MB/s [ 1485.8 IOPS] < 671.33 us>


    Profile: Default

    Test: 64 MiB (x5)

    Mode: [Admin]

    Time: Measure 5 sec / Interval 5 sec

    Date: 2021/01/27 20:12:32

    OS: Windows 10 Professional N [10.0 Build 19042] (x64)



    Western Digital My Book USB 3.0 (WDBBGB) 12TB (WDBBGB0120HBK)

    omv 5.5.23-1 (usul) on RPi4 Kernel 5.4.83


    Code
    lsusb -t
    Code
    /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M


    to compare it to the normal speed of the HDD i connected it to my pc an startetd the test again:


    [Read]

    SEQ 1MiB (Q= 8, T= 1): 206.304 MB/s [ 196.7 IOPS] < 40468.12 us>

    SEQ 1MiB (Q= 1, T= 1): 200.483 MB/s [ 191.2 IOPS] < 5215.62 us>

    RND 4KiB (Q= 32, T= 1): 23.491 MB/s [ 5735.1 IOPS] < 5571.78 us>

    RND 4KiB (Q= 1, T= 1): 20.003 MB/s [ 4883.5 IOPS] < 203.88 us>


    [Write]

    SEQ 1MiB (Q= 8, T= 1): 176.915 MB/s [ 168.7 IOPS] < 46934.68 us>

    SEQ 1MiB (Q= 1, T= 1): 176.590 MB/s [ 168.4 IOPS] < 5930.58 us>

    RND 4KiB (Q= 32, T= 1): 8.359 MB/s [ 2040.8 IOPS] < 15642.93 us>

    RND 4KiB (Q= 1, T= 1): 7.411 MB/s [ 1809.3 IOPS] < 551.22 us>


    Profile: Default

    Test: 64 MiB (x5) [G: 11176GiB)]

    Mode: [Admin]

    Time: Measure 5 sec / Interval 5 sec

    Date: 2021/01/27 22:28:21

    OS: Windows 10 Professional N [10.0 Build 19042] (x64)

  • Thanks for the results, I'd recommend to put the hardware details (specifically for storage) in the signature and to add the output of lsusb and lspci in above post

    omv 5.5.23-1 (usul) on RPi4 with Kernel 5.10.x and WittyPi 3 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!