Skip to content

Commit

Permalink
doc: Update --max-semi-space-size description
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Bowbeer <[email protected]>
  • Loading branch information
joebowbeer committed Oct 23, 2024
1 parent dacbfb1 commit 7300df9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -3543,8 +3543,14 @@ an increase of 1 MiB to semi-space applies to each of the three individual
semi-spaces and causes the heap size to increase by 3 MiB. The throughput
improvement depends on your workload (see [#42511][]).

The default value is 16 MiB for 64-bit systems and 8 MiB for 32-bit systems. To
get the best configuration for your application, you should try different
In <=v19 the default value is 16 MiB for 64-bit systems and 8 MiB for 32-bit systems.
In v20 and later, however, the default value depends on the memory limit
and will be smaller than in previous versions for memory limits of 2 GiB or less.

For example, a memory limit of 512 MiB will default to 1 MiB of semi space in v20,
whereas in v18 the default for 64-bit systems was 16 MiB.

To get the best configuration for your application, you should try different
max-semi-space-size values when running benchmarks for your application.

For example, benchmark on a 64-bit systems:
Expand Down

0 comments on commit 7300df9

Please sign in to comment.