Hi all,
I'm having an issue on my system with my Samsung 980 1TB NVMe drives. They're setup in a ZFS mirror as my root drive. Whenever I push a lot of I/O through the pool (e.g., doing an rsync of a lot of data -- either large files or smaller ones), my system will come to a crawl until I stop the disk activity process. In general, Firefox activity halts (e.g., attempting to visit a page will just spin and spin, or refreshing a page will do the same), trying to open a terminal in i3 just doesn't respond, etc. Whenever I stop the process that's doing the disk activity, after a while (depending on the amount of what's being copied) the system starts responding as if nothing happened. I can watch "zpool iostat zroot 3" and see the copy happen when the system becomes slow, and when the writes go back down that's what the system starts responding again. "top" shows no glaring issue of a process consuming CPU/memory, and load doesn't increase that much.
I generally don't notice it because I'm not doing a ton of copying on this pool, but recently started and am now noticing it more. I did see the issue a few months ago when I was rsyncing files to this host, but just shrugged it off since it became responsive again after the copy.
I saw something about switching from the nvd driver to nda. Would that be beneficial? Though, it's probably not going to be an easy switch since my pool is setup for nvd0 and nvd1 currently.
Any thoughts on what could cause this and/or the solution?
Some data:
Thanks!
I'm having an issue on my system with my Samsung 980 1TB NVMe drives. They're setup in a ZFS mirror as my root drive. Whenever I push a lot of I/O through the pool (e.g., doing an rsync of a lot of data -- either large files or smaller ones), my system will come to a crawl until I stop the disk activity process. In general, Firefox activity halts (e.g., attempting to visit a page will just spin and spin, or refreshing a page will do the same), trying to open a terminal in i3 just doesn't respond, etc. Whenever I stop the process that's doing the disk activity, after a while (depending on the amount of what's being copied) the system starts responding as if nothing happened. I can watch "zpool iostat zroot 3" and see the copy happen when the system becomes slow, and when the writes go back down that's what the system starts responding again. "top" shows no glaring issue of a process consuming CPU/memory, and load doesn't increase that much.
I generally don't notice it because I'm not doing a ton of copying on this pool, but recently started and am now noticing it more. I did see the issue a few months ago when I was rsyncing files to this host, but just shrugged it off since it became responsive again after the copy.
I saw something about switching from the nvd driver to nda. Would that be beneficial? Though, it's probably not going to be an easy switch since my pool is setup for nvd0 and nvd1 currently.
Any thoughts on what could cause this and/or the solution?
Some data:
Code:
Motherboard: ASRock B560 Pro4 LGA 1200
hw.model: Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
$ pciconf -lv
nvme0@pci0:2:0:0: class=0x010802 rev=0x00 hdr=0x00 vendor=0x144d device=0xa809 subvendor=0x144d subdevice=0xa801
vendor = 'Samsung Electronics Co Ltd'
device = 'NVMe SSD Controller 980'
class = mass storage
subclass = NVM
Thanks!