Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in tuning.md #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ from the central cache.

The size of the per-cpu caches is controlled by
`tcmalloc::MallocExtension::SetMaxPerCpuCacheSize`. This controls the limit for
each CPU, so the total amount of memory for application could be much larger
each CPU, so the total amount of memory used by an application could be much larger
than this. Memory on CPUs where the application is no longer able to run can be
freed by calling `tcmalloc::MallocExtension::ReleaseCpuMemory`.

Expand All @@ -101,7 +101,7 @@ When enabled, the heavily used per-cpu caches may steal capacity from lightly
used caches and grow beyond the limit set by `tcmalloc_max_per_cpu_cache_size`
flag. This optimization is enabled by default in TCMalloc.

Releasing memory held by unuable CPU caches is handled by
Releasing memory held by unusable CPU caches is handled by
`tcmalloc::MallocExtension::ProcessBackgroundActions`.

In contrast `tcmalloc::MallocExtension::SetMaxTotalThreadCacheBytes` controls
Expand Down