[lkml]   [2004]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: True fsync() in Linux (on IDE)
On Wed, 2004-03-17 at 22:47, Jens Axboe wrote:

> > There is solution just to disable drive write cache, but it seems to
> > slowdown performance way to much.
> Chris and I have working real fsync() with the barrier patches. I'll
> clean it up and post a patch for vanilla 2.6.5-rc today.

Good to hear. How is it going to work from user point of view ?
Just fsync working back again or there would be some special handling.

Also. What is about fsync() in 2.6 nowadays ?

I've done some tests on 3WARE RAID array and it looks like it is
different compared to 2.4 I've been testing previously.

I have the simple test which has single page writes to the file followed
by fsync(). First run give you the case when file grows with each
write, second when you're writing to existing file space.

The results I have on 2.4 is something like 40 sec per 1000 fsyncs for
new file, and 0.6 sec for existing file.

With 2.6.3 I have both existing file and new file to complete in less
than 1 second.

Peter Zaitsev, Senior Support Engineer

Meet the MySQL Team at User Conference 2004! (April 14-16, Orlando,FL)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:01    [W:0.099 / U:2.964 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site