Git Product home page Git Product logo

interrupts's Introduction

Installing SoC Watch

Resize the root partition to ensure you have enough free space:

chmod a+x setup-grow-rootfs.sh

sudo env RESIZEROOT=200 ./setup-grow-rootfs.sh

Install oneAPI base kit using the APT package manager

wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null

echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list

sudo apt update

sudo apt install intel-basekit

Installing Turbostat

sudo apt install linux-tools-common linux-tools-$(uname -r)

Enabling C6

echo "0" |sudo tee /sys/devices/system/cpu/cpu*/cpuidle/state3/disable

Experiment

On node0:

./server

On node1:

To send messages to server running on node0 (10.10.1.1) every 100ms (100000us)

./client 10.10.1.1 100000

On node0:

To measure interrupts within a 10s time window:

cat /proc/interrupts > interrupts1; sleep 10; cat /proc/interrupts > interrupts2; python diff_interrupts.py interrupts1 interrupts2

To capture interrupts causing a C-state transition with SoC Watch:

sudo /opt/intel/oneapi/vtune/2024.0/socwatch/x64/socwatch -f cpu-cstate -m -r int -o temp -t 10

interrupts's People

Contributors

hvolos avatar

Stargazers

Iacovos G. Kolokasis avatar

Watchers

 avatar

Forkers

cseas002

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.