swap

Phil Waclawski phil.waclawski at mesacc.edu
Sun Mar 15 22:07:27 MST 2015


>From what I understand, for laptops to properly hibernate, they need at
least as much swap as you have RAM.  But on the little servers I set up for
my students/etc....SWAP is never used.

Phil W

On Sun, Mar 15, 2015 at 9:13 PM, coverturtle <coverturtle at gmail.com> wrote:

>  The quick answer is that a swap partition is faster than a swap file.
> Using a file means you have the overhead of the file system software.
> Using a partition means that the kernel can use the swap space with less
> overhead.
>
> If you noticed when you installed, the linux installer only wants to
> allocate as much swap space as you have memory.  If you intend to add more
> memory later, you might want to
> make your swap partition as large as the maximum size of memory you
> computer will hold.  OTOH, I've noticed that I hardly ever use any swap
> space at all and I only have 2GB
> of memory.
>
> Watch the memory use in more or less real time in you system monitor app.
>
> On 03/15/2015 09:13 PM, Michael Havens wrote:
>
> I was wondering why Linux uses a swap partition rather than a swap file. I
> mean I would think a swap file would be superior since a files size can
> fluctuate whereas a partition is static.
>  :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20150315/493a8cd1/attachment.html>


More information about the PLUG-discuss mailing list