Re: [RFC 0/7] Slab object migration for xarray V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux