Files
jemalloc/test/unit
Dmitry Ilvokhin aaa29003ab Limit maximum number of purged slabs with option
Option `experimental_hpa_max_purge_nhp` introduced for backward
compatibility reasons: to make it possible to have behaviour similar
to buggy `hpa_strict_min_purge_interval` implementation.

When `experimental_hpa_max_purge_nhp` is set to -1, there is no limit
to number of slabs we'll purge on each iteration. Otherwise, we'll purge
no more than `experimental_hpa_max_purge_nhp` hugepages (slabs). This in
turn means we might not purge enough dirty pages to satisfy
`hpa_dirty_mult` requirement.

Combination of `hpa_dirty_mult`, `experimental_hpa_max_purge_nhp` and
`hpa_strict_min_purge_interval` options allows us to have steady rate of
pages returned back to the system. This provides a strickier latency
guarantees as number of `madvise` calls is bounded (and hence number of
TLB shootdowns is limited) in exchange to weaker memory usage
guarantees.
2024-08-20 10:02:38 -07:00
..
2020-02-19 16:03:16 -08:00
2021-12-23 10:55:08 -08:00
2021-12-23 10:55:08 -08:00
2020-07-31 09:16:50 -07:00
2020-07-31 09:16:50 -07:00
2023-09-06 10:47:14 -07:00
2020-07-31 09:16:50 -07:00
2024-05-22 10:30:31 -07:00
2024-05-22 10:30:31 -07:00
2024-05-22 10:30:31 -07:00
2018-12-03 17:17:03 -08:00
2023-05-08 15:00:02 -07:00
2020-04-01 09:41:20 -07:00
2020-02-19 16:03:16 -08:00
2020-05-12 08:23:15 -07:00
2021-09-17 16:56:41 -07:00
2020-02-19 16:03:16 -08:00
2021-06-24 07:40:28 -07:00
2024-05-22 10:30:31 -07:00
2021-02-04 20:58:31 -08:00
2021-07-12 17:59:18 -07:00
2021-06-24 07:40:28 -07:00
2020-03-31 06:25:08 -07:00
2020-02-19 16:03:16 -08:00
2021-06-24 14:55:49 -07:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2023-05-08 15:00:02 -07:00
2023-05-08 15:00:02 -07:00
2020-02-19 16:03:16 -08:00
2017-05-18 11:33:45 -07:00
2020-02-19 16:03:16 -08:00
2020-10-05 19:55:57 -07:00
2024-04-09 12:57:01 -07:00
2024-07-30 10:29:30 -07:00
2021-12-23 10:55:08 -08:00
2017-04-21 10:06:12 -07:00
2024-04-09 12:57:01 -07:00
2021-12-23 10:55:08 -08:00
2019-12-30 15:58:57 -08:00
2021-07-12 17:59:18 -07:00
2020-04-06 09:50:27 -07:00
2020-04-06 09:50:27 -07:00
2021-12-23 10:55:08 -08:00
2021-09-27 16:05:13 -07:00
2021-12-15 10:39:17 -08:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00
2023-05-08 15:00:02 -07:00
2022-04-25 11:29:00 -07:00
2020-03-12 13:55:00 -07:00
2023-04-05 10:16:37 -07:00
2022-01-04 11:03:51 -08:00
2020-02-19 16:03:16 -08:00
2020-02-19 16:03:16 -08:00