Date: Sat, 29 Dec 2007 13:50:29 -0200 From: "Alexandre Biancalana" <biancalana@gmail.com> To: "Alfred Perlstein" <alfred@freebsd.org> Cc: freebsd-performance@freebsd.org Subject: Re: Bad performance when accessing a lot of small files Message-ID: <8e10486b0712290750i41ca2354q7baba9217a1fd9aa@mail.gmail.com> In-Reply-To: <20071228213851.GE76698@elvis.mu.org> References: <8e10486b0712191109n3d21b02cyf5183ee0cd01d8ce@mail.gmail.com> <20071221201625.GZ16982@elvis.mu.org> <8e10486b0712211249v4c5571ddud21b277f686992b2@mail.gmail.com> <20071221212808.GE16982@elvis.mu.org> <8e10486b0712211555n3efe8729qff14387be128cf10@mail.gmail.com> <20071222002535.GL16982@elvis.mu.org> <8e10486b0712251647uddf80f9sa6cacb42dfa94ff5@mail.gmail.com> <20071228213851.GE76698@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 28, 2007 7:38 PM, Alfred Perlstein <alfred@freebsd.org> wrote: > > * Alexandre Biancalana <biancalana@gmail.com> [071225 16:45] wrote: > > On 12/21/07, Alfred Perlstein <alfred@freebsd.org> wrote: > > > > > Have you tried the 'noatime' mount option? That should help. > > > > Yeah, the zfs set atime=off was already done.... > > > > > > > > Can you provide a histogram of the count of files per directory? > > > > Excuse-me, but I don't understand.... > > Distribution of files per directory, example: > > 1000 files in 9 dirs > 1001 files in 12 dirs > > find /path_to_root/ -type f | sed 's/\/[^/]*$//' | uniq -c | \ > awk '{print $1}' | sort -n | uniq -c > > That will print out the number of files per dir. > > 2 98 > 3 102 > 1 103 > 2 105 Ohh yes !! Now I understand.... The problem is that last night the server stop responding and now is panicing with the message: ZFS(panic): zfs: allocating allocated segment(offset=2781261201408 size=131072)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8e10486b0712290750i41ca2354q7baba9217a1fd9aa>