xaizek / etabench (License: GPLv3) (since 2022-09-08)
Benchmark for algorithms that compute I/O ETA
Commit 38c79b052ff8a9c7163f05fa001102cf0d4a28d4

Improve Slowness algorithm a bit
Author: xaizek
Author date (UTC): 2022-12-31 15:47
Committer name: xaizek
Committer date (UTC): 2022-12-31 15:47
Parent(s): c36154d52f2ccb0d138d8360c4efddae18b8430f
Signing key: 99DC5E4DB05F6BE2
Tree: 1fe39d17b42854fbd618e1f7c269c87dc6125065
File Lines added Lines deleted
src/algs.cpp 1 1
File src/algs.cpp changed (mode: 100644) (index f158a85..845ee0e)
... ... SlownessAlg::estimate(int current, int total, int time)
465 465 totalEta = slowness; totalEta = slowness;
466 466 eta = slowness; eta = slowness;
467 467 } else { } else {
468 float weight = std::exp(-1.0f/(total*decay));
468 float weight = std::exp(-1.0f/(total*decay/100.f));
469 469 totalEta = totalEta*weight + slowness*(1.0f - weight); totalEta = totalEta*weight + slowness*(1.0f - weight);
470 470 eta = (1.0f - 1.0f*current/total)*totalEta; eta = (1.0f - 1.0f*current/total)*totalEta;
471 471 } }
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/etabench

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/etabench

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master