From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 24 16:38:00 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 62D7251F for ; Thu, 24 Jan 2013 16:38:00 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com [209.85.217.172]) by mx1.freebsd.org (Postfix) with ESMTP id CF0AA3F4 for ; Thu, 24 Jan 2013 16:37:59 +0000 (UTC) Received: by mail-lb0-f172.google.com with SMTP id n8so5792351lbj.17 for ; Thu, 24 Jan 2013 08:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tESeIrVBrTVOSHvnOmI+LtdRwZEiK2KJb5kQoWC2PBg=; b=DiR3OGyvFYRhUXuQ0aYI7LFly4An8xmbywFMYCHnytIB52MFYmE8o5iO3DRHC8hAd1 9gfEdD68xGaR1zxI4enV5TsD8qGEX1nwS6grkbwAKr+dA1rNwYjGVq7RhyAROiqVdFcp YdEAtitEG6ynoDmCQNJIhue0aPl2i/SOETxj/RJgB63oNlGRWl9qRdhqlxY9hRQCibTn YGlhsPli70I+kptsZPM5uj+YRUYDcFxocDcYEl0alXqyUw1W1nxrBC7VwsNQyJHGRiSh QJ0gC9g5kph9y/R63Aif5r51SlxMBORuc9i1y2Ksc9sM3r19/SmM/Baz23bcs+9cFVZ4 bWCA== MIME-Version: 1.0 X-Received: by 10.152.131.168 with SMTP id on8mr2459571lab.38.1359045478464; Thu, 24 Jan 2013 08:37:58 -0800 (PST) Received: by 10.112.6.38 with HTTP; Thu, 24 Jan 2013 08:37:58 -0800 (PST) In-Reply-To: <51015523.2060701@platinum.linux.pl> References: <20130122073641.GH30633@server.rulingia.com> <51013345.8010701@platinum.linux.pl> <51015523.2060701@platinum.linux.pl> Date: Thu, 24 Jan 2013 11:37:58 -0500 Message-ID: Subject: Re: ZFS regimen: scrub, scrub, scrub and scrub again. From: Zaphod Beeblebrox To: Adam Nowacki Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 16:38:00 -0000 Ok... here's the existing data: There are 3,236,316 files summing to 97,500,008,691 bytes. That puts the "average" file at 30,127 bytes. But for the full breakdown: 512 : 7758 1024 : 139046 2048 : 1468904 4096 : 325375 8192 : 492399 16384 : 324728 32768 : 263210 65536 : 102407 131072 : 43046 262144 : 22259 524288 : 17136 1048576 : 13788 2097152 : 8279 4194304 : 4501 8388608 : 2317 16777216 : 1045 33554432 : 119 67108864 : 2 I produced that list with the output of ls -R's byte counts, sorted and then processed with: (while read num; do count=$[count+1]; if [ $num -gt $size ]; then echo $size : $count;size=$[size*2]; count=0; fi; done)