https://github.com/obedm503/vm-sim
Linux kernel virtual memory and cache invalidation simulation with FIFO, least recently used, and random eviction strategies
https://github.com/obedm503/vm-sim
linux rust virtual-memory
Last synced: 3 months ago
JSON representation
Linux kernel virtual memory and cache invalidation simulation with FIFO, least recently used, and random eviction strategies
- Host: GitHub
- URL: https://github.com/obedm503/vm-sim
- Owner: obedm503
- Created: 2020-03-09T21:33:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-12T01:11:54.000Z (about 5 years ago)
- Last Synced: 2025-01-16T00:39:21.631Z (5 months ago)
- Topics: linux, rust, virtual-memory
- Language: Rust
- Homepage:
- Size: 4.36 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# virual memory simulation
## Installation### Rust
Install the rust tool chain https://www.rust-lang.org/tools/installTo confirm installation run `cargo --version`
### Build
Run `cargo build --release`## Usage
### Standard mode
`./target/release/vm-sim `
### Minimum memory mode
Finds the minimum memory required for all algorithm and trace combinations
`./target/release/vm-sim memory`
### Data mode
Output stats for all algorithm and trace combinations
`./target/release/vm-sim data`
Output stats for specific algorithm and all traces
`./target/release/vm-sim data `