Filipe Rodrigues ea3a089ff9 Updated all dependencies due to security vulnerability on rustix.
While we didn't use `rustix` directly, it was an indirect dependency of `clap` (`clap` -> `clap_builder` -> `anstream` -> `is-terminal` -> `rustix`).
Now it is no longer an indirect dependency, as `anstream` no longer depends on `is-terminal`.
2023-10-31 17:12:29 +00:00
2023-06-01 12:33:09 +01:00
2023-07-06 09:47:49 +01:00
2023-07-06 09:47:49 +01:00
2023-07-12 12:09:42 +01:00
2023-05-17 13:57:36 +01:00

ftmemsim

A tiered-memory simulator.

Usage

To use this library, first clone it:

git clone https://github.com/Zenithsiz/ftmemsim

(If you need to generate traces, also clone the submodules with --recurse-submodules).

After this, you can check run-tracer.sh for an example on how to trace a program. You'll need to compile the valgrind fork in extern/ftmemsim-valgrind. Follow the instructions on it's README for building.

You'll also need the parse-valgrind rust tool. You can use the following to build it:

cargo build --release --package "parse-valgrind"

You can now run the simulator with these traces. Look in the run.sh file for examples, but it boils down to running the simulator itself:

cargo run --release --package ftmemsim -- \
	--config <config-file> \
	<trace-file> \
	--output <output-file>

Finally you can use ftmemsim-graphs to generate some graphs from it's output. See ./ftmemsim-graphs --help for a list of all the graphs. You can run, for example, the following:

cargo run --release --package ftmemsim-graphs -- \
	page-migrations \
	<simulator-output-file> \
	--config <config-file> \
	--output <output-image>
Description
No description provided
Readme 218 KiB
Languages
Rust 96.5%
Shell 3.5%