Daniel Rock wrote: > Sean Meighan schrieb: > >> The box runs less than 20% load. Everything has been working perfectly >> until two days ago, now it can take 10 minutes to exit from vi. The >> following truss shows that the 3 line file that is sitting on the ZFS >> volume (/archives) took almost 15 minutes in fdsync. > > /me have similar observations. With virtual no other activity on the box > exiting from vi (:wq) sometimes takes 10-60 seconds. Trussing the > process always shows vi is waiting in fdsync(). This happened on at > least two different machines: > - Sun E3500 with ZFS on A5200 disks (snv_37, almost all of the time large > delay (10-60 secs.) when exiting from vi) > - Solaris/amd64 with ZFS on SATA disks (snv_39, but only few delays, > usually > not longer than 10 secs.)
I think you may be tripping over: CR 6413510 zfs: writing to ZFS filesystem slows down fsync() on other files in the same FS (see http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6413510) It is apparently because ZFS currently syncs the entire filesystem when asked to sync just one file. Dana _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss