Messages in this thread | | | From | "Shi, Alex" <> | Date | Tue, 13 Dec 2011 21:01:53 +0800 | Subject | RE: [PATCH 1/3] slub: set a criteria for slub node partial adding |
| |
> > > - 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?
| |