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