summaryrefslogtreecommitdiff
path: root/doc/man1
diff options
context:
space:
mode:
authorJuergen Christ <jchrist@linux.ibm.com>2022-08-29 17:05:41 +0200
committerPauli <pauli@openssl.org>2022-09-29 09:06:04 +1000
commit9710d72b95f4fc218ed613f42dc90ad0d263b14f (patch)
tree86e6cbde22ab5e4968184757b93b44e8451ec9d2 /doc/man1
parentac44deaf00ad24fd18b9d74de4a23d98a2b75c8d (diff)
downloadopenssl-new-9710d72b95f4fc218ed613f42dc90ad0d263b14f.tar.gz
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)
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/openssl-speed.pod.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/man1/openssl-speed.pod.in b/doc/man1/openssl-speed.pod.in
index 8fa78ead41..011a086eab 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 -}