From owner-freebsd-ports@FreeBSD.ORG Fri Sep 17 10:00:12 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FE1B106564A for ; Fri, 17 Sep 2010 10:00:12 +0000 (UTC) (envelope-from prvs=1876a6cb85=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 205708FC19 for ; Fri, 17 Sep 2010 10:00:11 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 17 Sep 2010 10:50:02 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 17 Sep 2010 10:50:02 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50011258539.msg for ; Fri, 17 Sep 2010 10:50:01 +0100 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=1876a6cb85=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-ports@freebsd.org Message-ID: <9E658CE404644DC0B609789C0A1098DE@multiplay.co.uk> From: "Steven Hartland" To: "Jeremy Chadwick" , "Andriy Gapon" References: <4C926418.2050407@gmail.com> <4C9328B9.4010100@gmail.com><20100917085621.GA48570@icarus.home.lan><4C933284.6050601@icyb.net.ua> <20100917094212.GA49319@icarus.home.lan> Date: Fri, 17 Sep 2010 10:49:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Cc: freebsd-ports@freebsd.org Subject: Re: Fwd: Tomcat6 port keeps locking up?? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 10:00:12 -0000 ----- Original Message ----- From: "Jeremy Chadwick" > On Fri, Sep 17, 2010 at 12:19:00PM +0300, Andriy Gapon wrote: >> on 17/09/2010 11:56 Jeremy Chadwick said the following: >> > I don't think you understand how Solaris's VM behaves with ZFS. It >> > behaves very differently than FreeBSD. On Solaris/OpenSolaris with ZFS, >> > you'll see the ARC taking up as much memory as possible -- but unlike >> > FreeBSD (AFAIK), when a userland or kernel application requires more >> ^^^^^^^^^^^^^^^^^ >> > memory, the Solaris kernel dynamically releases portions of the ARC. >> >> Can you please explain that "unlike" part? > > When ZFS was first introduced to FreeBSD, I was given the impression > from continual posts on the mailing lists that memory which was > allocated to the ARC was never released in the situation that a userland > program wanted memory. > > An example scenario. These numbers are in no way accurate given many > other things (network mbufs, UFS and VFS cache, etc.): > > - amd64 system has 2GB physical RAM (assume ~1920MB usable) > - vm.kmem_size="1536M" + vfs.zfs.arc_max="1400M" > - Heavy ZFS I/O results in ARC maxing out at ~1400MB > - Userland application runs, requests malloc() of 1024MB > - Userland gets 384MB from physical RAM, remaining 640MB from swap > - ARC remains at 1400MB > > Is this no longer the case? My experience is no this is no longer the case at least on stable + patches mentioned on thread:- "zfs very poor performance compared to ufs due to lack of cache?" Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.