Modern CPUs utilize hardware acceleration to create SHA-512 fingerprints and can hash up to roughly a Gigabyte of raw data per second. To prevent fingerprinting from consuming too much bandwidth between the Strawberry server and the shared storage, the process is throttled by Strawberry.
Strawberry can run up to 3 simultaneous fingerprinting jobs from which each one is, by default, limited to 50 MB/sec. This means that 3 jobs result in a maximum hashing throughput of 150MB/sec. This limit is arbitrary and can be changed from the Strawberry console as follows:
Changing the Fingerprinting Speed
- SSH login to the Strawberry server as root.
sb consoleand press enter. This will launch the Rails command line.
Settings.file_hashing_max_speedand press enter. This will show you the current hashing speed per job in bytes.
- Now type
Settings.file_hashing_max_speed = x.megabyte, whereby
xrepresents your new value. If you set the value to
0, then throttling will be disabled entirely, and fingerprinting will run at the maximum possible speed.
- Press enter to apply your changes.
- If you want to check if your new value has been applied, type
Settings.file_hashing_max_speedand press enter.
exitand then press enter to leave the console.
Please note that changing the hashing speed will take effect immediately, meaning a restart of Strawberry services is not required. Fingerprinting jobs that are currently running will use the previous speed value, while enqueued jobs will use the new value as soon as they are being processed.
Example 1 – Running fingerprinting with 100 MB/Sec per process
Settings.file_hashing_max_speed = 100.megabyte
Example 2 – Running fingerprinting without a process speed limit
Settings.file_hashing_max_speed = 0
Need more help with this?
Visit the Projective Support Websites