gordias.dask_setup.hyperthreading_info#
- gordias.dask_setup.hyperthreading_info() tuple[bool | None, int, int]#
Detect presence of hyperthreading.
If there are more logical cpus than physical ones, hyperthreading is active.
- Returns:
hyperthreading (bool or None) – If True, hyperthreading is active.
no_logical_cpus (int) – Number of logical cpus.
no_physical_cpus (int) – Number of physical cpus.