About

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

Usage

  1. SSH login to the Strawberry server as root.
  2. Type sb console and press enter. This will launch the Rails command line.
  3. Type Settings.file_hashing_max_speed and press enter. This will show you the current hashing speed per job in bytes.
  4. Now type Settings.file_hashing_max_speed = x.megabyte, whereby x represents 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.
  5. Press enter to apply your changes.
  6. If you want to check if your new value has been applied, type Settings.file_hashing_max_speed and press enter.
  7. Type exit and 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

Last modified: Jul 22, 2022

Need more help with this?
Visit the Projective Support Websites

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.