From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 66AD71381F4 for ; Mon, 13 Aug 2012 14:22:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98B0FE07A1; Mon, 13 Aug 2012 14:22:10 +0000 (UTC) Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 5AAABE07AA for ; Mon, 13 Aug 2012 14:19:22 +0000 (UTC) Received: from mail-vb0-f53.google.com ([209.85.212.53]:47833) by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.77) (envelope-from ) id 1T0vUI-001zDO-84 for gentoo-user@lists.gentoo.org; Mon, 13 Aug 2012 21:19:22 +0700 Received: by vbbfc26 with SMTP id fc26so3822000vbb.40 for ; Mon, 13 Aug 2012 07:19:21 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.157.65 with SMTP id a1mr8264703vcx.39.1344867561360; Mon, 13 Aug 2012 07:19:21 -0700 (PDT) Received: by 10.220.29.13 with HTTP; Mon, 13 Aug 2012 07:19:21 -0700 (PDT) Received: by 10.220.29.13 with HTTP; Mon, 13 Aug 2012 07:19:21 -0700 (PDT) In-Reply-To: References: <5028FF82.7020908@nileshgr.com> Date: Mon, 13 Aug 2012 21:19:21 +0700 Message-ID: Subject: Re: [gentoo-user] Fast file system for cache directory with lot's of files From: Pandu Poluan To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=f46d043c7eae43cef504c726614e X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - poluan.info X-Archives-Salt: f857081f-4f82-429f-9010-7046cb68efde X-Archives-Hash: ed6c89744d41a8f9aadac30221cd0107 --f46d043c7eae43cef504c726614e Content-Type: text/plain; charset=UTF-8 On Aug 13, 2012 9:01 PM, "Michael Hampicke" wrote: >> >> You should have a look at xfs. >> >> I used to use ext4 earlier, traversing through /usr/portage used to be very slow. When I switched xfs, speed increased drastically. >> >> This might be kind of unrelated, but makes sense. > > > I guess traversing through directories may be faster with XFS, but in my experience ext4 perfoms better than XFS in regard to operations (cp, rm) on small files. > I read that there are some tuning options for XFS and small files, but never tried it. > > But if somone seconds XFS I will try it too. Have you indexed your ext4 partition? # tune2fs -O dir_index /dev/your_partition # e2fsck -D /dev/your_partition Rgds, --f46d043c7eae43cef504c726614e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Aug 13, 2012 9:01 PM, "Michael Hampicke" <mgehampicke@gmail.com> wrote:
>>
>> You should have a look at xfs.
>>
>> I used to use ext4 earlier, traversing through /usr/portage used t= o be very slow. When I switched xfs, speed increased drastically.
>>
>> This might be kind of unrelated, but makes sense.
>
>
> I guess=C2=A0traversing=C2=A0through directories may be faster with XF= S, but in my experience ext4 perfoms better than XFS in regard to operation= s (cp, rm) on small files.
> I read that there are some tuning options for XFS and small files, but= never tried it.
>
> But if somone seconds XFS I will try it too.

Have you indexed your ext4 partition?

# tune2fs -O dir_index /dev/your_partition
# e2fsck -D /dev/your_partition

Rgds,

--f46d043c7eae43cef504c726614e--