Project

General

Profile

Actions

Feature #45267

closed

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

Added by Xiubo Li about 4 years ago. Updated almost 4 years 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

Actions #1

Updated by Xiubo Li about 4 years ago

  • Assignee set to Xiubo Li
Actions #2

Updated by Xiubo Li about 4 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Xiubo Li about 4 years ago

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

Actions #4

Updated by Xiubo Li almost 4 years ago

  • Tracker changed from Bug to Feature
Actions #5

Updated by Zheng Yan almost 4 years ago

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

Actions #6

Updated by Xiubo Li almost 4 years ago

  • Pull request ID set to 34785
Actions #7

Updated by Xiubo Li almost 4 years ago

Zheng Yan wrote:

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

Yeah, sure. Will do that.

Actions #8

Updated by Xiubo Li almost 4 years 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.

Actions #9

Updated by Xiubo Li almost 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #10

Updated by Patrick Donnelly almost 4 years ago

  • Target version set to v16.0.0
  • Source set to Development
Actions #11

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF