Received: with ECARTIS (v1.0.0; list xfs); Sat, 16 Feb 2008 02:23:59 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,J_CHICKENPOX_43 autolearn=no version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m1GANq0f016318 for ; Sat, 16 Feb 2008 02:23:55 -0800 X-ASG-Debug-ID: 1203157455-0df901900000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from fk-out-0910.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 665F65E2E5B for ; Sat, 16 Feb 2008 02:24:16 -0800 (PST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by cuda.sgi.com with ESMTP id CMhbIvvFmHqdXOYg for ; Sat, 16 Feb 2008 02:24:16 -0800 (PST) Received: by fk-out-0910.google.com with SMTP id 18so1032396fks.4 for ; Sat, 16 Feb 2008 02:24:14 -0800 (PST) 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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=EGm7CwXh7afgZHC/WvWBvqPoUS0hkbTPHFQMxLQMRSo=; b=wQNtFy6Fz4xdbDJahsV1hUXQR7sXii8MDtftKWXrsY6L5cT1kVAwQv9dPJUApCw8X5xN+G8Eyq/8l+d20lymXVh0U2vZSUVDqPGaoeTdo5Edylc2+9iA5iDIbqZGMfmrKPv+kmB9mEO+5q40WFIASN//vWA1l6d5Kw/ae0ZR9aA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=j/cGIMChJICLmkKPGC/D+gt/a7zlSCpyFN+tXolUwHU6cP+aAsRIngyDiPwK5cZOc+nCrKw1TgsC64/VRZEyTENJN2+LW6Hx4l+zPw2Wt86TENOABdtWjbNDkDi2mT0enQ25KGW7NTTNlbV+7MnA7jjxw/dK9Z5TiFIDvbP2C0E= Received: by 10.78.130.6 with SMTP id c6mr5192045hud.39.1203157454321; Sat, 16 Feb 2008 02:24:14 -0800 (PST) Received: by 10.78.184.20 with HTTP; Sat, 16 Feb 2008 02:24:14 -0800 (PST) Message-ID: Date: Sat, 16 Feb 2008 02:24:14 -0800 From: "Jeff Breidenbach" To: "Hannes Dorbath" X-ASG-Orig-Subj: Re: tuning, many small files, small blocksize Subject: Re: tuning, many small files, small blocksize Cc: xfs@oss.sgi.com In-Reply-To: <47B6ACC5.3030605@theendofthetunnel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47B6ACC5.3030605@theendofthetunnel.de> X-Google-Sender-Auth: da431b94a3064026 X-Barracuda-Connect: fk-out-0910.google.com[209.85.128.191] X-Barracuda-Start-Time: 1203157457 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.42331 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/5833/Fri Feb 15 11:30:30 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14470 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: jeff@jab.org Precedence: bulk X-list: xfs > That's maybe a bit paranoid, but on the other hand it should give good > parallelism. Yes, the goal is fast read performance for small files. > mkfs.xfs -n size=16k -i attr=2 -l lazy-count=1,version=2,size=32m -b > size=512 /dev/sda > > mount -onoatime,logbufs=8,logbsize=256k /dev/sda /mnt/xfs This is highly appreciated, thank you very much. > Requires kernel 2.6.23 and xfsprogs 2.9.5. As said, you might want to > use an external log device. I'm running vendor a supplied kernel of 2.6.22 and a quick test shows the unsupported feature is lazy-count. How big a deal is it? Upgrading the kernel before April is painful but I'll do it if important. Presumably there's no simple way to migrate a non-lazy xfs filesytem to a lazy one. PS. I don't know if this affects any parameters, but the biggest directory will have approximately 1.5 million files. There are a few in the one to two hundred thousand range, and then very many in the tens of thousands.