-
Notifications
You must be signed in to change notification settings - Fork 101
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
[wip]Add eBPF support for optimizer #506
Open
sctb512
wants to merge
9
commits into
containerd:main
Choose a base branch
from
sctb512:ebpf-server
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+789
−170
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sctb512
force-pushed
the
ebpf-server
branch
24 times, most recently
from
July 14, 2023 08:31
d40a436
to
81db814
Compare
sctb512
changed the title
Add eBPF support for optimizer
[wip]Add eBPF support for optimizer
Jul 14, 2023
The runtime environment for this patch is harsh and the project gobpf is unmaintained for a while. I would like to consider a more suitable library to implement this feature. |
sctb512
force-pushed
the
ebpf-server
branch
4 times, most recently
from
August 24, 2023 08:09
649a7cb
to
0532c9b
Compare
sctb512
force-pushed
the
ebpf-server
branch
19 times, most recently
from
August 24, 2023 14:20
f6041f7
to
e2dc696
Compare
This package is used to abstract the optimizer. Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Remove the 'events' configuration, which does not need to be configured, and add the 'server_type' for optimizer. Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Signed-off-by: Bin Tang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pkg/optimizer
package.events
configuration entry which is no need for users.Here is a example output for eBPF optimizer:
> cat pytorch:1.12.1.csv timestamp,command,path,position,size 1688978328332,python,/root/miniconda3/lib/python3.10/lib-dynload/cmath.cpython-310-x86_64-linux-gnu.so,118784,4096 1688978328375,python,/root/miniconda3/lib/python3.10/lib-dynload/_socket.cpython-310-x86_64-linux-gnu.so,184320,4096 1688978328377,python,/root/miniconda3/lib/python3.10/lib-dynload/array.cpython-310-x86_64-linux-gnu.so,126976,4096 1688978328379,python,/root/miniconda3/lib/python3.10/lib-dynload/_multiprocessing.cpython-310-x86_64-linux-gnu.so,28672,4096 1688978328416,python,/root/miniconda3/lib/python3.10/lib-dynload/_ssl.cpython-310-x86_64-linux-gnu.so,348160,4096 1688978328416,python,/root/miniconda3/lib/libssl.so.1.1,1122304,4096 1688978328424,python,/root/miniconda3/lib/python3.10/lib-dynload/unicodedata.cpython-310-x86_64-linux-gnu.so,2224128,4096 1688978328429,python,/root/miniconda3/lib/python3.10/lib-dynload/_asyncio.cpython-310-x86_64-linux-gnu.so,114688,4096