opendnssec / SoftHSMv2

SoftHSM version 2
http://www.softhsm.org/
Other
740 stars 335 forks source link

Low speed with use the file backend #711

Open atribolt opened 1 year ago

atribolt commented 1 year ago

PC: AMD Ryzen 5 1600 3.5 GHz, 16 Gb RAM

Parameter in the configuration: objectstore.backend = file The token catalog contains more than 400 keys or 800 the .object files + 1 token.object + generate + more the .lock files.

The duration of the key and certificate search operation is 6 seconds.

We think that file system and cache synchronization is slow when combining new and deleted objects in the isValid method. May be add option in SimpleConfig, wich say it backend only create key, and not remove their?