Document the following sysctls:
kern.geom.eli.version kern.geom.eli.key_cache_limit kern.geom.eli.key_cache_hits kern.geom.eli.key_cache_misses MFC after: 1 week
This commit is contained in:
parent
0d9d733c57
commit
1b93915ff2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221633
@ -1,4 +1,4 @@
|
|||||||
.\" Copyright (c) 2005-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>
|
.\" Copyright (c) 2005-2011 Pawel Jakub Dawidek <pawel@dawidek.net>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
.\"
|
.\"
|
||||||
.\" Redistribution and use in source and binary forms, with or without
|
.\" Redistribution and use in source and binary forms, with or without
|
||||||
@ -627,9 +627,13 @@ variables can be used to control the behavior of the
|
|||||||
.Nm ELI
|
.Nm ELI
|
||||||
GEOM class.
|
GEOM class.
|
||||||
The default value is shown next to each variable.
|
The default value is shown next to each variable.
|
||||||
All variables can also be set in
|
Some variables can also be set in
|
||||||
.Pa /boot/loader.conf .
|
.Pa /boot/loader.conf .
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
|
.It Va kern.geom.eli.version
|
||||||
|
Version number of the
|
||||||
|
.Nm ELI
|
||||||
|
GEOM class.
|
||||||
.It Va kern.geom.eli.debug : No 0
|
.It Va kern.geom.eli.debug : No 0
|
||||||
Debug level of the
|
Debug level of the
|
||||||
.Nm ELI
|
.Nm ELI
|
||||||
@ -668,6 +672,22 @@ When set to 1, can speed-up crypto operations by using batching.
|
|||||||
Batching allows to reduce number of interrupts by responding on a group of
|
Batching allows to reduce number of interrupts by responding on a group of
|
||||||
crypto requests with one interrupt.
|
crypto requests with one interrupt.
|
||||||
The crypto card and the driver has to support this feature.
|
The crypto card and the driver has to support this feature.
|
||||||
|
.It Va kern.geom.eli.key_cache_limit : No 8192
|
||||||
|
Specifies how many encryption keys to cache.
|
||||||
|
The default limit
|
||||||
|
.No ( 8192
|
||||||
|
keys) will allow to cache all keys for 4TB provider with 512 bytes sectors and
|
||||||
|
will take around 1MB of memory.
|
||||||
|
.It Va kern.geom.eli.key_cache_hits
|
||||||
|
Reports how many times we were looking up a key and it was already in cache.
|
||||||
|
This sysctl is not updated for providers that need less keys than the limit
|
||||||
|
specified in
|
||||||
|
.Va kern.geom.eli.key_cache_limit .
|
||||||
|
.It Va kern.geom.eli.key_cache_misses
|
||||||
|
Reports how many times we were looking up a key and it was not in cache.
|
||||||
|
This sysctl is not updated for providers that need less keys than the limit
|
||||||
|
specified in
|
||||||
|
.Va kern.geom.eli.key_cache_limit .
|
||||||
.El
|
.El
|
||||||
.Sh EXIT STATUS
|
.Sh EXIT STATUS
|
||||||
Exit status is 0 on success, and 1 if the command fails.
|
Exit status is 0 on success, and 1 if the command fails.
|
||||||
|
Loading…
Reference in New Issue
Block a user