Open sajith opened 3 years ago
是的,可能是版本问题,需要修改91行的内容MAXREPS=MAXREPS, MAXTIME=None, 改成 runreps=MAXREPS,。我运行成功了: zhouhua@mbp bench%python2.7 bench_zfec.py --k=9 --m=10 measuring encoding of data with K=9, M=10, reporting results in nanoseconds per byte after encoding 1000000 bytes 64 times in a row... best: 3.713e-01, 3th-best: 3.713e-01, mean: 3.723e-01, 3th-worst: 3.724e-01, worst: 3.773e-01 (of 10) and now represented in MB/s...
best: 2693.269 MB/sec mean: 2685.681 MB/sec worst: 2650.638 MB/sec
zfec's README does not say much about actually running the bechmarks (except that "to run the benchmarks, execute the included bench/bench_zfec.py script with optional --k= and --m= arguments"), but running
bench/bench_zfec.py
results in:Also:
stridetune-bench.py
andstridetune-bench.ba.sh
seems to have the effect of freezing my computer.stridetune-dat.bash
andstridetune-graph.py
.