On Thu, 30 Apr 2015 13:40:58 -0500 (CDT) Christoph Lameter <cl@xxxxxxxxx> wrote: > On Fri, 17 Apr 2015, Jesper Dangaard Brouer wrote: > > > > Ups, I can see that this kernel don't have CONFIG_SLUB_CPU_PARTIAL, > > > I'll re-run tests with this enabled. > > > > Results with CONFIG_SLUB_CPU_PARTIAL. > > > > size -- optimized -- fallback > > bulk 8 -- 16ns -- 22ns > > bulk 16 -- 16ns -- 22ns > > bulk 30 -- 16ns -- 22ns > > bulk 32 -- 16ns -- 22ns > > bulk 64 -- 30ns -- 38ns > > That looks better. Can I get the code for testing? Then I can vary the > approach a bit before posting patches? I still want to add a fast path for > allocation from the per node partial list. Sure you can get the code. For now the test is fairly simple, will expand later. I have made a branch "mm_bulk_api" to avoid people using my repo getting compile errors (due to API not merged). Git repo[1] branch "mm_bulk_api": [1] https://github.com/netoptimizer/prototype-kernel/ The test kernel module is called "slab_bulk_test01", located under kernel/mm/slab_bulk_test01.c [2]. [2] https://github.com/netoptimizer/prototype-kernel/blob/mm_bulk_api/kernel/mm/slab_bulk_test01.c Howto use repo [3]: [3] http://netoptimizer.blogspot.dk/2014/11/announce-github-repo-prototype-kernel.html -- Best regards, Jesper Dangaard Brouer MSc.CS, Sr. Network Kernel Developer at Red Hat Author of http://www.iptv-analyzer.org LinkedIn: http://www.linkedin.com/in/brouer -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>