I have Turris Omnia with 2GB RAM with connected USB HDD (as sda) drive and configured as NAS. It work correctly, speed is usable (50/30 R/W via 5G WiFi). Problem is, that when I watch movies on Apple TV 4k (connected on 1GB LAN) and simultaneously writing data from PC over WiFi, Apple TV have problems with reading data from sda. It seems, that when writing at max speed from PC over WiFi (cca 30MB/s), reading speed is too slow.
I try to connect next USB drive (SSD as sdb) and writing some files to sda and some to sdb, it is same problem.
Where can be problem, or, how can I configure Turris to make set Apple TV priority higher?
you cannot read and write at the same time. Maybe it could help if you tried to play around with prebuffering of videos on your TV or any client you are using, PC, laptop (if it is supported and have enough RAM), so you wont run out of your buffer while you are doing sometimes some other disk activities as well.
What you could also use is: ionice, you can prioritize some processes that are using the disk. However, as I checked it is not available on Turris repo, or maybe not even on OpenWRT, but do some resarch. You could also try to compile it here or just try to use it from a container.
thanks for answer, but I hope, that it is a joke;) Only because of NAS function, that is better, as is on router like Asus RT-AC66U_b1 or RT-AC68U I buy Turris. On Asus routers I know, that read and write in one time is problem and NAS is disconnected, but on Turris too? I test Turris 2 days and for home use it is not good as I read. NAS is faster, but not stable. Now, I dont know why, my Apple TV each 5min freeze for few minutes and reading from NAS.
I would certainly try to avoid NTFS, especially if the drive will only be attached to a non-Windows system. (Just FYI, the FS might well be unrelated to what you experience.)
I use NTFS and I want to use NTFS in future too, because of Windows. Apple TV use SMB (I use Firecore Infuse Pro as movie player). I have DLNA server started too, because of Yamaha receiver only can use DLNA for music.
I know, that better is Synology, I had before, but I want All In One solution, because of dimensions and I dont need max performance, but still I need stability.
If you access the drive only over SMB, NTFS probably won’t help you, but I guess you want sometimes to disconnect it and attach to a Windows computer directly…
Yes, when I need “max performance”, I disconnect drive and attach it to Windows directly via USB-A/USB-C. Same situation is, when I need to give data to someone, or obtain data from someone.
Assuming all current participants can use English well, I’d prefer to use that, as most Omnia users actually can’t use Czech IIRC. There are separate sections in forum for CZ.
It’s not about performance tweaks (for now) but as one of very first diagnostics (and usually performance is linked to reliability). If the problem disappears by changing to linux native FS then you know where to aim. We both me and @vcunat know what we speak about when it comes to linux and NTFS I think
It’s worth to try - trust me.
Btw: What is data rate for 4K on some video when you observe the problem?
Data rate was low, 600MB for 1h video, so very low.
I know, that NTFS is sometimes problem (and as I see in core log and as you wrote, Turris have problems too), but still it is good and universal format, that can I use on my systems. I can read it on OSX too.
Apparently the drive is failing during writing, though I’m no good in finding out why exactly. I suppose I’d start by simple smartctl -H /dev/sd?
I believe NTFS is a well-designed FS (and it probably was one of the best at some point), but I wasn’t convinced about quality of non-Windows implementations, at least years ago. Maybe the FS is documented now, etc.
drive is OK, without errors, work with Windows, Asus router. Today I buyed Synology RT1900ac and Addonics NAS 4.0 adapter, drive work without problems (OK, via Addonics it was too slow, but it is adapter problem).
Now I testing Turris and it seems, that 1,5h after start it work without problems, I play video on Apple TV and from PC sending to drive 20GB file (17MB/s), at same time from drive to PC 15GB (17MB/s) file and at same time I compress 1160 files. This I repeat about 5 times, still OK. After that, I only watch Apple TV and problems start. It was not so extreme as fe days ago, only few times it freeze for few seconds. It was 5 times and after that it seems, that it work without problems. Diferent from first round of tests is, that before PC was connected via 5G WiFi, now I testing it via LAN. Maybe, it is overheating?
Here you have few screens from htop, top, iostat. In core log I dont see error, in log too.
EDIT: I now trying next test, 10GB video on Apple TV, sending file to NAS, downloading next 2 files from net to NAS, stress CPU/sensor to 107/109, without problems. I dont understand, it seems like randomly problem.
Nothing obvious from screen shots. Maybe only the temp is high (it is normal under load) and when 5G radio under load generates additional heat then it can cause probems mainly to radio whose temp. operating range is not so high.
And if I understand well the problem on TV exists randomly even when you’re not writing to disk.
disk:
Could you confirm if time of errors in log matches with time of problem on TV?
Are there are any errors in time when streamining on TV works properly?
temperature:
3. is cooling block really touching thermal tape on case?
4. if you remove the case for few days - problem persists or not?
other:
5. could you reproduce the same phenomenon by utilizing wifi as you did before?
I think you will need more time and testing to confirm real events causing the problem.
Because of problems, restarting and so, one file on drive was corrupted. Chkdsk not found that, but file was damaged and when I try to unrar it (it was part of few file in package), system disconnect drive, or drive was not accesable. This problem was same, while I connect drive to Windows PC, Synology RT1900. This was solved.
Next problem I cannot detect. As I wrote, I turn on router after few hours of testing other router. It work correctly, Apple TV, iPhone, Windows PC are connected, movie loading on iPhone and Apple TV is fast. I saving files to and from drive simultaneously, still OK. Only what I found ist, that on PC, while I play video in MPC-HC, start playing is sometimes same, as on Apple TV and iPhone. Few seconds of initial loading, after that, video start, but after second it freeze for second and than continue of playing. After few hours, from PC I can still saving files at same speed, drive is still accesable (i downloading 10GB file at slow speed from net), but Apple TV start freezing. Sometimes cannot load file, or loading is slow or during playback, it freeze. I test play same video on Apple TV and iPhone simultaneously. It seems, that at same time (± few seconds because of cache) video freeze for few seconds (this was one time). But, mostly it is, that Apple TV freeze, or cannot load video and on iPhone I can start that video without problems at same time. At same time, Windows PC still can saving files to drive at full speed. I disable ipv6 in lan and wan too, still same.
I can accept, that problem is in Apple, but this is first time, that I have problems. I test it on Synology rt1900ac few days, without problems (yes, it is slower than Turris, but stable). Years I use Asus rt-ac68u or Asus rt-ac66u, without problems. LAN or WiFi, still same. Changing LAN ports, same.
About cooling - I try it, but today was temps under 100. I try it without case today too.