From owner-freebsd-fs@FreeBSD.ORG Thu Mar 27 21:02:11 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3A87698 for ; Thu, 27 Mar 2014 21:02:11 +0000 (UTC) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6EC7163C for ; Thu, 27 Mar 2014 21:02:11 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id p61so2147476wes.39 for ; Thu, 27 Mar 2014 14:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fWTulvM+7mypmOhP9GxTtI80/6LMml9FBOQjzGBZW1M=; b=whZ/6gEmpIaLrZDM4tO8vVrhLdXBUaSRy+zJRPfchJ7hQcrxwDOqjfGH6Gp+bOGtzP E5o7S8Pb5MhxcRYq2JyQfhdyYW/UGTY+y/lDdJhbgmSJM9mkD4tFretPXo7abfxKRDz7 Kf+si4GuWvLbI2NTa70MqwfmOvuEdm8sp7DhoVCbaYr2nKQ6c+HTSznS05IXVNo7rKgA Yjg1W7zMs0FDSdwbX+6aerRhuiyCQRKFVTd/HDZ/GDbNgiFzee/4akyFWrQIFT3jGhnl G76U2VFB66ZKUlwyXkKFrtrrF354Nhkr08BbHMxcuGFBMM6ny8JOF4yRstW0U+u/XaK9 BmQg== MIME-Version: 1.0 X-Received: by 10.180.90.207 with SMTP id by15mr16411615wib.48.1395954129626; Thu, 27 Mar 2014 14:02:09 -0700 (PDT) Received: by 10.216.146.195 with HTTP; Thu, 27 Mar 2014 14:02:09 -0700 (PDT) In-Reply-To: <20140327114018.6d50b666@suse3.ewadmin.local> References: <20140327114018.6d50b666@suse3.ewadmin.local> Date: Thu, 27 Mar 2014 22:02:09 +0100 Message-ID: Subject: Re: zfs l2arc warmup From: Joar Jegleim To: Rainer Duffner Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-fs@freebsd.org" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 21:02:11 -0000 sorry for the previous empty mail. But I think mabye kstat.zfs.misc.arcstats.l2_hdr_size would show the l2arc header size. It's currently at kstat.zfs.misc.arcstats.l2_hdr_size: 4901413968 when l2arc is currently at 696GB, and I have the default 128KB recordsize . On 27 March 2014 11:40, Rainer Duffner wrote: > Am Thu, 27 Mar 2014 08:50:06 +0100 > schrieb Joar Jegleim : > >> Hi list ! >> >> I struggling to get a clear understanding of how the l2arc get warm >> ( zfs). It's a FreeBSD 9.2-RELEASE server. >> > >> The thing is with this particular pool is that it serves somewhere >> between 20 -> 30 million jpegs for a website. The front page of the >> site will for every reload present a mosaic of about 36 jpegs, and the >> jpegs are completely randomly fetched from the pool. >> I don't know what jpegs will be fetched at any given time, so I'm >> installing about 2TB of l2arc ( the pool is about 1.6TB today) and I >> want the whole pool to be available from the l2arc . >> >> >> Any input on my 'rsync solution' to warmup the l2arc is much >> appreciated :) >> >> > > > > Don't you need RAM for the L2ARC, too? > > http://www.richardelling.com/Home/scripts-and-programs-1/l2arc > > > I'd just max-out the RAM on the DL370 - you'd need to do that anyway, > according to the above spread-sheet.... > > > > > -- ---------------------- Joar Jegleim Homepage: http://cosmicb.no Linkedin: http://no.linkedin.com/in/joarjegleim fb: http://www.facebook.com/joar.jegleim AKA: CosmicB @Freenode ----------------------