Re: [PATCH 29/49] mm: numa: Add pte updates, hinting and migration stats

2013-01-07 Thread Mel Gorman
On Fri, Jan 04, 2013 at 05:42:24AM -0600, Simon Jeons wrote: > On Fri, 2012-12-07 at 10:23 +, Mel Gorman wrote: > > It is tricky to quantify the basic cost of automatic NUMA placement in a > > meaningful manner. This patch adds some vmstats that can be used as part > > of a basic costing model.

Re: [PATCH 29/49] mm: numa: Add pte updates, hinting and migration stats

2013-01-04 Thread Simon Jeons
On Fri, 2012-12-07 at 10:23 +, Mel Gorman wrote: > It is tricky to quantify the basic cost of automatic NUMA placement in a > meaningful manner. This patch adds some vmstats that can be used as part > of a basic costing model. Hi Gorman, > > u= basic unit = sizeof(void *) > Ca = cost

[PATCH 29/49] mm: numa: Add pte updates, hinting and migration stats

2012-12-07 Thread Mel Gorman
It is tricky to quantify the basic cost of automatic NUMA placement in a meaningful manner. This patch adds some vmstats that can be used as part of a basic costing model. u= basic unit = sizeof(void *) Ca = cost of struct page access = sizeof(struct page) / u Cpte = Cost PTE access = Ca Cup