From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 20 02:09:52 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8EE1065672 for ; Tue, 20 Oct 2009 02:09:52 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id BD83B8FC17 for ; Tue, 20 Oct 2009 02:09:51 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so1122589eyd.9 for ; Mon, 19 Oct 2009 19:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=USE8qqPgLMuDLNV3i2evFfp6pIElbHEDFqTUTxQ8Gn8=; b=AUMvY0iw30LNsr6dztETkpAEDt8H16ip8Tu68264a3NjpqnggD06FX7BBgkiqySHVW eLbLyTe3ci8WNxlwDHux5mNRsdHa5XzGcHp75ubwCImkjJ4tkGxzzQg7qSoIFy9AWVkA JOpICkXVChUo+ocPi7vQK66JhRvNE34yum31Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=qNC1t92pyX09D4GxrGjSVy8/kX6zNWQ24uFQr+YmehvCWa9bXN8c/sueWTNljtOBeL pzO8iX5B8DoyAAsux78b0g+S7PffWr9fVeEHGylOyRXWBZQl816/6TAzibYEILwOorUv dbEIuncd1gCHlBMFInr6sg8FjtWq9BmW5bJZ4= MIME-Version: 1.0 Received: by 10.211.173.11 with SMTP id a11mr6426162ebp.42.1256002859643; Mon, 19 Oct 2009 18:40:59 -0700 (PDT) Date: Mon, 19 Oct 2009 21:40:59 -0400 Message-ID: From: grarpamp To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Tue, 20 Oct 2009 03:02:49 +0000 Subject: vm: kvm_free max_wired X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2009 02:09:52 -0000 Is this telling me I should be able to set kmem_size to around 740MiB before the kernel panics during boot? Any runtime issues with doing that? # sysctl hw.physmem hw.realmem vm.kvm_size vm.kvm_free vm.kmem_size hw.physmem: 1055293440 hw.realmem: 1072627712 vm.kvm_size: 1073737728 vm.kvm_free: 205516800 vm.kmem_size: 536870912 # sysctl -d hw.physmem vm.kvm_size vm.kvm_free vm.kmem_size hw.physmem: hw.realmem: vm.kvm_size: Size of KVM vm.kvm_free: Amount of KVM free vm.kmem_size: Size of kernel memory This doesn't seem to autosize. Is that expected? Should one care about this sysctl? vm.max_wired: System-wide limit to wired page count vm.max_wired: 83211 83211*4096/2^20 = ~325 Also, these are obviously broken / curious: debug.boothowto: -2147481598 net.inet.tcp.inflight.max: 1073725440 Running RELENG_8.