Re-format size class table.

Use a more compact layout for the size class table in the man page.
This avoids layout glitches due to approaching the single-page table
size limit.
This commit is contained in:
Jason Evans 2010-10-24 11:34:50 -07:00
parent 49d0293c88
commit 8da141f47a

View File

@ -516,62 +516,28 @@ If you need to assure that allocations do not suffer from cacheline sharing,
round your allocation requests up to the nearest multiple of the cacheline round your allocation requests up to the nearest multiple of the cacheline
size, or specify cacheline alignment when allocating. size, or specify cacheline alignment when allocating.
.Pp .Pp
Assuming 4 MiB chunks, 4 KiB pages, and a 16 byte quantum on a 64-bit system, Assuming 4 MiB chunks, 4 KiB pages, and a 16-byte quantum on a 64-bit system,
the size classes in each category are as follows: the size classes in each category are as follows:
.\"-----------------------------------------------------------------------------
.TS .TS
expand allbox tab(;); allbox tab(;);
LLR LLL
LLR LLL
^LR ^LL
^^R ^LL
^^R ^LL
^^R LsL
^^R LsL.
^LR
^^R
^^R
^^R
^^R
^LR
^^R
^^R
^^R
^^R
LsR
^^R
^^R
^^R
^^R
LsR
^^R.
Category;Subcategory;Size Category;Subcategory;Size
@roff_tiny@Small;Tiny;8 @roff_tiny@Small;Tiny;[8]
@roff_no_tiny@Small;Tiny;[disabled] @roff_no_tiny@Small;Tiny;[disabled]
;Quantum-spaced;16 ;Quantum-spaced;[16, 32, 48, ..., 128]
;;32 ;Cacheline-spaced;[192, 256, 320, ..., 512]
;;48 ;Sub-page-spaced;[768, 1024, 1280, ..., 3840]
;;... Large;[4 KiB, 8 KiB, 12 KiB, ..., 4072 KiB]
;;128 Huge;[4 MiB, 8 MiB, 12 MiB, ...]
;Cacheline-spaced;192
;;256
;;320
;;...
;;512
;Sub-page;760
;;1024
;;1280
;;...
;;3840
Large;4 KiB
;;8 KiB
;;12 KiB
;;...
;;4084 KiB
Huge;4 MiB
;;8 MiB
;;12 MiB
;;...
.TE .TE
.\"-----------------------------------------------------------------------------
.Sh MALLCTL NAMESPACE .Sh MALLCTL NAMESPACE
The following names are defined in the namespace accessible via the The following names are defined in the namespace accessible via the
.Fn @jemalloc_prefix@mallctl* .Fn @jemalloc_prefix@mallctl*