shodanshok
b445b25b27
Fix arc_p aggressive increase
...
The original ARC paper called for an initial 50/50 MRU/MFU split
and this is accounted in various places where arc_p = arc_c >> 1,
with further adjustment based on ghost lists size/hit. However, in
current code both arc_adapt() and arc_get_data_impl() aggressively
grow arc_p until arc_c is reached, causing unneeded pressure on
MFU and greatly reducing its scan-resistance until ghost list
adjustments kick in.
This patch restores the original behavior of initially having arc_p
as 1/2 of total ARC, without preventing MRU to use up to 100% total
ARC when MFU is empty.
Reviewed-by: Alexander Motin <mav@FreeBSD.org >
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov >
Signed-off-by: Gionatan Danti <g.danti@assyoma.it >
Closes #14137
Closes #14120
2022-11-11 10:41:36 -08:00
..
2022-10-19 17:11:01 -07:00
2022-03-15 15:13:42 -07:00
2022-11-11 10:41:36 -08:00
2022-06-21 14:32:09 -07:00
2022-03-15 15:13:42 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-16 13:52:25 -07:00
2022-10-20 11:57:15 -07:00
2022-10-29 13:05:11 -07:00
2022-09-22 12:59:41 -07:00
2022-10-14 13:37:54 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-27 16:42:41 -07:00
2022-10-27 09:54:54 -07:00
2022-11-03 09:55:13 -07:00
2022-09-15 16:21:21 -07:00
2022-10-28 13:25:37 -07:00
2022-10-27 09:54:54 -07:00
2022-07-11 14:16:13 -07:00
2022-10-13 10:03:29 -07:00
2022-10-27 09:54:54 -07:00
2022-07-11 14:16:13 -07:00
2022-09-12 09:55:37 -07:00
2022-10-14 13:37:54 -07:00
2022-08-22 17:42:01 -07:00
2022-10-14 13:37:54 -07:00
2022-10-13 10:03:29 -07:00
2022-07-11 14:16:13 -07:00
2022-08-22 12:36:22 -07:00
2022-11-10 13:56:28 -08:00
2022-10-14 13:37:54 -07:00
2022-11-08 10:16:01 -08:00
2022-10-13 10:03:29 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-03-15 15:13:42 -07:00
2022-10-18 15:34:36 -07:00
2022-07-11 14:16:13 -07:00
2022-03-15 15:13:42 -07:00
2022-01-07 10:36:49 -08:00
2022-01-12 16:14:36 -08:00
2022-07-11 14:16:13 -07:00
2022-10-18 15:39:40 -07:00
2022-10-14 13:37:54 -07:00
2022-09-27 16:42:41 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2022-10-12 11:25:18 -07:00
2022-09-27 16:42:41 -07:00
2022-07-11 14:16:13 -07:00
2022-09-30 15:34:39 -07:00
2022-07-11 14:16:13 -07:00
2022-03-15 15:13:42 -07:00
2022-10-13 10:03:29 -07:00
2022-09-28 09:48:46 -07:00
2022-09-27 16:42:41 -07:00
2022-07-11 14:16:13 -07:00
2022-11-03 09:58:14 -07:00
2022-10-29 13:05:11 -07:00
2022-09-27 16:42:41 -07:00
2022-11-04 11:33:47 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2018-06-06 09:35:59 -07:00
2018-06-06 09:35:59 -07:00
2022-09-27 16:42:41 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-27 16:42:41 -07:00
2020-11-13 13:51:51 -08:00
2022-09-12 12:51:17 -07:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2022-10-13 10:03:29 -07:00
2022-10-13 10:03:29 -07:00
2022-07-11 14:16:13 -07:00
2022-09-08 10:30:53 -07:00
2022-07-11 14:16:13 -07:00
2022-10-27 09:54:54 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-09-06 09:43:21 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-10-29 13:05:11 -07:00
2022-09-08 10:30:53 -07:00
2022-10-19 15:48:13 -07:00
2022-09-27 16:42:41 -07:00
2022-07-11 14:16:13 -07:00
2022-10-28 10:16:31 -07:00
2022-11-10 13:37:12 -08:00
2022-10-20 11:57:15 -07:00
2022-10-20 11:57:15 -07:00
2022-07-11 14:16:13 -07:00
2022-10-14 13:37:54 -07:00
2018-02-08 15:29:24 -08:00
2022-01-14 15:37:55 -08:00
2020-02-14 13:41:42 -08:00
2022-09-02 13:31:19 -07:00
2022-10-29 13:04:52 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-10-29 13:05:11 -07:00
2022-11-03 10:17:17 -07:00
2022-07-11 14:16:13 -07:00
2022-10-13 10:03:29 -07:00
2022-10-28 09:49:20 -07:00
2022-11-03 09:52:12 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-11-08 10:28:56 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-11-08 10:28:56 -08:00
2022-11-08 12:38:08 -08:00
2022-09-30 15:34:39 -07:00
2022-10-18 11:05:32 -07:00
2022-09-27 16:35:29 -07:00
2022-10-27 09:54:54 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-03-23 08:51:00 -07:00
2022-10-28 09:49:20 -07:00