From owner-freebsd-questions@FreeBSD.ORG Wed Aug 22 14:38:13 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256BD16A480; Wed, 22 Aug 2007 14:38:13 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8934513C4CA; Wed, 22 Aug 2007 14:38:09 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from anb.matik.com.br (anb.matik.com.br [200.152.83.34]) by msrv.matik.com.br (8.14.1/8.13.1) with ESMTP id l7MEc99a007989; Wed, 22 Aug 2007 11:38:09 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: freebsd-amd64@freebsd.org Date: Wed, 22 Aug 2007 11:38:06 -0300 User-Agent: KMail/1.9.7 References: <835936.35104.qm@web34510.mail.mud.yahoo.com> In-Reply-To: <835936.35104.qm@web34510.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200708221138.07278.joao@matik.com.br> X-Virus-Scanned: ClamAV version 0.90.3, clamav-milter version 0.90.3 on msrv.matik.com.br X-Virus-Status: Clean Cc: questions@freebsd.org, "N. Harrington" Subject: Re: What is a "sane" setting for maxdsize when running amd64? it seems many normal suggestions do not apply. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2007 14:38:13 -0000 On Tuesday 21 August 2007 20:54:36 N. Harrington wrote: > Hello > I feel stupid, but I am confused about kern.maxdsiz (or datasize via > limits command) on FreeBSD amd64. > > I have seen many posts and suggestions to raise it to 1G. However it see= ms > this only applies to i386. By default, on servers I have with 4G of > physical memory, and 2X that of swap, I am showing a reported datasize > limit of 33554432KB. far in excess of even my physical and swap combined!= I > have seen suggestions from mysql for maxdsize to be set to 1G. Obviously = no > such problem with amd64? on amd64 when maxdsiz not set it stops at 512 limit but soon you set it to = 1G =20 it appearently is able to use more this is not the case on i386 - but I=20 would say don't worry about it on i386 your machine could hang at boot when setting maxdsiz higher than=20 installed physical memory but that never happened to me with amd64 I have some server running squid for caching perfect with 4, 8 and 16G of R= AM=20 I set maxdsiz do 3G on machines with 4Gigs of RAM but I do not run anything= =20 else so then I adjust cache_mem with maximum_object_size_in_memory to use t= he=20 most possible amount of memory without doing swap.=20 anyway you set it in boot.loader there is no need to compile something into= =20 the kernel =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br