Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
11
Star
40
Fork
36
openEuler
/
open-source-summer
Closed
Code
Issues
235
Pull Requests
4
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
基于ebpf实现容器网络中veth网络性能的优化
Backlog
#I6Z3S2
开源之夏2023
nlgwcy
Opened this issue
2023-04-26 16:59
项目标题:基于ebpf实现容器网络中veth网络性能的优化 【项目难度】:进阶 【项目描述】: 1、veth pair是linux中提供的一种虚拟网络设备,veth总是成对出现,一个pair对中的veth就像一根网线的两端,数据从一个端点流进,就会从另一端流出,veth可以配置ip,实现不同netns间的通信;当前veth pair容器网络中常用的网络模型;通过将veth的一段挂到Pod内,另一端在node上,实现Pod与外部网络的互通; 2、Pod流量经过veth pair后存在一定的性能损耗(对比测试主机进程直接通信的性能损耗约40%),存在较大优化空间;本项目期望基于ebpf技术对veth的网络性能做优化; 【产出标准】: 1、基于ebpf实现veth网络性能优化,性能可达成主机进程直通的90%+; 2、项目代码合入openEuler社区仓库; 【技术要求】: 1、对容器网络有一定的了解,了解veth网络的工作原理; 2、了解ebpf的基本原理,可编写简单的ebpf程序; 【导师姓名/导师邮箱】:吴长冶/wuchangye@huawei.com 【成果提交仓库】:https://gitee.com/openeuler/Kmesh 【相关参考资料】:(包括项目的代码仓库链接、学习资料等) https://arthurchiao.art/blog/cilium-life-of-a-packet-pod-to-service/ 本次活动将面向全球学生,题目内容请同时提交中英文版本。 Project title: Optimizing veth network performance in container networks based on ebpf [Project Difficulty]: Advanced [Project Description]: 1、The veth pair is a virtual network device provided by Linux. The veth pair always appears in pairs. The veth in a pair is like the two ends of a network cable. When data flows in from one end point, it flows out from the other end point. The veth can be configured with an IP address. Implements communication between different netns. Common network models in the current veth pair container network; A section of veth is mounted to a pod and the other end is on a node to implement communication between the pod and external networks. 2、Pod traffic has certain performance loss after passing through the veth pair. (Compared with the test host process direct communication performance loss of about 40%) There is a lot of room for optimization. This project aims to optimize the network performance of veth based on the EBPF technology. [Output standard]: 1、Optimize the VETH network performance based on the EBPF. The performance can reach more than 90% of that of the host process passthrough. 2、The project code is incorporated into the openEuler community repository. [Technical Requirements]: 1、Have a basic understanding of the container network and the working principle of the veth network. 2、Understand the basic principles of ebpf and write simple ebpf programs. [Mentor name/Email address]: 吴长冶 /wuchangye@huawei.com [Result submission warehouse]: https://gitee.com/openeuler/Kmesh [Related References]: (including project code repository links, learning materials, etc.) https://arthurchiao.art/blog/cilium-life-of-a-packet-pod-to-service/
项目标题:基于ebpf实现容器网络中veth网络性能的优化 【项目难度】:进阶 【项目描述】: 1、veth pair是linux中提供的一种虚拟网络设备,veth总是成对出现,一个pair对中的veth就像一根网线的两端,数据从一个端点流进,就会从另一端流出,veth可以配置ip,实现不同netns间的通信;当前veth pair容器网络中常用的网络模型;通过将veth的一段挂到Pod内,另一端在node上,实现Pod与外部网络的互通; 2、Pod流量经过veth pair后存在一定的性能损耗(对比测试主机进程直接通信的性能损耗约40%),存在较大优化空间;本项目期望基于ebpf技术对veth的网络性能做优化; 【产出标准】: 1、基于ebpf实现veth网络性能优化,性能可达成主机进程直通的90%+; 2、项目代码合入openEuler社区仓库; 【技术要求】: 1、对容器网络有一定的了解,了解veth网络的工作原理; 2、了解ebpf的基本原理,可编写简单的ebpf程序; 【导师姓名/导师邮箱】:吴长冶/wuchangye@huawei.com 【成果提交仓库】:https://gitee.com/openeuler/Kmesh 【相关参考资料】:(包括项目的代码仓库链接、学习资料等) https://arthurchiao.art/blog/cilium-life-of-a-packet-pod-to-service/ 本次活动将面向全球学生,题目内容请同时提交中英文版本。 Project title: Optimizing veth network performance in container networks based on ebpf [Project Difficulty]: Advanced [Project Description]: 1、The veth pair is a virtual network device provided by Linux. The veth pair always appears in pairs. The veth in a pair is like the two ends of a network cable. When data flows in from one end point, it flows out from the other end point. The veth can be configured with an IP address. Implements communication between different netns. Common network models in the current veth pair container network; A section of veth is mounted to a pod and the other end is on a node to implement communication between the pod and external networks. 2、Pod traffic has certain performance loss after passing through the veth pair. (Compared with the test host process direct communication performance loss of about 40%) There is a lot of room for optimization. This project aims to optimize the network performance of veth based on the EBPF technology. [Output standard]: 1、Optimize the VETH network performance based on the EBPF. The performance can reach more than 90% of that of the host process passthrough. 2、The project code is incorporated into the openEuler community repository. [Technical Requirements]: 1、Have a basic understanding of the container network and the working principle of the veth network. 2、Understand the basic principles of ebpf and write simple ebpf programs. [Mentor name/Email address]: 吴长冶 /wuchangye@huawei.com [Result submission warehouse]: https://gitee.com/openeuler/Kmesh [Related References]: (including project code repository links, learning materials, etc.) https://arthurchiao.art/blog/cilium-life-of-a-packet-pod-to-service/
Comments (
1
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/sig-OSCourse
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/openeuler/open-source-summer.git
git@gitee.com:openeuler/open-source-summer.git
openeuler
open-source-summer
open-source-summer
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register