Re: How extensive OpenBSD's write caching (for softdep or async-mounted UFS, as long as I never fsync() )?

2016-02-14 Thread Otto Moerbeek
On Sun, Feb 14, 2016 at 06:56:16AM -0500, Donald Allen wrote: > On Sun, Feb 14, 2016 at 1:43 AM, Tinker wrote: > > > Did two tests, one with async and one with softdep, on amd64, 5.9-CURRENT, > > UFS. > > > > (Checked "dd"'s sources and there is no fsync() anywhere in

Re: How extensive OpenBSD's write caching (for softdep or async-mounted UFS, as long as I never fsync() )?

2016-02-14 Thread Tinker
On 2016-02-14 19:20, Otto Moerbeek wrote: On Sun, Feb 14, 2016 at 06:56:16AM -0500, Donald Allen wrote: On Sun, Feb 14, 2016 at 1:43 AM, Tinker wrote: > Did two tests, one with async and one with softdep, on amd64, 5.9-CURRENT, > UFS. > > (Checked "dd"'s sources and

Re: How extensive OpenBSD's write caching (for softdep or async-mounted UFS, as long as I never fsync() )?

2016-02-14 Thread Donald Allen
On Sun, Feb 14, 2016 at 1:43 AM, Tinker wrote: > Did two tests, one with async and one with softdep, on amd64, 5.9-CURRENT, > UFS. > > (Checked "dd"'s sources and there is no fsync() anywhere in there. > > The bufcache setting was 90, 3GB free RAM, pushed 2GB of data using

How extensive OpenBSD's write caching (for softdep or async-mounted UFS, as long as I never fsync() )?

2016-02-13 Thread Tinker
Hi, How much of my file writing, and filesystem operations such as creating a new file/directory, will land in OpenBSD's disk/write cache without touching the disk before return of the respective operation to my program, for softdep or async UFS media and I never fsync() ? This is relevant

Re: How extensive OpenBSD's write caching (for softdep or async-mounted UFS, as long as I never fsync() )?

2016-02-13 Thread Tinker
Did two tests, one with async and one with softdep, on amd64, 5.9-CURRENT, UFS. (Checked "dd"'s sources and there is no fsync() anywhere in there. The bufcache setting was 90, 3GB free RAM, pushed 2GB of data using "dd" to disk. It took 12 and 15 seconds respectively, which is the