Skip to content

Simple script to run on Linux systems to test throughput of individual threads and visualize memory hierarchy on a CPU

Notifications You must be signed in to change notification settings

bransoned/hierarchy_benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark Setup

First create and run a virtual environment in the working directory:

pip install virtualenv

python3 -m venv myenv

source myenv/bin/activate

Then install dependencies:

pip3 install psutil

pip3 install PyQt6

pip3 install PySide2

Ensure that you can execute the script:

chmod +x ./runscript

Then run the script and wait for data to aggregate:

./runscript

About runscript:

Can uncomment and adjust for loop to run however many times you want. If on local machine that has xdg installed, can also uncomment that line to have the image opened once the script is complete. If on a non-local machine, leave commented and retreive the generated image to local system before opening.

About

Simple script to run on Linux systems to test throughput of individual threads and visualize memory hierarchy on a CPU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published