MCPcopy Create free account
hub / github.com/F-Stack/f-stack / setup_hugepages

Method setup_hugepages

dpdk/dts/framework/remote_session/os_session.py:236–241  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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:

Callers 1

_setup_hugepagesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected