ASM:Topology
From Wiki.cyring.fr
(Difference between revisions)
(Page créée avec « == ACPI Extended Topology == === Building the Program === ==== Prerequesites ==== The Linux Operating System. Any Linux package which provides the command [http://www.linu... ») |
(→Prerequesites) |
||
Line 2: | Line 2: | ||
=== Building the Program === | === Building the Program === | ||
==== Prerequesites ==== | ==== Prerequesites ==== | ||
- | The Linux Operating System. | + | * The Linux Operating System. |
- | Any Linux package which provides the command [http://www.linuxcommand.org/man_pages/taskset1.html taskset] that allows [http://en.wikipedia.org/wiki/Processor_affinity Processor affinity] : [https://www.archlinux.org/packages/core/x86_64/util-linux util-linux] if running ArchLinux. | + | * Any Linux package which provides the command [http://www.linuxcommand.org/man_pages/taskset1.html taskset] that allows [http://en.wikipedia.org/wiki/Processor_affinity Processor affinity] : [https://www.archlinux.org/packages/core/x86_64/util-linux util-linux] if running ArchLinux. |
- | The GNU gcc C compiler. | + | * The GNU [https://www.archlinux.org/packages/core/x86_64/gcc gcc] C compiler. |
+ | |||
==== Getting the Source Files ==== | ==== Getting the Source Files ==== | ||
In the repository, download the following files in a project directory, such as x2topology | In the repository, download the following files in a project directory, such as x2topology |
Revision as of 09:39, 12 March 2014
Contents |
ACPI Extended Topology
Building the Program
Prerequesites
- The Linux Operating System.
- Any Linux package which provides the command taskset that allows Processor affinity : util-linux if running ArchLinux.
- The GNU gcc C compiler.
Getting the Source Files
In the repository, download the following files in a project directory, such as x2topology [[1]] [[2]] Optionaly, the binary executable file : x2topology
Build the Program
- Compile the C source file
gcc x2topology.c -o x2topology
- Give an executable permission to the downloaded Bash script
chmod +x x2topology.sh