Chuck Silvers <chuq%chuq.com@localhost> writes: > The following reply was made to PR port-evbarm/56944; it has been noted by GNATS. > > From: Chuck Silvers <chuq%chuq.com@localhost> > To: gnats-bugs%netbsd.org@localhost > Cc: > Subject: Re: port-evbarm/56944: ZFS heavy usage on NetBSD running in Mac M1 > VM results in kernel thread running away and filesystem hang > Date: Sat, 30 Jul 2022 05:20:10 -0700 > > On Sat, Jul 30, 2022 at 07:19:41AM -0400, Brad Spencer wrote: [snip] > oh, you've got a zvol as swap space. that has never worked on netbsd > and it's not going to work for the foreseeable future. using a zfs file > as a swap file will also hang eventually. you'll need to change your setup > to have the swap space be something that doesn't involve zfs. > > -Chuck > After making swap a virtual disk, the "zfs receive" test completed after about an hour and 15 minutes, which was never possible before. The receive was about 32GB of compressed zfs file set. I would consider this patch a keeper and maybe consider it for 9.x .... I have attached a couple of pstat -s and vmstat -m outputs. One from part way though the receive and one at the end. -- Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org
Attachment:
INFO.tar
Description: some info during the zfs receive test