From owner-freebsd-performance@FreeBSD.ORG Wed Jul 26 07:27:55 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC9F616A4DA for ; Wed, 26 Jul 2006 07:27:55 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30312.mail.mud.yahoo.com (web30312.mail.mud.yahoo.com [68.142.201.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 7A1C743D62 for ; Wed, 26 Jul 2006 07:27:54 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 17140 invoked by uid 60001); 26 Jul 2006 07:27:53 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CfXzdkB4YIU5UwQ5gjkhJGlpvwQA48U3jpU597uqvvIq9gykdX6+GpA3H5ONuR+Ali4bqTacoV9CRnVM5iIZLYbd4tgLzDL6phnVQnp14FeW9HdHZlMsKqK3mDy05WVwgof99xIVlEV2nKSoZQf0phSviZo9aqQawbEa3iNJZ2A= ; Message-ID: <20060726072753.17138.qmail@web30312.mail.mud.yahoo.com> Received: from [213.54.69.84] by web30312.mail.mud.yahoo.com via HTTP; Wed, 26 Jul 2006 00:27:53 PDT Date: Wed, 26 Jul 2006 00:27:53 -0700 (PDT) From: "R. B. Riddick" To: Raymond Owens , freebsd-performance@freebsd.org In-Reply-To: <000701c6b04f$70c9b4d0$0501a8c0@desky64> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: question concerning proper usage of kernel variables net.bpf.bufsize and vm_kmem_size_max X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2006 07:27:55 -0000 --- Raymond Owens wrote: > Questions: > Can VM_KMEM_SIZE_MAX be set manually with sysctl? > No, but you could set it with this procedure: 1. Insert the lines vm.kmem_size=123456789 vm.kmem_size_max=1234567890 in /boot/loader.conf 2. reboot That should change those values... (see src/sys/kern/kern_malloc.c) I wonder, why your box needs such a big buffer? Do u have network traffic bursts or so? -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com