问题原文
原帖链接 · arcticmac · CC BY-SA 3.0
I have a relatively new box here running Ubuntu with ZFS-on-Linux across an 18-disk array. The first couple of times I did a zpool scrub, it seemed like everything worked nicely, but the last several times I've tried, it completely trashes the system - when I can get it to do anything at all, it's reporting a load average of 20-50, and most of the time it's just unresponsive.
This isn't expected behavior is it? Is there some configuration I can change to make this less awful?
Update:
- Hardware configuration is basically http://www.45drives.com/products/storage/s45-lite.php
- 18 6TB disks connected via a HighPoint R750 HBA.
- Ubuntu 14.04 LTS, Linux 3.19 kernel.
- Pool is currently around 50% full.
- No deduplication.
- [Update 2]: disks are arranged in 2 RAIDZ (single-parity) vdevs with 9 disks each.
已采纳解答
原帖链接 · arcticmac · CC BY-SA 3.0
Ended up asking on the ZFS-on-Linux mailing list, and eventually figured out that my problem was that the ZFS ARC was using too much of the system RAM (or more specifically, not leaving enough free). This was resulting in contention over memory between other Kernel tasks and ZFS, with the result that there was a lot of I/O on the system (non-ZFS) disk, and things slowed to a crawl. Interestingly, the system did not report any swap usage and all of the paging going on was reading static pages from disk (presumably libraries and the like), which is why my usual "it's swapping so it will be slow" alarm didn't go off.
I decreased the size of the ARC cache to leave 3-4GB of RAM free, and now things are running much better!
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
