mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-15 02:09:57 +07:00
optimize: reduce loading time and memory requirement by shrinking process name searching length
This commit is contained in:
@ -123,8 +123,8 @@ func NewControlPlane(
|
||||
|
||||
/// Load pre-compiled programs and maps into the kernel.
|
||||
if _bpf == nil {
|
||||
log.Infof("Loading eBPF programs and maps into the kernel.")
|
||||
log.Infof("The loading process takes about 150MB free memory, which will be released after loading. Insufficient memory will cause loading failure.")
|
||||
log.Infof("Loading eBPF programs and maps into the kernel...")
|
||||
log.Infof("The loading process takes about 120MB free memory, which will be released after loading. Insufficient memory will cause loading failure.")
|
||||
}
|
||||
//var bpf bpfObjects
|
||||
var ProgramOptions = ebpf.ProgramOptions{
|
||||
|
Reference in New Issue
Block a user