|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Pros and cons of swap in a partition vs. in a file in the file system
|
I would imagine there is a slight performance penalty for filesystem
overhead
with a swap file. In the past I've attempted to size adequately with
partitions.
When that falls short, I'll add swap using files in a pinch. Sometimes
that pinch
turns out to be permanent. I recall that someone once said it was
around 5%, but
I don't have anything concrete to go on.
In the situations when I've used it the alternative was way less
attractive than
even a significant performance hit.
Andy
Matt Mossholder wrote:
> On Wed, 2007-12-19 at 11:19 -0500, K.S. Bhaskar wrote:
>
>> Does anyone have any opinions on putting swap in a partition vs. in a
>> file (e.g., /home/swap) in the file system? Thank you very much.
>>
>> -- Bhaskar
>>
>
>
> My take is that partitions are better, but not substantially so. When
> laying out my filesystems, I typically look at the max memory the
> motherboard can accept, double it, and then use that as the size of the
> swap partition. That way I never have to worry about resizing it. Disk
> space it fairly cheap, so no big loss...
>
>
> --Matt
>
>
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|