From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,29323add4ad56001 X-Google-Attributes: gid111c93,public X-Google-Thread: f9b51,29323add4ad56001 X-Google-Attributes: gidf9b51,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: swap file maximum size... Date: 1999/10/02 Message-ID: <7t5f81$kke$1@rover.ucs.ualberta.ca>#1/1 X-Deja-AN: 532052353 References: <37F4E03E.C43E9846@ekkinc.com> <7t377k$re13@biko.telecom.ups.com> Followup-To: comp.os.linux.setup,comp.os.linux.alpha Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.setup,comp.os.linux.alpha L. Friedman (beemer@earthling.net) wrote: : Not exactly sure which version of the kernel, but i do know that : the latest release of all major distro's no longer have the swap : limitation of 127MB. So, to answer your question, YES. : EKK wrote in message <37F4E03E.C43E9846@ekkinc.com>... : >Can swap size now exceed 125MB? Swap limits like 125MB or 127MB on Alpha **never** existed so the question is somewhat akin to "when did you stop beating your wife?" and the remark about "the latest release of all major distro's" is indeed true the same way as it was for "not so major" and "not the latest". :-) For kernels of 2.0 and earlier series on Alpha the limit is 512 MB in **one** "swap area" (a partition or a file) and 8 such areas in a default kernel (easy to raise than number if you really need more). This translates to a "soft" limit of 4 GB. For Intel and older kernel releases this is indeed four times less due to smaller pages and narrower 'long' used to keep a bitmap of pages in swap. Still quite a bit more than 127MB (this was 128MB on Intel but if you had an "inconvenient" disk geometry you would be able to allocate only a bit less in a swap partition - depending on a disk layout). With current kernels you can indeed allocate swap even in bigger chunks, provided you also updated your tools, but if you are really doing that then you should think very hard about your swap needs and strategies. A hint: with a massive swap your swap areas should likely be dispersed among multiple spindles with priorities set to ensure an automatic striping; read manual pages for mount and swapon for more details. This may be different if you are swapping on a RAID array. Michal