Setup hugepages on the Node. Different architectures can supply different amounts of memory for hugepages and numa-based hugepage allocation may need to be considered.
(self)
| 202 | self.lcores = self.main_session.get_remote_cpus(self.config.use_first_core) |
| 203 | |
| 204 | def _setup_hugepages(self): |
| 205 | """ |
| 206 | Setup hugepages on the Node. Different architectures can supply different |
| 207 | amounts of memory for hugepages and numa-based hugepage allocation may need |
| 208 | to be considered. |
| 209 | """ |
| 210 | if self.config.hugepages: |
| 211 | self.main_session.setup_hugepages( |
| 212 | self.config.hugepages.amount, self.config.hugepages.force_first_numa |
| 213 | ) |
| 214 | |
| 215 | def configure_port_state(self, port: Port, enable: bool = True) -> None: |
| 216 | """ |
no test coverage detected