Git repo: https://github.com/rmonat/ER01 Pad vrac: http://pad.aliens-lyon.fr/p/ER01CLMM–
Use make
in main dir to make all executables. Then, go into
generation and run ./run_generation.sh Then,
to launch the benchmarks, go into sortalgo and run python3 bench.py
(/!\, be sure to remove results.csv before)
- Input: Arguments:
- Seed for random generator
- Array size
- Input: stdin: integer separated by spaces:
length n1 n2 ...
- Output: stdout: sort time
- Input size
- Compilation options
- Allowed memory
- SSD/HDD
- hardware (CPU, motherboard, etc)
- Other processes on the computer -> Launch ONLY experiment after booting
- Temperature
- Vibrations
- Cache allocations
Use both:
Allow to measure only sort time. gettimeofday or (better) clock gettime(CLOCK REALTIME,&tv);); http://mescal.imag.fr/membres/arnaud.legrand/teaching/2015/M2R_EP_measurements.pdf
Measure global time including I/O (! time given in h:m:s)
The set of random arrays is generated using generation/generate32
.
We generate ?? arrays of sizes 10^1 - 10^8 with step x2.
5 files from each step, right now steps = 10^i, 1 <= i <= 8
We generate ?? arrays of each sizes.
All executable are run ?? times on every generated arrays. Right now I run them once…