From owner-freebsd-hackers@FreeBSD.ORG Sat May 31 06:19:07 2008 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 886471065674 for ; Sat, 31 May 2008 06:19:07 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED068FC0A for ; Sat, 31 May 2008 06:19:06 +0000 (UTC) (envelope-from tzhuan@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so299568fgb.35 for ; Fri, 30 May 2008 23:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=rc8++1dTmO2yt2T1yVaZOZfXd1rYVALuIzxMg6HoNCA=; b=C7AIoAXk06lsx9OFHfLNWVhh6be+TMjYDxivEUk2QYI0fOTEp8whtfMS1PldpBZmH/iW6g292UiyCFoqEiGwQy/LVEO0QkMAuu0yscqls+fW3/R2+MtE/9iFNhzvDOolPHybH56T93EOidgcypd+vB7ynehgxJnl4RRgxOHGFdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=x2Ds4byKywOcVS4wg4C1YaQNh45IrP24knAUl3GDfdS2DsT+ST9/5Iq5MCwG1BbraVj33uRMDOD2Y/S8v46RmwtOVmgU/UuJ2PH/qB+AzbS9l6bJuLi68h4PDaUZGfY9TnH11wQfE8ybxaNoPaUuMxTX4XGVJ52Ss2g1MBHYpKQ= Received: by 10.86.77.5 with SMTP id z5mr9803050fga.35.1212213176388; Fri, 30 May 2008 22:52:56 -0700 (PDT) Received: by 10.86.92.1 with HTTP; Fri, 30 May 2008 22:52:56 -0700 (PDT) Message-ID: <6a7033710805302252v43a7b240x66ca3f5e3dd5fda4@mail.gmail.com> Date: Sat, 31 May 2008 13:52:56 +0800 From: "Tz-Huan Huang" Sender: tzhuan@gmail.com To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 3b5931899e735fad Subject: Is there any way to increase the KVM? 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: Sat, 31 May 2008 06:19:07 -0000 Hi, Our nfs server is running 7-stable/amd64 with 8G ram, the size of zfs pool is 12T. We have set vm.kmem_size and vm.kmem_size_max to 1.5G, but the kernel still panics by "kmem_map too small" often. According to [1], the limitation is not only by the loader (is it fixed now?) but also by the default layout of KVM. [2] points a way to increase the KVM, but we get the similar linking error. Is there any standard way to modify the layout of KVM? For example, we may want to set KVM to 6G and leave the 2G for user space usage. Thanks, Tz-Huan [1] http://lists.freebsd.org/pipermail/freebsd-current/2007-October/077964.html [2] http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084325.html