Posts by wapvi

    hello, I have an odd problem ever since running LE on my Minix with a exfat USB formatted hdd

    .whe ever I try to stream a 4k hdr file from that particular drive I get infinite buffering. So decided to format the drive to ext4 as all the rest of my drives. Only issue I have to transfer all my files to another drive which is hooked to my router but I cant seem to find a correct way. I login to minix using sftp and my router using ftp, the router accept files just fine and the transfer is complete however the other way around doesnt work. What's the fastest way to do this ?

    so, I'm running LE 8.90.4 on my minix u9h. 2 USB HDD are hooked to the box. I'm running osmc on my RPI 3 b+, both boxes are hooked to my Asus 86u via gbit ethernet. My problem is when running transmission and trying to save on one of the hdds attached to the minix, it hangs and when I look at journalctl xe I see the cifs mount from the minix gets timeout. Any reason why this is happening. It works sometimes and sometimes it doesnt. When using hdds hooked directly to my router USB ports all is well

    Hi,

    i'm using Mininx uh9 as my media center while streaming from external and attached USBs i encounter some problems with buffering, if i play from an EXT4 formatted USB hdd everything runs smoothly over NFS share, howver if i play through an exfat external usb HDD it stutters then buffers then theres a loss of audio for some time and "source is too slow" message appears repeatedly.;Im running LE8.90.4

    No you have completely misread what I said, problem is nothing to do with LibreELEC, it's a combination of a poor kernel and hardware, playing over NFS reduces a lot of CPU overhead which in-turn = better playback.

    I guess that's a perfect workaround then. Nas through NFS plays smoothly no buffering. Btw any plans to incorporate .iso uhd playback?

    Perhaps you should try disabling journal first:

    Code
    umount /dev/sdX1
    tune2fs -o journal_data_writeback /dev/sdX1
    tune2fs -O ^has_journal /dev/sdX1
    e2fsck -f /dev/sdX1


    i will try that and report back thanks

    I did not want to offend You.

    Could You connect Your ext4 formated HDD to Your Xbox ?

    Why not the easy way ?

    Copy the contend of the HDD to backup spare(borrow a harddisk) - reformat ext4 to another format - solved and the FIAT becomes a Ferrari

    you did not offend me :) Kodi on xbox is still in the early stage plus id rather have a dedicated box for streaming rather than using the xbox. i found a better solution since i have some HDD with stuff i dont need anymore i'll just plug the ext4 drives to my router (streaming is flawless from it no hiccups) and connect the NTFS drives directly to my Box. And btw, it has nothing to do with box capabilities, as im able to play jelly fish 140mbs files from the box's NTFS formatted USB hdd without hiccup only ext4 HDD is causing problems


    EDIT: after your suggestion kszaq , i had a bunch of inode level 2 could be shorter errors, im sure it has something to do with disk errors?i clicked no then did hdparm


    Code
    LibreELEC:~ # hdparm -t /dev/sda1
    
    /dev/sda1:
     Timing buffered disk reads: 102 MB in  3.04 seconds =  33.54 MB/sec

    wapvi normally NTFS is the slowest on Linux due to bad ntfs-3g module.

    May be you should try increase read ahead setting for ext4 mounting options of that harddisk in fstab.


    But before you that, check the read performance of your disk first. Here is mine 31 mb/s


    mine reads at 23


    /dev/sdb1:

    Timing buffered disk reads: 66 MB in 3.04 seconds = 21.72 MB/sec

    LibreELEC:~ # hdparm -t /dev/sdb1


    /dev/sdb1:

    Timing buffered disk reads: 70 MB in 3.04 seconds = 23.06 MB/sec

    LibreELEC:~ # hdparm -t /dev/sdb1


    /dev/sdb1:

    Timing buffered disk reads: 72 MB in 3.02 seconds = 23.82 MB/sec

    LibreELEC:~ #

    Thanks for the clarification, my NFS share is working fine with high bitrates uhd files. Also ntfs disk is working fine and since I have a 8tb hdd I don't I can back up to reformat as ext3 or any other format. Is there a way to fix this without ?

    Both of these have been covered before, we really should make an FAQ for these kinds of questions.

    AFS/Samba don't work well on these boxes, transfer via NFS if you can and don't use wireless.

    LibreELEC is not the reason or cause for slow transfers, it's a combination of a poor kernel and slow hardware, when transferring over USB the kernel stack has to handle not just the usb stack but also the ext4fs which adds an overhead to the CPU which impacts performance in Kodi which is why you see the slow down and stutter, the file system format becomes irrelevant when transferring over NFS the overheads are then handled on the remote side.

    I think you misread what I said or maybe I just said it wrong so let me try again. When playing a uhd file from my ext4 formatted hdd nfs share everything is fine. However, when pluggingthe drive to my minix u9 and playing the same file it results in stuttering and out of sync audio. Seems like libreelec doesn't read fast enough from an ext4 had which is odd. I keep getting source is too slow to read but a ntfs formatted drive plays his files just fine.

    Me to.

    But ext4 formated external HDD is no standard. I never formated external drives with ext4, using NTFS or exFat is working fine.


    Lessons learned:

    External USB-HDD in ext4 format connected @amlogic box is to slow to play high bitrate UHD video

    Well even my ext4 formatted hdds that are attached to my rpi and router struggle. Dunno if it's the box or the installation