After dfr@ vnode leak fix, we can allow ARC to consume more memory.
Tested by: kris Approved by: re (bmah)
This commit is contained in:
parent
e7e82a0e43
commit
ef0ffc1c6f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172130
@ -1439,7 +1439,7 @@ arc_reclaim_needed(void)
|
||||
return (1);
|
||||
#endif
|
||||
#else
|
||||
if (kmem_used() > kmem_size() / 2)
|
||||
if (kmem_used() > (kmem_size() * 4) / 5)
|
||||
return (1);
|
||||
#endif
|
||||
|
||||
@ -2729,7 +2729,7 @@ arc_init(void)
|
||||
arc_c_max = (arc_c * 8) - (1<<30);
|
||||
else
|
||||
arc_c_max = arc_c_min;
|
||||
arc_c_max = MAX(arc_c * 4, arc_c_max);
|
||||
arc_c_max = MAX(arc_c * 6, arc_c_max);
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* Allow the tunables to override our calculations if they are
|
||||
|
@ -1439,7 +1439,7 @@ arc_reclaim_needed(void)
|
||||
return (1);
|
||||
#endif
|
||||
#else
|
||||
if (kmem_used() > kmem_size() / 2)
|
||||
if (kmem_used() > (kmem_size() * 4) / 5)
|
||||
return (1);
|
||||
#endif
|
||||
|
||||
@ -2729,7 +2729,7 @@ arc_init(void)
|
||||
arc_c_max = (arc_c * 8) - (1<<30);
|
||||
else
|
||||
arc_c_max = arc_c_min;
|
||||
arc_c_max = MAX(arc_c * 4, arc_c_max);
|
||||
arc_c_max = MAX(arc_c * 6, arc_c_max);
|
||||
#ifdef _KERNEL
|
||||
/*
|
||||
* Allow the tunables to override our calculations if they are
|
||||
|
Loading…
Reference in New Issue
Block a user