Improve shred throughput with adaptive chunksize (#98)
Measure Throughput
│
▼
throughput > best?
│
┌───┴───┐
YES NO
│ │
│ ▼
│ currentChunk == bestChunk?
│ │
│ ┌───┴───┐
│ YES NO
│ │ │
│ ▼ ▼
│ throughput < best? Nichts tun
│ │
│ ┌─┴─┐
│YES NO
│ │ │
│ ▼ ▼
│UPDATE!
│BEST!
│
▼
UPDATE
BOTH!
Reviewed-on: #98
Co-authored-by: localhorst <localhorst@mosad.xyz>
Co-committed-by: localhorst <localhorst@mosad.xyz>
This commit was merged in pull request #98.
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
#ifndef REHDD_H_
|
||||
#define REHDD_H_
|
||||
|
||||
#define REHDD_VERSION "V1.4.0-dev"
|
||||
#define REHDD_VERSION "V1.4.0"
|
||||
|
||||
// Drive handling Settings
|
||||
#define WORSE_HOURS 19200 // mark drive if at this limit or beyond
|
||||
|
||||
Reference in New Issue
Block a user