 | TurboSFV - Blog | | |
|
TurboSFV |
2024-06-01 12:44:19 |
TurboSFV v10.10 - BLAKE2SP |
In TurboSFV version 10.10, we've added BLAKE2SP as an additional hash algorithm. BLAKE2SP is based on BLAKE2S, but designed to run in parallel mode, thus the "P" in the name. BLAKE2SP works with eight instances of BLAKE2S: Each instance
takes a part of the file and applies arithmetic functions on the binary data. This can be done on one CPU, where the CPU has to do all the work, but can also be divided in a way, that - optimally - one CPU is only responsible for one
instance. Values in between are also possible, so that for example on one CPU two instances are running. If all instances have finished, their intermediate values will be processed in finalization rounds, which at the end produce the hash value up
to 256 bit.
As BLAKE2SP runs eight instances of BLAKE2S, the way of parsing the binary data is different, resulting in a different hash value comparing to BLAKE2S. However, it doesn't matter whether you run the eight instances on one or more CPUs, the
checksum will be the same. Up to eight CPUs can be used for the calculation - bringing me to the next
change.
Up to now, TurboSFV only allowed (n-1) CPUs for the calculation, where n is the number of installed CPUs. So it reserved one CPU for other tasks. However, if you have eight CPUs in the system, you couldn't use all of them for - in this
case - BLAKE2SP. We now think, that this limit isn't really necessary and leave it up to the user to decide, how many CPUs should be used for a calculation job and thus, how busy the entire system will
be.
BLAKE2SP was added to TurboSFV on request from some users. If you like to add a comment to this new version, then this is the right place.
|
TurboSFV Cologne, Germany |
|
|
|
|
|