Re: Bad performance when accessing a lot of small files

2007-12-29 Thread Alexandre Biancalana
On Dec 28, 2007 7:38 PM, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > * Alexandre Biancalana <[EMAIL PROTECTED]> [071225 16:45] wrote: > > On 12/21/07, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > > > > Have you tried the 'noatime' mou

Re: Bad performance when accessing a lot of small files

2007-12-28 Thread Alexandre Biancalana
On 12/25/07, Alexandre Biancalana <[EMAIL PROTECTED]> wrote: > On 12/21/07, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > > Have you tried the 'noatime' mount option? That should help. > > Yeah, the zfs set atime=off was already done > > >

Re: Bad performance when accessing a lot of small files

2007-12-25 Thread Alexandre Biancalana
On 12/21/07, Alfred Perlstein <[EMAIL PROTECTED]> 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 __

Re: Bad performance when accessing a lot of small files

2007-12-21 Thread Alexandre Biancalana
On 12/21/07, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > * Alexandre Biancalana <[EMAIL PROTECTED]> [071221 12:48] wrote: > > On 12/21/07, Alfred Perlstein <[EMAIL PROTECTED]> wrote: > > > > Hi Alfred ! > > > > > > > > There is a l

Re: Bad performance when accessing a lot of small files

2007-12-21 Thread Alexandre Biancalana
On 12/21/07, Alfred Perlstein <[EMAIL PROTECTED]> wrote: Hi Alfred ! > > There is a lot of very good tuning advice in this thread, however > one thing to note is that having ~1 million files in a directory > is not a very good thing to do on just about any filesystem. I think I was not clear, I

Re: Re[2]: Bad performance when accessing a lot of small files

2007-12-20 Thread Alexandre Biancalana
On 12/20/07, dima <[EMAIL PROTECTED]> wrote: > >> Increase the dirhash maxmem > >> I have 'sysctl -w vfs.ufs.dirhash_maxmem=268435456' (256Mb)in my > >> rc.local on a (maildir) fileserver here > >> > > This is a zfs filesystem, by the way I raise this limit as suggested. > > > > I let you know > >

Re: Re[2]: Bad performance when accessing a lot of small files

2007-12-20 Thread Alexandre Biancalana
On 12/20/07, dima <[EMAIL PROTECTED]> wrote: > > Try to run this command while listing your large directory. You'll see that > dirhash_mem will reach dirhash_maxmem. So, the value of dirhash_maxmem should > be increased. > > One more hint. Mounting filesystems with -noatime option greatly improve

Re: Bad performance when accessing a lot of small files

2007-12-20 Thread Alexandre Biancalana
On 12/20/07, Dennis Kjær Jensen <[EMAIL PROTECTED]> wrote: > Alexandre Biancalana wrote: > > > > Increase the dirhash maxmem > I have 'sysctl -w vfs.ufs.dirhash_maxmem=268435456' (256Mb)in my > rc.local on a (maildir) fileserver here > This is a zfs file

Re: Bad performance when accessing a lot of small files

2007-12-19 Thread Alexandre Biancalana
On 12/19/07, Mike Tancsa <[EMAIL PROTECTED]> wrote: > At 02:09 PM 12/19/2007, Alexandre Biancalana wrote: > > >The behavior that I'm observing and that want your help is when the > >system is accessing some directory with many small files ( directories > >wi

Bad performance when accessing a lot of small files

2007-12-19 Thread Alexandre Biancalana
Hi List, I have a backup server running FreeBSD 7-BETA3. The cpu is CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz, 3GB Ram, 10x 500GB SATA, Areca 1231-ML, the filesystem used to backup my other servers locally is build on top of ARC-1231, 4TB (32k stripe) zfs filesystem with gzip compress

Re: PHP Performance problem after upgrade to 5.1.6 or 5.2.0

2007-02-03 Thread Alexandre Biancalana
Miroslav Lachman wrote: Hi all, I have performance problem with PHP after upgrading from PHP 5.1.4 to newer version regardles if newer version is 5.1.6 or 5.2.0. I tested both with same result. I have two same servers (IBM x336 with dual Xeon 3GHz and 2GB RAM) serving one webapplication (load