Get the node's Hugepage Size, configure the specified amount of hugepages if needed and mount the hugepages if needed. If force_first_numa is True, configure hugepages just on the first socket.
(self, hugepage_amount: int, force_first_numa: bool)
| 234 | |
| 235 | @abstractmethod |
| 236 | def setup_hugepages(self, hugepage_amount: int, force_first_numa: bool) -> None: |
| 237 | """ |
| 238 | Get the node's Hugepage Size, configure the specified amount of hugepages |
| 239 | if needed and mount the hugepages if needed. |
| 240 | If force_first_numa is True, configure hugepages just on the first socket. |
| 241 | """ |
| 242 | |
| 243 | @abstractmethod |
| 244 | def get_compiler_version(self, compiler_name: str) -> str: |