From: Christopher Slater <olyar@yahoo.com>
To: Horia Chirculescu <horia@ct2.eltop.ro>,
James Kelty <jamesk@everbase.net>
Cc: Linux Admin <linux-admin@vger.kernel.org>
Subject: Re: Swap partition sizes
Date: Fri, 26 Apr 2002 12:08:42 -0700 (PDT) [thread overview]
Message-ID: <20020426190842.17732.qmail@web12806.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.20.0204251003590.27727-100000@ct2.eltop.ro>
From the swapon manpage:
"In the new style swap area this is precisely what is done. The
maximum useful size of a swap area now depends on the architecture. It
is roughly 2GiB on i386, PPC, m68k, ARM, 1GiB on sparc, 512MiB on
mips, 128GiB on alpha and 3TiB on sparc64.
Presently, Linux allows 8 swap areas.
Also, you should look at the priority setting. If you set them all at
the same priority they will be used in a round robin fashion (somewhat
like striping). You'll probably get the best performance by doing
that.
HTH,
Chris
--- Horia Chirculescu <horia@ct2.eltop.ro> wrote:
> He could try to break down swap partition into 4 or more pieces and
> then
> activate the little swap partitions and see what happens.
>
> ____ ____ o ~
> // // / __ \ // \ // //'''' //\\
> //_____// / / / / //___ / // // // \\
> // // / /_/ / // \ // // //____\\
> // // \____/ // \ // \\.... // \\
>
>
------------------------------------------------------------------------
> Comtec Net Romania
> ----------------------------------------------------
> WEB: www.eltop.ro IRC: irc.eltop.ro NEWS: news.eltop.ro
> ----------------------------------------------------
> Horia Chirculescu root@eltop.ro
> Mobil: +40 93 205 086
>
> On Wed, 24 Apr 2002, James Kelty wrote:
>
> > Hello! Someone here set up a new machine with 4 Gigs of memory, and
> they
> > gave the system 8 Gigs of swap. Now, they have a problem.
> Apparently the
> > OS is only recognizing about two gigs of it.
> >
> > Here is the fidsk, and meminfo stuff in that order...
> >
> > Disk /dev/sda: 255 heads, 63 sectors, 2233 cylinders
> > Units = cylinders of 16065 * 512 bytes
> >
> > Device Boot Start End Blocks Id System
> > /dev/sda1 * 1 383 3076416 83 Linux
> > /dev/sda2 384 1403 8193150 82 Linux swap
> > /dev/sda3 1404 2233 6666975 5 Extended
> > /dev/sda5 1404 1913 4096543+ 83 Linux
> > /dev/sda6 1914 2233 2570368+ 83 Lin
> >
> > Mem: 4154732544 4149997568 4734976 5500928 32456704 3929620480
> > Swap: 2147467264 0 2147467264
> > MemTotal: 4057356 kB
> > MemFree: 4624 kB
> > MemShared: 5372 kB
> > Buffers: 31696 kB
> > Cached: 3837520 kB
> > SwapCached: 0 kB
> > Active: 13440 kB
> > Inact_dirty: 3858116 kB
> > Inact_clean: 3032 kB
> > Inact_target: 1244 kB
> > HighTotal: 3211264 kB
> > HighFree: 2036 kB
> > LowTotal: 846092 kB
> > LowFree: 2588 kB
> > SwapTotal: 2097136 kB
> > SwapFree: 2097136 kB
> > NrSwapPages: 524284 pages
> >
> >
> > I seem to remember somewhere along the line that Linux has a limit
> on
> > the swap partition size. Is this ture? I just can't seem to find a
> > refference to it!
> >
> > Thanks!
> >
> > -James
> > --
> > James Kelty
> > Sr. Unix Systems Administrator
> > Everbase Systems, LLC
> > jamesk@everbase.net
> > 541.488.0801
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe
> linux-admin" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
prev parent reply other threads:[~2002-04-26 19:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-24 20:06 Swap partition sizes James Kelty
2002-04-25 7:06 ` Horia Chirculescu
2002-04-26 19:08 ` Christopher Slater [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020426190842.17732.qmail@web12806.mail.yahoo.com \
--to=olyar@yahoo.com \
--cc=horia@ct2.eltop.ro \
--cc=jamesk@everbase.net \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).