Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用eBPF优化FUSE read方法性能 #529

Closed
6 tasks done
13186379707 opened this issue Sep 22, 2023 · 0 comments
Closed
6 tasks done

使用eBPF优化FUSE read方法性能 #529

13186379707 opened this issue Sep 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@13186379707
Copy link
Contributor

13186379707 commented Sep 22, 2023

    FUSE(Filesystem in Userspace)是一个常用的用户空间文件系统框架,它允许用户空间程序实现自己的文件系统,并且可以通过内核的VFS(Virtual File System)接口进行挂载和管理。
    目前,由于FUSE文件系统能够更加容易的开发、调试、维护,并且可以灵活实现用户自定义的功能,从而导致现在越来越多的公司使用FUSE框架来开发他们自己的文件系统。但是,FUSE框架存在性能瓶颈,其中之一就是在文件读取时存在内存拷贝,特别是在大量的小文件读取场景。
    本项目主要针对FUSE框架中的read方法的运行过程进行优化,实现在文件读取过程中整体性能提升的目的。

项目开发计划:

1、阅读extfuse框架的相关论文并整理

2、复现extfuse框架并整理出相关步骤

3、了解extfuse框架中lookup优化的过程

4、梳理extfuse框架、fuse框架以及底层文件系统ext4的数据流

5、修改extfuse框架中的read扩展

6、开发用于测试的文件系统
(1)基于fuse库的简易文件系统(fusedemo)
(2)基于extfuse库的测试文件系统(StackFS)
7、写一个用户态程序(模拟一个应用程序),调用read方法,去进行测试

8、整理测试验证报告,写结项报告

9、基于fusedemo里面的read方法进行一个优化

@13186379707 13186379707 added the enhancement New feature or request label Sep 22, 2023
@helight helight closed this as completed Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants