Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Fast file system for cache directory with lot's of files
Date: Mon, 13 Aug 2012 14:22:36
Message-Id: CAA2qdGUZzfrm4Wc98iNu3bpubRfuhfHMZHY8jQCmKo68uNs-Ng@mail.gmail.com
In Reply to: Re: [gentoo-user] Fast file system for cache directory with lot's of files by Michael Hampicke
1 On Aug 13, 2012 9:01 PM, "Michael Hampicke" <mgehampicke@×××××.com> wrote:
2 >>
3 >> You should have a look at xfs.
4 >>
5 >> I used to use ext4 earlier, traversing through /usr/portage used to be
6 very slow. When I switched xfs, speed increased drastically.
7 >>
8 >> This might be kind of unrelated, but makes sense.
9 >
10 >
11 > I guess traversing through directories may be faster with XFS, but in my
12 experience ext4 perfoms better than XFS in regard to operations (cp, rm) on
13 small files.
14 > I read that there are some tuning options for XFS and small files, but
15 never tried it.
16 >
17 > But if somone seconds XFS I will try it too.
18
19 Have you indexed your ext4 partition?
20
21 # tune2fs -O dir_index /dev/your_partition
22 # e2fsck -D /dev/your_partition
23
24 Rgds,

Replies

Subject Author
Re: [gentoo-user] Fast file system for cache directory with lot's of files Michael Hampicke <mgehampicke@×××××.com>