From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HRaz0-0001v1-3S for garchives@archives.gentoo.org; Wed, 14 Mar 2007 21:26:06 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2ELLHlB005548; Wed, 14 Mar 2007 21:21:17 GMT Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2ELLHOH005522 for ; Wed, 14 Mar 2007 21:21:17 GMT Received: from myeth1 (chello062178207208.8.15.tuwien.teleweb.at [62.178.207.208]) by stud3.tuwien.ac.at (8.9.3 (PHNE_29774)/8.9.3) with ESMTP id WAA04192 for ; Wed, 14 Mar 2007 22:21:16 +0100 (MET) From: Bernhard Auzinger To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Is swap need when there is 4g of ram? Date: Wed, 14 Mar 2007 22:21:20 +0100 User-Agent: KMail/1.9.6 References: <45F66A32.1050004@singnet.com.sg> <200703141826.12918.e0026053@student.tuwien.ac.at> <200703142003.11766.volker.armin.hemmann@tu-clausthal.de> In-Reply-To: <200703142003.11766.volker.armin.hemmann@tu-clausthal.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703142221.20642.e0026053@student.tuwien.ac.at> X-Archives-Salt: 2b810536-af16-408e-a506-b6f20ee1c469 X-Archives-Hash: cc43aec4239bb21618955da6b1dd1a85 > j2 for MAKEOPTS and +kdeenablefinal and after some time each one of the > makejobs want 900mb ram. There are two libs where that happens, makes > kdepim the slowest-to-compile packet for me. Wesnoth is also an offender. > Some versions want 500mb+ at some point when compiling. That's pretty much. About 3 years ago I watched a similar behaviour on PyQt. At that time I had just 512MB of ram (and a 1.2GHz pentium3) and that tiny package drove me crazy because the memory requested by gcc when compiling PyQt was more than 512MB and the compile process did not only happen on data stored in the ram but also on data stored in the swap space. It was awful. My system was not usable for more than an hour. It was so busy swapping as I never saw a system swapping before. I remember that after a upgrade to 1G ram the PyQt package took less than five minutes. I decided to trace the memory usage when compiling PyQt and I recognized that it was less than a minute requesting so much memory. That was the first time I was convinced that swapping can end very very bad. rgds Bernhard -- gentoo-amd64@gentoo.org mailing list