-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ric Li <[email protected]>
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
# MTL Manager | ||
# MTL Manager Documentation | ||
|
||
Manager is a daemon server running under root privilege. It is responsible for managing the instances of MTL and handling control plane configurations which require high privileges. | ||
## Overview | ||
|
||
![design](manager-design.svg) | ||
|
||
MTL Manager is a daemon server designed to operate with root privileges. Its primary role is to manage the lifecycle and configurations of MTL instances. It addresses a variety of administrative tasks, including: | ||
|
||
- Lcore Management: Ensures that MTL instances are aware of the lcores used by others, optimizing resource allocation. | ||
- eBPF/XDP Loader: Dynamically loads and manages eBPF/XDP programs for advanced packet processing and performance tuning. | ||
- NIC Configuration: Configures Network Interface Cards (NICs) with capabilities like adding or deleting flow and queue settings. | ||
- Instances Monitor: Continuously monitors MTL instances, providing status reporting and clearing mechanisms. | ||
|
||
## Build | ||
|
||
To compile the MTL Manager, use the following commands: | ||
|
||
```bash | ||
meson setup build | ||
meson compile -C build | ||
``` | ||
|
||
## Run | ||
|
||
To run the MTL Manager, execute: | ||
|
||
```bash | ||
sudo ./build/MtlManager | ||
``` | ||
|
||
This command will start the MTL Manager with root privileges, which are necessary for the advanced eBPF and network configurations and management tasks it performs. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.