From owner-freebsd-stable Tue Apr 23 13: 4:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from perd1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by hub.freebsd.org (Postfix) with ESMTP id E043837B42A; Tue, 23 Apr 2002 13:04:50 -0700 (PDT) Received: from myhakas.estpak.ee (myhakas.estpak.ee [194.126.115.54]) by perd1.estpak.ee (Postfix) with ESMTP id B7E7888077; Tue, 23 Apr 2002 23:04:49 +0300 (EEST) Received: from myhakas.estpak.ee (localhost [127.0.0.1]) by myhakas.estpak.ee (8.12.2/8.12.2) with ESMTP id g3NK4nC9030807; Tue, 23 Apr 2002 23:04:49 +0300 (EEST) (envelope-from vallo@myhakas.estpak.ee) Received: (from vallo@localhost) by myhakas.estpak.ee (8.12.2/8.12.2/Submit) id g3NK4nnm030806; Tue, 23 Apr 2002 23:04:49 +0300 (EEST) Date: Tue, 23 Apr 2002 23:04:49 +0300 From: Vallo Kallaste To: Terry Lambert Cc: kalts@estpak.ee, "Marc G. Fournier" , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD 4.5-STABLE not easily scalable to large servers ... ? Message-ID: <20020423200449.GA30662@myhakas.estpak.ee> Reply-To: kalts@estpak.ee References: <3CC4C683.F9AEF14E@mindspring.com> <20020423092909.N1721-100000@mail1.hub.org> <20020423184534.GA30212@myhakas.estpak.ee> <3CC5B52B.49A5A719@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CC5B52B.49A5A719@mindspring.com> User-Agent: Mutt/1.5.0i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 23, 2002 at 12:25:31PM -0700, Terry Lambert wrote: > Vallo Kallaste wrote: > > You can have up to ~12GB of usable swap space, as I've heard. Don't > > remember why such arbitrary limit, unfortunately. Information about > > such topics is spread over several lists arhives, usually the > > subjects are strange, too.. so hard to find out. As I understand it > > you are on the track, having 3GB allocated to KVA means 1GB for UVA, > > whatever it exactly means. Userspace processes will allocate memory > > from UVA space and can grow over 1GB of size if needed by swapping. > > You can certainly have more than one over-1GB process going on at > > the same time, but swapping will constrain your performance. > > I'm sure Terry or some other knowledgeable person will correct me if > > it doesn't make sense. > > Actually, you have a total concurrent virtual address space of 4G. > > If you assign 3G of that to KVA, then you can never exceed 1G of > space for a user process, under any circumstances. > > This is because a given user process and kernel must be able > to exist simultaneously in order to do things like copyin/copyout. Hmm, ok, but can we have more than one 1G user process at one time? Four 500MB ones and so on? Somehow I've made such conclusion based on previous information. Should be so, otherwise I don't understand how swapping will fit into overall picture. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message