From owner-freebsd-arch Tue Oct 8 8:42:49 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 9CFAD37B401 for ; Tue, 8 Oct 2002 08:42:48 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 151FE43E3B for ; Tue, 8 Oct 2002 08:42:44 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0142.cvx22-bradley.dialup.earthlink.net ([209.179.198.142] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17ywVC-00078Z-00; Tue, 08 Oct 2002 08:42:31 -0700 Message-ID: <3DA2FC9F.22C66877@mindspring.com> Date: Tue, 08 Oct 2002 08:41:19 -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> 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 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