From owner-freebsd-arch Tue Oct 8 8:48:28 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C0A337B407 for ; Tue, 8 Oct 2002 08:48:27 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id C38CD43E4A for ; Tue, 8 Oct 2002 08:48:16 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17ywaR-0006uF-00; Tue, 08 Oct 2002 08:47:55 -0700 Message-ID: <3DA2FDE4.9A485E35@mindspring.com> Date: Tue, 08 Oct 2002 08:46:44 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Vladimir B. Grebenschikov" , Mikhail Teterin , arch@FreeBSD.org Subject: Re: using mem above 4Gb was: swapon some regular file References: <200210071630.42512.mi+mx@aldan.algebra.com> <1034074876.917.23.camel@vbook.express.ru> <3DA2F716.C5B69C7C@mindspring.com> <3DA2FC9F.22C66877@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Oops. Divided by 4 on the page tables. Still a hell of a lot of your available memory. -- Terry Terry Lambert wrote: > > Terry Lambert wrote: > > So whatever connections you are getting now... halve that, or less, > > to get a window for your RAM disk (you will need KVA for mappings > > for all the memory that *can* be in the window, etc.). > > To emphasize this: if you are using 4K pages, you will need: > > 4K/1M * 64G = 256M > > ...1/4 of 1G of memory outside the window, just for page tables. > > Also, if we still were using an mbuf per connection for the > template, for 1,000,000 connections, that's 256M of RAM -- another > 1/4 gig. > > Yeah, most people don't think in these terms; personally, I like > to call it "Extreme BSD". 8-). > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message