SMB Share very slow transfer speeds

  • Hey,


    I am running OMV from an SSD, 4GB RAM an an AMD C60 CPU.
    https://www.asus.com/Motherboards/C60M1I/
    My Network is ALL Gigabit, Router, everything.


    Although I am getting only speeds like 40 MB/s even on huge files.


    I had a normal desktop linux on m yNAS build before I switched to OMV. There i had mostly like 80 MB/s with the same hardware Setup.


    Can someone explain this?

  • Which OMV-Version do you have? 0.5.??


    Please show me these commands:


    Code
    df -h
    cat /proc/mdstat
    cat /sys/block/md*NUMBER*/md/stripe_cache_size


    Your "md*NUMBER*" should be 0, 127, or sth. else!

  • Code
    Dateisystem           Size  Used Avail Use% Eingehängt auf
    /dev/sda1              88G  956M   83G   2% /
    tmpfs                 1,8G     0  1,8G   0% /lib/init/rw
    udev                  1,8G  148K  1,8G   1% /dev
    tmpfs                 1,8G     0  1,8G   0% /dev/shm
    tmpfs                 1,8G  4,0K  1,8G   1% /tmp
    /dev/sdb1             1,8T  1,4T  351G  80% /media/6af6a836-fb8c-4c37-9b1b-6fe1b119ae9f
    /dev/sdc1             1,8T  1,6T  180G  90% /media/3145836f-62aa-499c-830e-41c2e73244b1
    root@NAS:~#


    Code
    root@NAS:~# cat /proc/mdstat
    Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
    unused devices: <none>
    root@NAS:~#


    The command cat /sys/block/md*NUMBER*/md/stripe_cache_size doesn't work. What means md? 0 or 127 doesn't work. I found the command for tweaking RaidArray. I do not use Raid.


    Oh and the version of course: 0.5.24

    • Offizieller Beitrag

    Install the backports 3.2 kernel. There is a button to do it on the OMV-Extras.org page.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


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


    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!

  • Zitat von "ryecoaaron"

    Install the backports 3.2 kernel. There is a button to do it on the OMV-Extras.org page.


    May I ask why? What improvement will this provide?

  • Usually when you have issues like this it is driver issue. Your NIC is not communicating correctly with a switch. If you upgrade the kernel it may give you newer driver for your NIC that will fix the issue. If you have multiple switches on your LAN sometimes you can try a different switch. I have some onboard Realtek NICs that don't work right with switch in my router but they work fine with my HP switch. So experiment and sometimes you will find a solution.

  • Zitat von "sheng"

    May I ask why? What improvement will this provide?


    Probably a better support for your hardware. My home system running an ASUS E45M1-I DELUXE ITX did not support USB3 until I upgraded to 0.5.031 with the 3.2 backport kernels, for example.

    Homebox: Bitfenix Prodigy Case, ASUS E45M1-I DELUXE ITX, 8GB RAM, 5x 4TB HGST Raid-5 Data, 1x 320GB 2,5" WD Bootdrive via eSATA from the backside
    Companybox 1: Standard Midi-Tower, Intel S3420 MoBo, Xeon 3450 CPU, 16GB RAM, 5x 2TB Seagate Data, 1x 80GB Samsung Bootdrive - testing for iSCSI to ESXi-Hosts
    Companybox 2: 19" Rackservercase 4HE, Intel S975XBX2 MoBo, C2D@2200MHz, 8GB RAM, HP P212 Raidcontroller, 4x 1TB WD Raid-0 Data, 80GB Samsung Bootdrive, Intel 1000Pro DualPort (Bonded in a VLAN) - Temp-NFS-storage for ESXi-Hosts

  • All this talk of 80 MB/s :)


    well I've been suffering with sometimes sub 1MB/s, sometimes upto 3MB/s :)


    I followed the advice above (3.2 Kernel), and now I have 20+MB/s - YAY :)


    what's next to get things better?


    Before the kernel upgrade I moved from HDD Power saving level 1 to 127 which got me from 500KB/S to 1.5MB/S


    I've got an Asus Dual core E35M1-M board with 8GB Ram, There are 12 Hard disks in the system, 1 x 74GB HDD (ex laptop) drive (Boot/System), 8x3GB, 2x4GB and 1x2GB. There are 6 (I think) onboard SATA, which are all used, and I have 2 x cheap PCI 4 port SATA cards.


    Network is GBe, Switch is 3COM (Got rid of the TP link when it kept overheating), The Client PC doing the moving is decent (AMD quad core e.t.c.), cable length between the OMV server and the Switch is 2m, to the client PC is ~5m with a wall socket and decent patch cable in the way....


    The OMV Server is running Transmission, but at the moment, it is just seeding, not actively downloading...


    From the start, the machine (running various versions of OMV) has been pretty slow, I was thinking it was the hardware, until I looked up benchmarks for the processor (Equivilent to a mid range core2duo).


    typically I look up the processor load (Usually above 2), but processor usage in top is pretty low, with most of the load made up of waiting time.


    The hard disks are reasonably well cooled and heatsinked, and user load is just me and the wife, e.g. me doing a single (usually large) file transfer, transmission seeding in the background, and a small chance of the wife watching a film.


    The uptime of the system is usually in tens of days between reboots, but moving files usually seems to kill the server (hopefully fixed with the 3.2 kernel?)


    So how do I get closer to the the mythical figures of 80MB/s?


    Damian

  • First: Show us what your HDDs are capable of, maybe they are already failing?



    For each UUID:

    Code
    cd /media/UUID/
    dd if=/dev/zero of=tempfile bs=1mb count=1024
    dd of=/dev/zero if=tempfile bs=1mb count=1024
    rm tempfile


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Well, I amazed with the improvment of the 3.2 upgrade... 5 x SMB transfers going at the moment and load at about 0.7!!!


    it's almost enough to stop me wanting to learn 64bit assembler (last time I did it it wat 8 bit 6502)...


    Damian

  • Hi... I'm not so hot with Linux....


    In media, I don't have anything called UUID


    This is what I have:-


    root@openmediavault:/media# ls
    027afdbb-38de-4116-8756-bde3594cab49 9db3641d-b01e-4e13-9060-73bb6061d67d
    0e671d4a-db66-4f2f-96db-e3f887d66038 b598b724-3e94-4cfd-bce6-a6bf65681e07
    180adf0f-0ad5-4ebf-8531-cc9a1253a497 be3110fd-3d24-4a5a-a61c-c2786161adc7
    50c3c1ba-27c1-4339-bf06-3d9457ced625 c9ac1f96-bf0b-4105-818e-b223a002b0d9
    5a341fdd-f46e-407e-b939-e203cccbda32 cdrom
    885fc7bf-d8b2-4c5a-9503-eacefbfe07e2 cdrom0
    925858b0-9fc2-48eb-871d-fea1f5bab83a
    root@openmediavault:/media#

  • Hi... sorry, I was away from home for a week...


    Below results of speed test... (All the results are for a second run - the first runs were a lot slower, but I guess this is due to the drive being spun down / in power save)


    027afdbb-38de-4116-8756-bde3594cab49 - 1024000000 bytes (1.0 GB) copied, 3.21991 s, 318 MB/s - 1024000000 bytes (1.0 GB) copied, 0.942864 s, 1.1 GB/s
    9db3641d-b01e-4e13-9060-73bb6061d67d - 1024000000 bytes (1.0 GB) copied, 2.82167 s, 363 MB/s - 1024000000 bytes (1.0 GB) copied, 0.866672 s, 1.2 GB/s
    0e671d4a-db66-4f2f-96db-e3f887d66038 - 1024000000 bytes (1.0 GB) copied, 2.91744 s, 351 MB/s - 1024000000 bytes (1.0 GB) copied, 0.886995 s, 1.2 GB/s
    b598b724-3e94-4cfd-bce6-a6bf65681e07 - 1024000000 bytes (1.0 GB) copied, 3.04154 s, 337 MB/s - 1024000000 bytes (1.0 GB) copied, 0.862023 s, 1.2 GB/s
    180adf0f-0ad5-4ebf-8531-cc9a1253a497 - 1024000000 bytes (1.0 GB) copied, 2.97962 s, 344 MB/s - 1024000000 bytes (1.0 GB) copied, 0.873925 s, 1.2 GB/s
    be3110fd-3d24-4a5a-a61c-c2786161adc7 - 1024000000 bytes (1.0 GB) copied, 2.90661 s, 352 MB/s - 1024000000 bytes (1.0 GB) copied, 0.877557 s, 1.2 GB/s
    50c3c1ba-27c1-4339-bf06-3d9457ced625 - 1024000000 bytes (1.0 GB) copied, 3.15865 s, 324 MB/s - 1024000000 bytes (1.0 GB) copied, 0.948287 s, 1.1 GB/s
    c9ac1f96-bf0b-4105-818e-b223a002b0d9 - 1024000000 bytes (1.0 GB) copied, 2.87339 s, 356 MB/s - 1024000000 bytes (1.0 GB) copied, 0.882137 s, 1.2 GB/s
    5a341fdd-f46e-407e-b939-e203cccbda32 - 1024000000 bytes (1.0 GB) copied, 2.86835 s, 357 MB/s - 1024000000 bytes (1.0 GB) copied, 0.871511 s, 1.2 GB/s
    885fc7bf-d8b2-4c5a-9503-eacefbfe07e2 - 1024000000 bytes (1.0 GB) copied, 2.82857 s, 362 MB/s - 1024000000 bytes (1.0 GB) copied, 0.855557 s, 1.2 GB/s
    925858b0-9fc2-48eb-871d-fea1f5bab83a - 1024000000 bytes (1.0 GB) copied, 3.08541 s, 332 MB/s - 1024000000 bytes (1.0 GB) copied, 0.933991 s, 1.1 GB/s

  • 'the first runs were a lot slower' - How slow? Maybe thats a problem.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • well, if the drive was asleep, then below 100MB/s for the first, about the same 1.xGB/s for the second test
    If I did a LS before running the test, then about 250MB/s for the first, 1.xGB for the second.


    Damian

  • So it isn't a drive that limits your speed. How is CPU load while transfering files via SMB/CIFS? Also tell about the PC you're using to test the speed and how the two are connected.


    As a reference, I get up to 113MB/s via single GBit LAN Connection through a Router and an additional 'DIY market' Switch without any custom modifications/settings whatsoever.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

Jetzt mitmachen!

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