From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Slater Subject: Re: Swap partition sizes Date: Fri, 26 Apr 2002 12:08:42 -0700 (PDT) Sender: linux-admin-owner@vger.kernel.org Message-ID: <20020426190842.17732.qmail@web12806.mail.yahoo.com> References: Mime-Version: 1.0 Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Horia Chirculescu , James Kelty Cc: Linux Admin >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 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/