From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <3816729a-a9d5-4f63-9850-c7247edae37e@c16g2000yqe.googlegroups.com> From: John Floren Date: Fri, 2 Nov 2012 11:36:57 -0700 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] Kernel panic when allocating a huge memory Topicbox-Message-UUID: d05ae1a4-ead7-11e9-9d60-3106f5b1d025 On Fri, Nov 2, 2012 at 10:36 AM, Pavel Klinkovsky wrote: >>> It really seems as a problem with swap. :( >> >> this is well known, and solutions are available >> even if you don't care to use them. > > Oh, does it mean the official Plan 9 distribution contains non-working swap? :O > It is clear I missed something... > > Sorry for the noise. > > Pavel > Swap has been broken since at least 2005 (my first experiments with Plan 9). Once I stopped trying to compile ghostscript on a 32 MB laptop, I never really had problems with the lack... hell, I did my master's work and most of my personal computing on a laptop with only 1 GB of RAM and no swap for most of 2010, only ran into problems when aptitude decided to calculate a multi-gig dependency graph. Swapping is so painful, please consider buying more RAM. It may be simple to fix the swap code, if you're inclined to do some kernel hacking, because the kernel in general is pleasant to work with. john