|
suricata
|

Go to the source code of this file.
Data Structures | |
| struct | HugepageInfo |
| struct | NodeInfo |
| struct | SystemHugepageSnapshot |
Functions | |
| SystemHugepageSnapshot * | SystemHugepageSnapshotCreate (void) |
| The function creates a snapshot of the system's hugepage usage per NUMA node and per hugepage size. The snapshot is used to evaluate the system's hugepage usage after initialization of Suricata. More... | |
| void | SystemHugepageSnapshotDestroy (SystemHugepageSnapshot *s) |
| void | SystemHugepageEvaluateHugepages (SystemHugepageSnapshot *pre_s, SystemHugepageSnapshot *post_s) |
| The function compares two hugepage snapshots and prints out recommendations for hugepage configuration. More... | |
Definition in file util-hugepages.h.
| void SystemHugepageEvaluateHugepages | ( | SystemHugepageSnapshot * | pre_s, |
| SystemHugepageSnapshot * | post_s | ||
| ) |
The function compares two hugepage snapshots and prints out recommendations for hugepage configuration.
| [in] | pre_s | a pointer to the snapshot taken before Suricata initialization |
| [in] | post_s | a pointer to the snapshot taken after Suricata initialization |
Definition at line 361 of file util-hugepages.c.
| SystemHugepageSnapshot* SystemHugepageSnapshotCreate | ( | void | ) |
The function creates a snapshot of the system's hugepage usage per NUMA node and per hugepage size. The snapshot is used to evaluate the system's hugepage usage after initialization of Suricata.
Definition at line 321 of file util-hugepages.c.
| void SystemHugepageSnapshotDestroy | ( | SystemHugepageSnapshot * | s | ) |
Definition at line 302 of file util-hugepages.c.
References SystemHugepageSnapshot::num_nodes.
Referenced by SuricataPostInit().
