Gweled is an open source puzzle game for Linux.
The x2topology program enumerates the topology of the Core processor.
Data of each Core are retrieved through iterative calls of the CPUID instruction.
- Topology with Hyperthreading and 4 x Cores activated.
- Topology without Hyperthreading, with 4 x activated Cores.
- Topology with Hyperthreading and 2 x Cores activated.
- Topology without Hyperthreading and 1 only activated Core.
Build and Run the program
The instructions are specified in the wiki; the main steps are:
- Download the source code x2topology.c
- Compilation with gcc for Linux
- Execute the program
through a Shell script which processes all Cores,./x2topology.sh
x2topology_np.c is a new release of the program which set the Cores affinity through a call to the pthread_setaffinity_np() function.
[ Nightly Build ]
Version 0.16 : new, an “All-in-One” window is available when starting with argument ‘-D 1′
- MSR reading thread has been optimized.
- One TSC is assigned per logical Core.
- Added Processor features into System Information.
- Attempt to display the temperature Thresholds #1 & #2
The System Info Widget now gathers details about Processor, RAM and BIOS.
The rest of the new features is displayed in the menu.
Release 0.12 : Use the MSR performance counters to provide a better computation accuracy of the Cores frequency multiplier.
Release 0.11 : New pages added to display the specifications of the Processor, RAM, BIOS.
Btw, Help is available from [F1] key.
Release 0.10 : MSR optimisation ; double buffering
Release 0.08 adds the Core DTS temperature.
A README file is available in the FTS
- The XFreq displays the frequencies of the i7 processor CPU cores
- Programmed in multithread for the XLib, the X-Window event loop is split from the thread which compute CPU frequencies.
- Compile the source code then run it as root
# xfreq 0 0 250 150 9x15 0x1010f0 0x00ffff 15 5
CPU Cores monitoring with dwm