public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Any experience with swapfiles?
  @ 2012-05-02 20:31 99% ` Paul Hartman
  0 siblings, 0 replies; 1+ results
From: Paul Hartman @ 2012-05-02 20:31 UTC (permalink / raw
  To: gentoo-user

On Wed, May 2, 2012 at 1:53 PM, walt <w41ter@gmail.com> wrote:
> I have two machines with 4GB of ram and I've never seen either one use
> swapspace (yet) so I'm thinking I could delete my swap partitions and
> substitute a much smaller swapfile -- if it's safe.
>
> Any downside to using a swap file instead of a swap partition, maybe
> depending on which filesystem you use, or something?  Security holes?
> Any horror stories out there?

I think a swapfile cannot be used for suspend-to-disk. When creating a
swap file you should take care to ensure it is not fragmented.
Otherwise, performance should be equal between swap partition or swap
file under normal circumstances, as far as I know.



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-05-02 18:53     [gentoo-user] Any experience with swapfiles? walt
2012-05-02 20:31 99% ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox