Re: Swap, ZFS & ARC

From: <jbo_at_insane.engineer>
Date: Thu, 02 Feb 2023 15:45:38 UTC




------- Original Message -------
On Thursday, February 2nd, 2023 at 14:41, Eugene Grosbein <eugen@grosbein.net> wrote:


> 
> 
> 02.02.2023 21:28, jbo@insane.engineer wrote:
> 
> > Hello folks,
> > 
> > Based on a discussion on the forums not so long ago I tried to figure out how swap usage on a ZFS system plays together with ARC. However, I could find very little to no information on this which leads me to believe that there is some "core concept" I might be oblivious to.
> > 
> > The main question is basically this: Your system starts to swap out data from RAM to your swap partition.
> > This swap data on disk ultimately resides somewhere in a ZFS pool.
> 
> 
> I prefer not doing this. That is, all my systems have swap partition outside of ZFS pool.

This isn't really achievable on your average "single disk" desktop systems, right?
Assuming I'm not missing something (which is why I came here to ask), a "regular" or "default" installation through the FreeBSD installer would setup a swap partition within the zpool, right?