Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
$ uname -a
Linux localhost.localdomain 3.12.10-300.fc20.x86_64 #1 SMP Thu Feb 6 22:11:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Description
While audit introduces a non-trivial overhead on any workload (reads become writes), different formats used have different impact.
In my tests – audit with --auditFormat BSON introduces 2x slowdown on a read-only workload, while --auditForrmat JSON introduces a 4x slowdown (see attached screenshot).
This is kind of expected, since translating BSON into JSON is not all that efficient, but this should be documented.