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 9ED211381F4 for ; Mon, 13 Aug 2012 13:19:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06BF8E07B3; Mon, 13 Aug 2012 13:18:43 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id E69C0E078D for ; Mon, 13 Aug 2012 13:16:53 +0000 (UTC) Received: by yenq13 with SMTP id q13so3434194yen.40 for ; Mon, 13 Aug 2012 06:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+9IJE6j3cpGt2YfaBQX1Evmf9P6g+zc0+UucShP3xCA=; b=kd9ntGbAKKrcnXqg55Q8AdPp3nnn5wZyN7GtKWPVt1hq0s+4slXMny5sHIKT7NSMq1 2WXxCJ5Y7GuOTa6kE4d1tMKv+h9Uor+TLw8AhiLohyXSkhNI7q6V3O4p9f+6E6jXe25j qQDmVfSmWHaUMNKRHPloHzMPtgM40BQr0JufkdfCNTuSldWtNBluqxrGO1xkpqfdWcTV lsod2KUwcVRdo/NTi8T+23gNUQYUNRw8M1K9zxJ0l+gzDuacaOSVKms7m5raop4z/yGY 0UdafOkNCUzLo9/eew9pUgLc0QGLbD2KWINzApjBBvqwQiLByqjo0uMpYUMQ5wFE+/VF 9z9Q== 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.50.106.136 with SMTP id gu8mr5416303igb.23.1344863813140; Mon, 13 Aug 2012 06:16:53 -0700 (PDT) Received: by 10.42.155.70 with HTTP; Mon, 13 Aug 2012 06:16:53 -0700 (PDT) Date: Mon, 13 Aug 2012 15:16:53 +0200 Message-ID: Subject: [gentoo-user] Fast file system for cache directory with lot's of files From: Michael Hampicke To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=e89a8f23579dda803f04c72581db X-Archives-Salt: 76a693da-fe0b-436f-8014-6706233db245 X-Archives-Hash: 5d7fd6c2afde6194131e576626d4d82c --e89a8f23579dda803f04c72581db Content-Type: text/plain; charset=ISO-8859-1 Howdy gentooers, I am looking for a filesystem that perfomes well for a cache directory. Here's some data on that dir: - cache for prescaled images files + metadata files - nested directory structure ( 20/2022/202231/*files* ) - about 20GB - 100.000 directories - about 2 million files The system has 2x Intel Xon Quad-cores (Nehalem), 16GB of RAM and two 10.000rpm hard drives running a RAID1. Up until now I was using ext4 with noatime, but I am not happy with it's performence. Finding and deleting old files with 'find' is incredible slow, so I am looking for a filesystem that performs better. First candiate that came to mind was reiserfs, but last time I tried it, it became slower over time (fragmentation?). Currently I am running a test with btrfs and so far I am quiet happy with it as it is much faster in my use case. Do you guys have any other suggestions? How about JFS? I used that on my old NAS box because of it's low cpu usage. Should I give reiser4 a try, or better leave it be given Hans Reiser's current status? Thx in advance, Mike --e89a8f23579dda803f04c72581db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Howdy gentooers,

I am looking for a filesystem that perf= omes well for a cache directory. Here's some data on that dir:
- cache for prescaled images files + metadata files
- nested di= rectory structure ( 20/2022/202231/*files* )
- about 20GB
- 100.000 directories
- about 2 milli= on files

The system has 2x Intel Xon Quad-cores=A0= (Nehalem),=A016GB of RAM and two 10.000rpm hard drives running a RAID1.

Up until now I was using ext4 with noatime, but I am no= t happy with it's performence. Finding and deleting old files with '= ;find' is incredible slow, so I am looking for a filesystem that perfor= ms better. First candiate that came to mind was reiserfs, but last time I t= ried it, it became slower over time (fragmentation?).
Currently I am running a test with btrfs and so far I am quiet happy w= ith it as it is much faster in my use case.

Do you= guys have any other suggestions? How about JFS? I used that on my old NAS = box because of it's low cpu usage. Should I give reiser4 a try, or bett= er leave it be given Hans Reiser's current status?

Thx in advance,
Mike
--e89a8f23579dda803f04c72581db--