lkml.org 
[lkml]   [2018]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC 0/7] Slab object migration for xarray V2
From
Date
On 12/20/18 11:21 AM, Christoph Lameter wrote:
> To test apply this patchset and run a workload that uses lots of radix tree objects
>
>
> Then go to
>
> /sys/kernel/slab/radix_tree_node
>
> Inspect the number of total objects that the slab can handle
>
> cat total_objects

cat objects # ???

(as below) (just checking :)


>
> qmdr:/sys/kernel/slab/radix_tree_node# cat objects
> 868 N0=448 N1=168 N2=56 N3=196
>
> And the number of slab pages used for those
>
> cat slabs
>
> qmdr:/sys/kernel/slab/radix_tree_node# cat slabs
> 31 N0=16 N1=6 N2=2 N3=7
>
>
> Perform a cache shrink operation
>
> echo 1 >shrink
>
>
> Now see how the slab has changed:
>
> qmdr:/sys/kernel/slab/radix_tree_node# cat slabs
> 30 N0=15 N1=6 N2=2 N3=7
> qmdr:/sys/kernel/slab/radix_tree_node# cat objects
> 713 N0=349 N1=141 N2=52 N3=171


--
~Randy

\
 
 \ /
  Last update: 2018-12-20 23:33    [W:0.059 / U:7.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site