Beiträge von boo50

    I tried my other external Disk.

    Formatted it to ext4 on the OMV RPi4 an ran the test.

    Turns out that drive can reach up to 100+ MB/s in write-Speed.

    I´m now going to copy all files and clear the MyBook. Than i´m going to formate it to ext4.

    dont know if i did something wrong the first time.


    the only thing i tried around with was the write-cache and advanced power management which is activated under

    Storage - Disk - edit (the drive)


    Settings:

    1 - Minimum power usage with standby (spindown)

    Maximum performance, maximum acoustic output

    20 minutes

    Write-cache enable



    Test done:


    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


    Storage - Disk - edit (the drive)


    Settings:

    1 - Minimum power usage with standby (spindown)

    Maximum performance, maximum acoustic output

    20 minutes

    Write-cache enable


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

    omv 5.5.23-1 (usul) on RPi4 Kernel 5.4.83


    ------------------------------------------------------------------------------

    CrystalDiskMark 8.0.1 x64 (C) 2007-2021 hiyohiyo

    Crystal Dew World: https://crystalmark.info/

    ------------------------------------------------------------------------------

    * MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]

    * KB = 1000 bytes, KiB = 1024 bytes


    [Read]

    SEQ 1MiB (Q= 8, T= 1): 102.885 MB/s [ 98.1 IOPS] < 80819.75 us>

    SEQ 1MiB (Q= 1, T= 1): 99.157 MB/s [ 94.6 IOPS] < 10566.57 us>

    RND 4KiB (Q= 32, T= 1): 51.263 MB/s [ 12515.4 IOPS] < 2554.58 us>

    RND 4KiB (Q= 1, T= 1): 8.835 MB/s [ 2157.0 IOPS] < 462.51 us>


    [Write]

    SEQ 1MiB (Q= 8, T= 1): 118.255 MB/s [ 112.8 IOPS] < 70155.66 us>

    SEQ 1MiB (Q= 1, T= 1): 111.288 MB/s [ 106.1 IOPS] < 9409.57 us>

    RND 4KiB (Q= 32, T= 1): 49.696 MB/s [ 12132.8 IOPS] < 2632.65 us>

    RND 4KiB (Q= 1, T= 1): 8.911 MB/s [ 2175.5 IOPS] < 458.13 us>


    Profile: Default

    Test: 64 MiB (x5)

    Mode: [Admin]

    Time: Measure 5 sec / Interval 5 sec

    Date: 2021/02/03 19:08:09

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


    Code
    lsusb -t
    
    /:  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, 480



    ^^:thumbup:


    118.255 MB/s sounds fine to me. much better than only up to 30 MB/s


    seems you were right @mi-hol. sorry for the confusion with the format of the drive. Thanks for your help.


    ext4 seems to do it for me pretty well.

    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)

    Zitat

    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.

    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