# memstress **Repository Path**: gaoxuelong/memstress ## Basic Information - **Project Name**: memstress - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-08-25 - **Last Updated**: 2023-08-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # memory stress tool ## About This This is a memory stressing tool. Used with commands such as `perf` and `time`. ## Requirements * C++11 compiler ## Build ``` $ make ``` or ``` $ CXXFLAGS="-march=native" make ``` ## Usage ``` $ ./memstress ``` ## Examples Compare cache misses for 524288 x 16KB (8GB) and 2048 x 4MB (8GB) workloads. ``` $ perf stat -ddd ./memstress $((2**19)) $(((2**4)*1024)) readwrite8 $ perf stat -ddd ./memstress $((2**11)) $(((2**12)*1024)) readwrite8 ```