Re: Swap partition priority
Stéphane Rochoy <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
Andrea Venturoli <[email protected]> writes: > Is it possible to set swap partition priority? > According to swapon(8), the answer is no, but I wonder if the man page > might be outdated, if patches are available, etc... > > The reason is I have SSDs and HDDs in the same system: I normally use > swap on SSDs (for speed obviously), but sometimes the amount is not enough. > So I'm ponderind adding swap on HDDS too, but this would slow down > everyrting unless it's really used as last resort. Hello, Long ago I came accross a setup were the swap device was a GEOM mirror (see gmirror(8)). AFAIK it was working except for vmcores: the kernel was always using the first device which required to help savecore(8) a bit. So maybe there's some GEOM class matching your needs. Regards, Stéphane