March 26, 20206 yr Author root@Tower:~# ls -lah /mnt/cache/system/docker total 0 drwxrwxrwx 1 root root 0 Mar 26 09:00 ./ drwxrwxrwx 1 nobody users 26 Feb 6 2019 ../ root@Tower:~# ls -lah /mnt/cache/system/libvirt total 105M drwxrwxrwx 1 root root 22 Feb 6 2019 ./ drwxrwxrwx 1 nobody users 26 Feb 6 2019 ../ -rw-rw-rw- 1 nobody users 1.0G Mar 26 05:30 libvirt.img root@Tower:~#
March 26, 20206 yr Community Expert OK, that looks like the system folder on disk1 is obsolete. From the command line again cd /mnt/disk1 rm -r system
March 26, 20206 yr Community Expert Looks good. None of system share on the array. Go to Settings - Docker and change your docker image size to 20G then enable dockers. You can add your dockers back just as they were using the Previous Apps feature on the Apps page. But, just as they were may not be good enough, since you had already filled 20G before. How many dockers do you normally have installed?
March 26, 20206 yr Author I had a good dozen, will they get all their config data back from /appdata ? Do I have to reconfigure all the parameters, like mappings and stuff? Is there somewhere that has that still I can copy from?
March 26, 20206 yr Community Expert 1 minute ago, CowboyRedBeard said: I had a good dozen, will they get all their config data back from /appdata ? Do I have to reconfigure all the parameters, like mappings and stuff? Is there somewhere that has that still I can copy from? 5 minutes ago, trurl said: You can add your dockers back just as they were using the Previous Apps feature on the Apps page. See this post I made yesterday for more explanation if you want to understand how this works: https://forums.unraid.net/topic/90146-docker-fqdn/?do=findComment&comment=836919
March 26, 20206 yr Author OK, putting it all back together and will report. Is there a way to tell which of the apps was last installed? I have a few of them that I've installed from different sources, one worked well and the other didn't. So whatever one was last installed was the one I had working.
March 26, 20206 yr Author I did move all the sab operations to a dedicated share that is set to only.... it's still giving me high IO wait
March 26, 20206 yr Community Expert 2 hours ago, CowboyRedBeard said: Is there a way to tell which of the apps was last installed? You might get some clue by checking the timestamps of the templates stored on flash in that folder I mentioned in the link.
March 26, 20206 yr Author OK, I'll take a look. Most of those are non-essential anyway. Is there any further ideas on why I'm still getting the high IO? Latest diag attached. 6th-tower-diagnostics-20200326.zip
March 27, 20206 yr Author I've gotten everything back to normal, but still have the high IO situation when downloading with sab ??
March 27, 20206 yr Community Expert See what happens if you make sab download to a disk in the array.
March 27, 20206 yr Author OK, so this is what I did. I created a share "sabtest" that was cache "no" and then copied the file structure of the cache only one "sab" to it.... This was the performance during copying from cache to the array: That was 20G of files, from unfinished downloads. This was performance during sab running to this array only share: This is during download, and I think notable here is how it's now downloading at about 40% of the previous speed. And while the overall impairment of the system's performance and response of other services wasn't as bad... It's still sluggish. Interestingly enough, after the download has "finished" sab seems to hang up for a few minutes, before unpacking And then this is what it looks like during unpacking:
March 29, 20206 yr Author And this is copying from the array only sab test share to my media share, which is cache "yes" So it's definitely something to do with the cache drives, which are new... and the previous ones did the same. This is not likely to be hardware I'm guessing, so I'm not sure where to look next. Thoughts?
March 29, 20206 yr I have almost exactly the same server (128gb ram, dual xeon 2690, 2 x QVO 860 1 TB ) - same issue. Sounds to me as if it is related to this topic :
March 30, 20206 yr Author 9 hours ago, ephigenie said: I have almost exactly the same server (128gb ram, dual xeon 2690, 2 x QVO 860 1 TB ) - same issue. Sounds to me as if it is related to this topic : I have only parsed through all that.... but the issue started before using the Samsung drives. I had Crucial drives before switching to the Samsung and the problem occurred then too. This box was running fine for over a year, it started I think after an upgrade. I've only noticed it recently as I had most of these sort of operations happening in the dead of night. Is this some sort of formatting error? Edited March 30, 20206 yr by CowboyRedBeard
March 30, 20206 yr Author So reading through this some more, it does sound like what I'm experiencing... although I was experiencing it with the Crucial drives also. This stuff is out of my realm of understanding, should I try a different file system than btrfs?
March 31, 20206 yr And again. Reformatted the cache disks, put them into a raid0, ran balance, ran fstrim -av etc.. Performance is an abosute disaster when the mover is active. Docker container die, VM's become unusable etc. This is a serious BUG! The write / read speed btw. during those times is around 15Mbyte/s per SSD, 50Mbyte/s read + write for the full array ( 13 disks ) . Mover runs since 10h +
March 31, 20206 yr Community Expert 5 hours ago, ephigenie said: Mover runs since 10h + I agree you should get better performance, but you might want to reconsider how you are using cache. Mover works best during idle time, and you don't have to cache everything. My cache is for dockers and VMs, and for DVR since there is some performance advantage when playing and recording at the same time. Most of the writes to my server are scheduled backups and queued downloads, so I don't care if they are a little slower since I am not waiting on them. They all go directly to the array where they don't need to be moved, and where they are already protected. Others will have different use cases of course, but think about it. Some people just cache everything all the time without thinking about it.
March 31, 20206 yr Author I use cache for downloads because sometimes I want to put media onto Plex and watch right after. MUCH less wait time. I've also found benefit when copying lots of files to a share of it using cache to make that take less time. Like you said, everyone's use case is different. But I'd like my cache to work like it used to for sure. It seems like ephigenie and others are seeing the same thing I am. Which for over a year I did not see. And, with two different sets of cache drives from different manufacturers it doesn't appear to be a hardware issue on the surface of it. I used to get write speeds to cache of 500M + What are some good next steps for troubleshooting the issue? Edited March 31, 20206 yr by CowboyRedBeard
April 1, 20206 yr 23 hours ago, trurl said: I agree you should get better performance, but you might want to reconsider how you are using cache. Mover works best during idle time, and you don't have to cache everything. My cache is for dockers and VMs, and for DVR since there is some performance advantage when playing and recording at the same time. Most of the writes to my server are scheduled backups and queued downloads, so I don't care if they are a little slower since I am not waiting on them. They all go directly to the array where they don't need to be moved, and where they are already protected. Others will have different use cases of course, but think about it. Some people just cache everything all the time without thinking about it. Well i have a separate machine with local ssd storage and capacity drives as download client. This is in order to separate the IO a bit and have the main machine free for other tasks. However this means that sometimes a few 100GB are being copied over to the cache. As long as the mover is not running, access speeds are fine, UI is reacting properly etc. I am also hosting a bunch of containers ( from cache only ) on both sides (on the download & main machine ). However while the single SSD on the download machine (which has much lower specs) can easily cope with parallel IO (running ext4fs) the big Unraid box is struggeling totally. Now i want to find out why and remove this problem. I know my way around strace etc. and the next time i will do a bit more investigation to see what is really going on. However the hints so far from this forum are the partition start for Samsung SSD's which should not start at sector 64 but 2048.
April 1, 20206 yr Author Please post what you find, I use mine as a "one box to do it all" so this is killing me. And it's not normal operation to have this much IO wait, as it hadn't been the case in the past. I assume the following article is what we're looking at: https://linux-blog.anracom.com/2018/12/03/linux-ssd-partition-alignment-problems-with-external-usb-to-sata-controllers-i/ This is mine: root@Tower:~# lsblk -o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC /dev/sdc NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC sdc 0 512 0 512 512 └─sdc1 0 512 0 512 512 root@Tower:~# lsblk -o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC /dev/sdb NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC sdb 0 512 0 512 512 └─sdb1 0 512 0 512 512 root@Tower:~# This more than I'm comfortable with goofing around with on my own. Hoping to get some guidance here. Thanks Edited April 1, 20206 yr by CowboyRedBeard
April 1, 20206 yr Problem should be Samsung QVO SSD, due to bad write performance. ( one of worst SSD )
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.