diff options
author | Juergen Christ <jchrist@linux.ibm.com> | 2022-08-29 17:05:41 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-23 18:21:43 +0100 |
commit | 98e3f4e9d0a3562ac61076612b55178d6c4ea9d4 (patch) | |
tree | 4577c8eefffa40808a9af4372246cbade1dc2ee3 /doc/man1 | |
parent | a193030d324b7808588daae5cd7b910dc3112e9e (diff) |
apps/speed.c: Lock buffer in memory
Lock the buffers used for throughput measurements into memory. This removes
some side effects of paging.
Errors from the memory locking functions are ignored since they are not
critical to the application.
This feature is limited to Linux and Windows.
Signed-off-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19091)
(cherry picked from commit 9710d72b95f4fc218ed613f42dc90ad0d263b14f)
Diffstat (limited to 'doc/man1')
-rw-r--r-- | doc/man1/openssl-speed.pod.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man1/openssl-speed.pod.in b/doc/man1/openssl-speed.pod.in index 6770033bf4..60568fe407 100644 --- a/doc/man1/openssl-speed.pod.in +++ b/doc/man1/openssl-speed.pod.in @@ -24,6 +24,7 @@ B<openssl speed> [B<-seconds> I<num>] [B<-bytes> I<num>] [B<-mr>] +[B<-mlock>] {- $OpenSSL::safe::opt_r_synopsis -} {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_provider_synopsis -} [I<algorithm> ...] @@ -115,6 +116,10 @@ int would be 2147483583 bytes. Produce the summary in a mechanical, machine-readable, format. +=item B<-mlock> + +Lock memory into RAM for more deterministic measurements. + {- $OpenSSL::safe::opt_r_item -} {- $OpenSSL::safe::opt_engine_item -} |