Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] partiton



On Wed, Apr 03, 2002 at 05:52:10PM +0900, Frank Bennett wrote:
> On Thu, Apr 04, 2002 at 06:29:42PM +0900, hatsuhiro wrote:
> 
> > 1. Do we have to have more than one partition when large (like 512MB)
> > capacity of swap space is needed?
> 
> It is better to use a separate partition for your swap space.  There are
> several reasons, but the simplest is that it just means fewer layers of
> processing between memory and the physical swap space, and therefore
> higher speed and reliability.  With a swap file that size, whatever the
> underlying design limits may be, I would definitely put it on its own
> partition or partitions.

Some of Hatsuhiro's question may arise from an old Linux
reference. Old kernels (pre 2.2.x I believe) allowed a maximum
of 128MB per swap partition, and so multiple swap partitions
was a workaround for that limitation.  Any modern kernel has
raised the limit (to 2GB on the x86 architecture for example).

There may be performance advantages to having multiple swap
partitions spread across different spindles, but not when
we are talking about chopping up a single drive.


-- 
Jim Tittsler                                         GPG: 0x01159DB6
Kanto Computer Calendar  http://www.OnJapan.net/calendar/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links