From owner-freebsd-amd64@FreeBSD.ORG Wed Aug 22 10:53:40 2007 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18E6C16A494 for ; Wed, 22 Aug 2007 10:53:40 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id B89D113C457 for ; Wed, 22 Aug 2007 10:53:39 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id DE4D920B0; Wed, 22 Aug 2007 12:53:34 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 516B6208A; Wed, 22 Aug 2007 12:53:34 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 3315A84479; Wed, 22 Aug 2007 12:53:34 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Chuck Swiger References: <835936.35104.qm@web34510.mail.mud.yahoo.com> Date: Wed, 22 Aug 2007 12:53:34 +0200 In-Reply-To: (Chuck Swiger's message of "Tue\, 21 Aug 2007 17\:13\:15 -0700") Message-ID: <86r6lvalht.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: What is a "sane" setting for maxdsize when running amd64? it seems many normal suggestions do not apply. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 10:53:40 -0000 Chuck Swiger writes: > You should configure squid to use no more than about 60 - 70% of the > available physical RAM-- ie, set the cache_mem parameter to about 2.5 > or 3GB. Better yet, don't run Squid at all. It was designed for a computer architecture that was already obsolete when Squid was first written. > It wouldn't be unreasonable to limit datasize to 3 GB on such a > machine, assuming that nothing you run will ever need to grow > larger... ...actually, maxdsiz is meaningless in FreeBSD 7, because the new allocator uses mmap(2) instead of brk(2) / sbrk(2), so malloc() counts towards the resident set size (ulimit -m), not the data segment size (ulimit -d). (unless, of course, your application has its own allocator, in which case you can kiss performance goodbye) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no