Re: Why O_SYNC and fsync are slow in Linux?

2001-05-25 Thread Lance Larsh
On Wed, 16 May 2001, Heikki Tuuri wrote: > On Red Hat 6.2 and 7.? Intel big block writes are very slow if > I open the file with O_SYNC. I call pwrite to write 1 MB chunks to > the file, and I get only 1 MB/s write speed. If I open without O_SYNC > and call fsync only after writing the whole 100

Re: Why O_SYNC and fsync are slow in Linux?

2001-05-25 Thread Lance Larsh
On Wed, 16 May 2001, Heikki Tuuri wrote: On Red Hat 6.2 and 7.? Intel big block writes are very slow if I open the file with O_SYNC. I call pwrite to write 1 MB chunks to the file, and I get only 1 MB/s write speed. If I open without O_SYNC and call fsync only after writing the whole 100 MB

Why O_SYNC and fsync are slow in Linux?

2001-05-16 Thread Heikki Tuuri
(Please CC your replies to me because I am not on the list.) Hi! Does anyone happen to know who is responsible for the file cache and disk management in Linux? On different systems I have measured strange differences in performance depending on whether I open a file with O_SYNC and let the

Why O_SYNC and fsync are slow in Linux?

2001-05-16 Thread Heikki Tuuri
(Please CC your replies to me because I am not on the list.) Hi! Does anyone happen to know who is responsible for the file cache and disk management in Linux? On different systems I have measured strange differences in performance depending on whether I open a file with O_SYNC and let the