Asm code selection made hard
Niels Möller
nisse at lysator.liu.se
Sun Sep 6 19:00:24 CEST 2026
Torbjörn Granlund <tg at gmplib.org> writes:
> Yes, there is a command-line tool, taskset, which allows for that even
> for a mere luser like myself. I am not familiar with the underlying
> kernel interface. E.g., can you ask for a set of cores or do you have
> to ask for a specific core number?
>From a look at the manpages (sched_setaffinity(2) and taskset(1)), it
seems you specify a bitmask representing the set of cores you want,
e.g., "0x32 is processors #1, #4, and #5".
No idea how to find out which cpu indices corresponding to P and E
cores.
Regards,
/Niels
--
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
More information about the gmp-devel
mailing list