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

fs_watcher项目:目标是检测文件系统的性能指标 #619

Open
13186379707 opened this issue Dec 5, 2023 · 10 comments
Open

fs_watcher项目:目标是检测文件系统的性能指标 #619

13186379707 opened this issue Dec 5, 2023 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@13186379707
Copy link
Contributor

13186379707 commented Dec 5, 2023

fs_watcher 项目:Linux系统性能监测对于监测系统运行状态、分析系统运行效率、定位运行故障以及优化系统设计等方面都具有重要的意义。本题目基于eBPF机制对Linux系统中文件系统的性能进行监测。完成的内容包括:

  • 分析Linux中文件系统的基本原理,提出性能监测参数。
  • 利用eBPF工具提取性能监测参数并进行分析,生成指标(例如:吞吐量、 每秒操作数(IOPS)、 I/O延时等)。
  • 在对系统监测工具开销评价的基础上,提出相应的工具优化策略。
  • 优化场景:xxx

项目技术要求

  • 了解bcc、libbpf相关技术
  • 了解Linux内核中文件系统的基本原理
  • 有一定的C编程能力

实验环境:

  • 运行系统:Ubuntu 22.04 LTS、5.15.0-50-generic及以上。
  • 场景验证:能在主机场景下完成课题实现目标,并有测试分析报告。
  • 文档丰富:具有README,设计文档等。

相关资料:

成员:
尚凡、廉洋洋

TODO:
-[ ] 将原本Filesystem_Subsystem中的bcc工具转换为libbpf工具
-[ ] 扩展对于Linux系统中文件系统的性能监测指标,并整理相应的文档说明
例如:吞吐量、 每秒操作数(IOPS)、 I/O延时、文件创建耗时、 文件销毁耗时、 文件读写性能等
-[ ] 将这些对于文件系统性能的监测指标合成一个工具进行展示
-[ ] 对xxx场景提出相应的工具优化策略

@chenamy2017
Copy link
Contributor

给这个issuse指定一下成员。

@sf1999817 sf1999817 self-assigned this Jan 15, 2024
@sf1999817
Copy link
Contributor

将open由bcc改为libbpf #665

@sf1999817
Copy link
Contributor

写了一个用libbpf可以统计open调用次数的代码 #676

@sf1999817
Copy link
Contributor

libbpf_fs_watcher #686

@sf1999817
Copy link
Contributor

libbpf_fs_watcher(添加了一个write系统调用) #714

这次写了一个write的系统调用代码,最近正在优化这部分代码,还有点问题,这几天修好了,会把这个write代码继续优化改进的

@sf1999817
Copy link
Contributor

对write系统调用进行优化 #738
以前写的那个write系统调用有点简单,这次把文件路径提取出来

@sf1999817
Copy link
Contributor

fs_watcher:对write系统调用进行优化 #738
已经把头文件都加上了

@sf1999817
Copy link
Contributor

fs_watcher:修复冲突,对write系统调用,添加了提取路径参数信息 #771

//好像已经把冲突修改了

@sf1999817
Copy link
Contributor

对write的系统调用,进一步探测,更改挂载点的执行函数 #791
捕获

@sf1999817
Copy link
Contributor

对write的系统调用,进一步探测,更改挂载点的执行函数 #791 捕获

是把代码进行了简化,把一些不用的代码删除了,把代码思路重新理了一下,打印的是文件描述符和进程pid

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

3 participants