Re: saving file on cephFS mount using vi takes pause/time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:csargiso@xxxxxxxxx]
Sent: Thursday, April 13, 2017 2:26 PM
To: Deepak Naidu; ceph-users
Subject: Re: [ceph-users] saving file on cephFS mount using vi takes pause/time

 

Is it related to this the recovery behaviour of vim creating a swap file, which I think nano does not do?

 

 

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 confirmation to the client calling the sync, though I stand to be corrected on that.

 

On Thu, 13 Apr 2017 at 22:04 Deepak Naidu <dnaidu@xxxxxxxxxx> wrote:

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 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.

 

Any pointers is appreciated.

 

--

Deepak


This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux