Skip to content
parsa-epflPublic

About

Quick & Flexible Rack-Scale Computer Architecture Simulator

Resources

Stars

57 stars

Watchers

15 watching

Forks

Latest commit

 

History

344 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QFlex

State-of-the-art modeling tools for the computer architecture community.
The QFlex project targets quick, accurate, and flexible simulation of computer systems

QFlex
Documentation | GitHub | Website

  • 🚀 Fast. First class support for statistical sampling. Near-GIPS full-system server simulation.
  • 🕰 Timing-First. 70 KIPS cycle-accurate simulation.
  • 🗂️ Components-based. Create custom components.
  • ✨ Free. QFlex is completely free and open source.

More information regarding the build system and other subsystem of QFlex can be found in the documentation.

1. Tools

  • git
  • uv, which runs the ./qflex CLI
  • Nix with flakes or docker, to build the simulation stack

2. Clone the repository

git clone --recursive https://github.com/parsa-epfl/qflex.git
cd qflex

3. Create a working folder

QFlex keeps the disk images (including the downloaded prebuilt workloads) and the experiments in one working folder, <WORK_DIR>/images and <WORK_DIR>/experiments. Create it somewhere with enough space, outside the repository:

mkdir -p <WORK_DIR>

4. Build the simulation stack

With Nix, in a pure shell:

nix develop -i --keep HOME --command just all

Or start the Docker image, which contains the built stack, with the working folder mounted (at the same path):

uv run ./dep start-docker --worm --mounting-folder <WORK_DIR>

5. Run the CLI

From the repository root (inside the Docker container if you use Docker):

./qflex --help

6. Follow the quick start guide

Follow the quick start on our documentation page: Quick Start Guide. The guide will help you start your workload and study it using QFlex. It will also help you understand how statistical sampling helps with both accuracy and speed and how to use it within QFlex.

Made with contrib.rocks.

This software is an open-sourced software licensed under the following license:

***Software developed externally (not by the QFlex group)***

QFlex consists of several software components that are governed by various
licensing terms, in addition to software that was developed internally.
Anyone interested in using QFlex needs to fully understand and abide by the
licenses governing all the software components.

  * [QEMU] (https://wiki.qemu.org/License)
  * [Boost] (https://www.boost.org/users/license.html)
  * [Conan] (https://github.com/conan-io/conan/blob/develop2/LICENSE.md)

**QFlex License**

QFlex
Copyright (c) 2025, Parallel Systems Architecture Lab, EPFL
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

 * Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
 * Neither the name of the Parallel Systems Architecture Laboratory, EPFL,
   nor the names of its contributors may be used to endorse or promote
   products derived from this software without specific prior written
   permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE PARALLEL SYSTEMS ARCHITECTURE LABORATORY,
EPFL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Quick & Flexible Rack-Scale Computer Architecture Simulator

Resources

Stars

57 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages