Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 29 Oct 2002 01:08:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 29 Oct 2002 01:08:02 -0500 Received: from air-2.osdl.org ([65.172.181.6]:37531 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id ; Tue, 29 Oct 2002 01:08:01 -0500 Date: Mon, 28 Oct 2002 22:10:39 -0800 (PST) From: "Randy.Dunlap" X-X-Sender: To: Andrea Arcangeli cc: , Christoph Rohland , Andrew Morton , , , Alan Cox Subject: Re: writepage return value check in vmscan.c In-Reply-To: <20021028192214.GI13972@dualathlon.random> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1468 Lines: 38 On Mon, 28 Oct 2002, Andrea Arcangeli wrote: | On Mon, Oct 28, 2002 at 10:44:20AM -0800, chrisl@vmware.com wrote: | > They are the same as shmfs to linux kernel. Why does vmware not use it | > in the first place? It is possible due to some the history reason. | > | > BTW, I have another question. For the 8G memory machine, do we need | > to setup 16G swap space? Think about the time it take to write 16G | > data, does it still make sense that swap space is twice as big as | > memory? | | swap space doesn't need to be twice as big as ram. That's fixed long | ago. | | swap+ram is the total amount of virtual memory that you can use in | vmware. | | > And the swap partition has limit as 2G. So we need to setup 8 swap | > partitions if we want 16G swap. | | that's a silly restriction of mkswap, the kernel doesn't care, it can | handle way more than 2G (however there's an high bound at some | unpractical level, to go safe the math limit should be re-encoded in | mkswap, of course it changes for every arch because the pte layout is | different). Heh, you hit one of my personal todo list items (larger swap spaces :), so I'll be looking into it, or trying to help anyone else on it if they want it. -- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/