From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-140560-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 66AD71381F4 for <garchives@archives.gentoo.org>; 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 <gentoo-user@lists.gentoo.org>; 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 <pandu@poluan.info>) 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 <gentoo-user@lists.gentoo.org>; Mon, 13 Aug 2012 07:19:21 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> 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: <CADPZhurQHGCRfu9G_kLVaFPrG06dEx3QQ-WM=wEctv-6vkzPkw@mail.gmail.com> References: <CADPZhuoH2fhFcgMJHdGLXHp7rzgEWBcWeeccaDHTxEhry1pDiA@mail.gmail.com> <5028FF82.7020908@nileshgr.com> <CADPZhurQHGCRfu9G_kLVaFPrG06dEx3QQ-WM=wEctv-6vkzPkw@mail.gmail.com> Date: Mon, 13 Aug 2012 21:19:21 +0700 Message-ID: <CAA2qdGUZzfrm4Wc98iNu3bpubRfuhfHMZHY8jQCmKo68uNs-Ng@mail.gmail.com> Subject: Re: [gentoo-user] Fast file system for cache directory with lot's of files From: Pandu Poluan <pandu@poluan.info> 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" <mgehampicke@gmail.com> 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 <p><br> On Aug 13, 2012 9:01 PM, "Michael Hampicke" <<a href=3D"mailto= :mgehampicke@gmail.com">mgehampicke@gmail.com</a>> wrote:<br> >><br> >> You should have a look at xfs.<br> >><br> >> I used to use ext4 earlier, traversing through /usr/portage used t= o be very slow. When I switched xfs, speed increased drastically.<br> >><br> >> This might be kind of unrelated, but makes sense.<br> ><br> ><br> > 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.<br> > I read that there are some tuning options for XFS and small files, but= never tried it.<br> ><br> > But if somone seconds XFS I will try it too.</p> <p>Have you indexed your ext4 partition?</p> <p># tune2fs -O dir_index /dev/your_partition<br> # e2fsck -D /dev/your_partition</p> <p>Rgds,<br> </p> --f46d043c7eae43cef504c726614e--