lkml.org 
[lkml]   [2005]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Swap partition vs swap file
Hmm, but what about tells mkswap(8) tells:
"...Note that a swap file must not contain any holes (so, using cp
(1) to create the file is not acceptable)..."?

If swap file will be fragmented it will contain holes.
Or what type of holes can cp(1) can create, which are not usefull for mkswap(8)?

2005/6/29, Andrew Morton <akpm@osdl.org>:
> Mike Richards <mrmikerich@gmail.com> wrote:
> >
> > Given this situation, is there any significant performance or
> > stability advantage to using a swap partition instead of a swap file?
>
> In 2.6 they have the same reliability and they will have the same
> performance unless the swapfile is badly fragmented.
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-29 12:41    [W:0.073 / U:2.824 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site