Core Processor Topology

Wednesday March 12th, 2014By: CyrIng

x2topology

The x2topology program enumerates the topology of the Core processor.
Data of each Core are retrieved through iterative calls of the CPUID instruction.

Illustrations

  • Topology with Hyperthreading and 4 x Cores activated.
    topology-with-htt-4xcores
  • Topology without Hyperthreading, with 4 x activated Cores.
    topology-without-htt-4xcores
  • Topology with Hyperthreading and 2 x Cores activated.
    topology-with-htt-2xcores
  • Topology without Hyperthreading and 1 only activated Core.
    topology-without-htt-1xcore

Build and Run the program

The instructions are specified in the wiki; the main steps are:

  1. Download the source code x2topology.c
  2. Compilation with gcc for Linux
  3. Execute the program
    ./x2topology

    through a Shell script which processes all Cores,

    ./x2topology.sh

x2topology_np

x2topology_np.c is a new release of the program which set the Cores affinity through a call to the pthread_setaffinity_np() function.

topology_np-with-htt-4xcores









XFreq : a Core i7 Widget for Linux

Tuesday January 14th, 2014By: CyrIng

[ 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

xfreq_16


Version 0.15 : Two new Widgets are available, while the Core Widget is enhanced with a Wallboard.

  • C-states
  • Temperature

xfreq_15-Core

xfreq_15-CStates

xfreq_15-Temps

The System Info Widget now gathers details about Processor, RAM and BIOS.

xfreq_15-SysInfo

The rest of the new features is displayed in the menu.

xfreq_15-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
xfreq_10

Release 0.08 adds the Core DTS temperature.


A README file is available in the FTS





Widget XFreq

Sunday December 22nd, 2013By: CyrIng

  • 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