jessek / hashdeep

Other
694 stars 130 forks source link

Enhancement for hashdeep: More intelligent threading #333

Open chrisly42 opened 9 years ago

chrisly42 commented 9 years ago

The threading option is very efficient on filesystems with physical drives which have neglectable random I/O seeking times (like SSDs). But on harddrives, the seeking times between two threads reading files in parallel can actually defeat the performance gain and may be worse than single threading. I know that -j0 will cure the thrashing problem, but then hashdeep will only to read-compute-read-compute sequentially.

Suggestions: