Project

General

Profile

Feature #45267

ceph-fuse: Reduce memory copy in ceph-fuse during data IO

Added by Xiubo Li 9 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
ceph-fuse
Labels (FS):
Pull request ID:

Description

we can reduce memory copy in ceph-fuse's IO path. for example, fuse_ll_read() have two copies, libcephfs to a temp bufferlist,
bufferlist to kernel.

https://pad.ceph.com/p/cds-pacific

History

#1 Updated by Xiubo Li 9 months ago

  • Assignee set to Xiubo Li

#2 Updated by Xiubo Li 9 months ago

  • Status changed from New to In Progress

#3 Updated by Xiubo Li 9 months ago

Have talked with Yan, Zheng and I will work on this.
Thanks

#4 Updated by Xiubo Li 9 months ago

  • Tracker changed from Bug to Feature

#5 Updated by Zheng Yan 9 months ago

please check if we can use fuse's zero copy feature (splice read/write)

#6 Updated by Xiubo Li 9 months ago

  • Pull request ID set to 34785

#7 Updated by Xiubo Li 9 months ago

Zheng Yan wrote:

please check if we can use fuse's zero copy feature (splice read/write)

Yeah, sure. Will do that.

#8 Updated by Xiubo Li 9 months ago

Currently the splice write makes no sense here, because there is no any file descripter in in_buf and out_buf, and then it will fall back to normal memcpy, this will be the same with the none splice write.

#9 Updated by Xiubo Li 9 months ago

  • Status changed from In Progress to Fix Under Review

#10 Updated by Patrick Donnelly 9 months ago

  • Target version set to v16.0.0
  • Source set to Development

#11 Updated by Patrick Donnelly 6 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF