Re: e2fs performance as function of block size

2000-11-24 Thread Stephen C. Tweedie
Hi, On Wed, Nov 22, 2000 at 11:28:12PM +0100, Michael Marxmeier wrote: > > If the files get somewhat bigger (eg. > 1G) having a bigger block > size also greatly reduces the ext2 overhead. Especially fsync() > used to be really bad on big file but choosing a bigger block > size changed a lot. 2

Re: e2fs performance as function of block size

2000-11-22 Thread Michael Marxmeier
Alan Cox wrote: > I see higher performance with 4K block sizes. I should see higher > latency too but have never been able to measure it. Maybe it depends > on the file system. > It certainly depends on the nature of requests If the files get somewhat bigger (eg. > 1G) having a bigger block siz

Re: e2fs performance as function of block size

2000-11-21 Thread Jeff V. Merkey
Alan Cox wrote: > > > It's as though the disk drivers are optimized for this case (1024). I > > The disk drivers are not, and they normally see merged runs of blocks so they > will see big chunks rather than 1K then 1K then 1K etc. > > > behavior, but there is clearly some optimization relat

Re: e2fs performance as function of block size

2000-11-21 Thread Brian Pomerantz
On Tue, Nov 21, 2000 at 05:06:20PM -0700, Jeff V. Merkey wrote: > > > Alan Cox wrote: > > > > > Sirs, > > > performing extensive tests on linux platform performance, optimized as > > > database server, I got IMHO confusing results: > > > in particular e2fs initialized to use 1024 block/fragment

Re: e2fs performance as function of block size

2000-11-21 Thread Alan Cox
> It's as though the disk drivers are optimized for this case (1024). I The disk drivers are not, and they normally see merged runs of blocks so they will see big chunks rather than 1K then 1K then 1K etc. > behavior, but there is clearly some optimization relative to this size > inherent in th

Re: e2fs performance as function of block size

2000-11-21 Thread Jeff V. Merkey
Alan Cox wrote: > > > Sirs, > > performing extensive tests on linux platform performance, optimized as > > database server, I got IMHO confusing results: > > in particular e2fs initialized to use 1024 block/fragment size showed > > significant I/O gains over 4096 block/fragment size, while I ex

Re: e2fs performance as function of block size

2000-11-21 Thread Alan Cox
> Sirs, > performing extensive tests on linux platform performance, optimized as > database server, I got IMHO confusing results: > in particular e2fs initialized to use 1024 block/fragment size showed > significant I/O gains over 4096 block/fragment size, while I expected t= > he > opposite. I wo

Re: e2fs performance as function of block size

2000-11-21 Thread Reto Baettig
Hi I think I have a possible explanation for your observations: 1) 1024B Block size: > User time (seconds): 69.32 > System time (seconds): 25.15 > Percent of CPU this job got: 54% > Elapsed (wall clock) time (h:mm:ss or m:ss): 2:54.14 > Major (requiring I/

e2fs performance as function of block size

2000-11-21 Thread CMA
Sirs, performing extensive tests on linux platform performance, optimized as database server, I got IMHO confusing results: in particular e2fs initialized to use 1024 block/fragment size showed significant I/O gains over 4096 block/fragment size, while I expected the opposite. I would appreciate s