Re: [ceph-users] saving file on cephFS mount using vi takes pause/time

2017-04-13 Thread Deepak Naidu
Yes via creates a swap file and nano doesn’t. But when I try fio to write, I don’t see this happening. -- Deepak From: Chris Sarginson [mailto:csarg...@gmail.com] Sent: Thursday, April 13, 2017 2:26 PM To: Deepak Naidu; ceph-users Subject: Re: [ceph-users] saving file on cephFS mount using vi

Re: [ceph-users] saving file on cephFS mount using vi takes pause/time

2017-04-13 Thread Chris Sarginson
Is it related to this the recovery behaviour of vim creating a swap file, which I think nano does not do? http://vimdoc.sourceforge.net/htmldoc/recover.html A sync into cephfs I think needs the write to get confirmed all the way down from the osds performing the write before it returns the confir

Re: [ceph-users] saving file on cephFS mount using vi takes pause/time

2017-04-13 Thread Deepak Naidu
Ok, I tried strace to check why vi slows or pauses. It seems to slow on fsync(3) I didn't see the issue with nano editor. -- Deepak From: Deepak Naidu Sent: Wednesday, April 12, 2017 2:18 PM To: 'ceph-users' Subject: saving file on cephFS mount using vi takes pause/time Folks, This is bit wei

[ceph-users] saving file on cephFS mount using vi takes pause/time

2017-04-12 Thread Deepak Naidu
Folks, This is bit weird issue. I am using the cephFS volume to read write files etc its quick less than seconds. But when editing a the file on cephFS volume using vi , when saving the file the save takes couple of seconds something like sync(flush). The same doesn't happen on local filesystem