RE: [PATCH 1/3] slub: set a criteria for slub node partial adding
From: Shi, Alex
Date: Tue Dec 13 2011 - 08:02:06 EST
> > > - if (tail == DEACTIVATE_TO_TAIL)
> > > + if (tail == DEACTIVATE_TO_TAIL ||
> > > + page->inuse > page->objects /2)
> > > list_add_tail(&page->lru, &n->partial);
> > > else
> > > list_add(&page->lru, &n->partial);
> > >
> > with the statistics patch above? I typically run with CONFIG_SLUB_STATS
> > disabled since it impacts performance so heavily and I'm not sure what
> > information you're looking for with regards to those stats.
>
> NO, when you collect data, please close SLUB_STAT in kernel config. _to_head
> statistics collection patch just tell you, I collected the statistics not include
> add_partial in early_kmem_cache_node_alloc(). And other places of
> add_partial were covered. Of course, the kernel with statistic can not be used
> to measure performance.
David, Did you have time to give a try?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/