Very Low Harddrive Performance (10MB/s)

  • Hi,


    I am into debugging a problem I have with my Hardrives in my OMV Box.


    These Days when copying some bigger amount of data between the 2 internal SATA Harddrives of my OMV Box it came to my attention that the drives are extremely slow. During copying iotop/iostat reports a max throughput of 10MB/s from one local sata HDD to another local sata HDD.


    Some background on my system:


    MotherBoard: Asrock Q1900-ITX - 4MB Ram


    Installed Volumes:
    Systemvolume: SanDisk SDSSDP06 (/dev/sda)


    2x Datavolumes: SAMSUNG HD105SI (no Raid, plain ext4 FS) (sdb, sdd)


    as the motherboard does only habe 2 SATA ports, I use a SiI 3531 Serial ATA Controller on the 1xPCIe port of the MB for the second Data HDD.


    I went through


    http://forums.openmediavault.o…peed-tests-in-a-nutshell/
    and done some of the proposed diagnosis:


    Speed Measurements:




    One can see immediately, that the read performance of the 2 HDDs is extremly lousy (10MB/s)


    No Problem with the interface speeds:


    Code
    root@omv:/media/78e8bd07-7143-481a-b938-232cd143c5b3/home/stephan/iospeed# hdparm -I /dev/sdb | grep -i speed
               *    Gen1 signaling speed (1.5Gb/s)
               *    Gen2 signaling speed (3.0Gb/s)
    
    
    root@omv:/media/78e8bd07-7143-481a-b938-232cd143c5b3/home/stephan/iospeed# hdparm -I /dev/sdd | grep -i speed
               *    Gen1 signaling speed (1.5Gb/s)
               *    Gen2 signaling speed (3.0Gb/s)


    dmesg shows no obvious errors, however it contains some infromation I do not understand:


    [ 3.669519] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 0) -> What means SControl 0, the other drives show SControl300


    [ 3.675194] ata3.00: ATA-8: SAMSUNG HD105SI, 1AJ10001, max UDMA/133
    [ 1.795547] ata2.00: ATA-8: SAMSUNG HD105SI, 1AJ10001, max UDMA/133
    -> Why are both drives using ATA-8 even though one Drive is on the Motherboards "internal" SATA controller and one is on the PCIe to SATA Bridge ?
    -> Why is ata2.00 using AA Mode and ata3.00 is not ?




    Does anyone have an Idea how to further track this issue down ?


    Best Regards
    Stephan

    • Offizieller Beitrag

    Are you using the backports 3.16 kernel?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Why didn't you use the 64 bit install? Not sure why the speeds would be so slow otherwise.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • actually by accident.


    But why should a 32 bit install show slow HDD speeds ... sounds unrelated to me ... its a small box for which 3GB of memory should be plenty.


    root@omv:/media/78e8bd07-7143-481a-b938-232cd143c5b3/home/stephan# free -h
    total used free shared buffers cached
    Mem: 2,7G 393M 2,3G 0B 24M 263M
    -/+ buffers/cache: 106M 2,6G
    Swap: 2,4G 0B 2,4G

    • Offizieller Beitrag

    32 bit drivers may not be supported as well as 64 bit drivers especially in the case of a lesser used chipset like the Sil 3531. I would boot systemrescuecd with the 64 bit kernel and see if the speeds are low with that kernel. You could try the 32bit kernel on the same image as a test too.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • oh my god so much better:


    using systemrescuecd-x86-4.6.1.iso both drives serve @ 100MB/s straight.


    I also tried the 32bit kernel from systemresuecd -> Same good performance.


    I also tried to boot my current installation into maintenance mode using both available kernels


    Debian GNU/Linux, with Linux 3.16.0-0.bpo.4-586
    Debian GNU/Linux, with Linux 3.2.0-4-686-pae


    and also tried to unmount the HDD before checking the performance


    but no success ....


    Next thing I do is download the 64bit omv image and try to live boot it and see whats the outcome.


    Any other good ideas ?


    Best Regards
    s.

    • Offizieller Beitrag

    I figured the newer kernel on systemrescuecd would help. You can't live boot the OMV installer ISO but you could download a 64bit Debian Wheezy livecd to test. Unfortunately, if the 64 bit kernel is slow too, you will need to compile drivers or a kernel to get the better speeds.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi,


    @subzero79 - BIOS is set to AHCI Mode


    @ryecoaaron


    I have tried with a Debian Live CD called debian-live-7.9.0-amd64-rescue.iso


    Code
    # uname -a
    Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u3 x86_64 GNU/Linux


    and the performance is perfect.


    So it's likely, that teh 64 bit version of omv will do to, right ?


    Next question would be: Can I use a saved configuration of a 32 bit OMV in order setup a 64bit omv ?


    Best Regards
    Steppi

  • Hi, I just wanted to give you an update on this topic:


    On the 64 bit installation the performance is ok, at least on a fresh install), so it seems that I have to go the migration path ....


    Best Regards
    steppi

  • new update:


    after restoring my old 32bit system from an image written just before checking the 64bit kernel performance the 32 bit system also shows >100Mbyte/s read performance.


    I am confused ...


    Best Regards
    Steppi

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!