Re: [patch 3/4] slab reclaim balancing

William Lee Irwin III (wli@holomorphy.com)
Thu, 26 Sep 2002 07:20:54 -0700


At some point in the past, Ed Tomlinson wrote:
>> Slab caches no longer hold onto completely empty pages. Instead, pages
>> are freed as soon as they have zero objects. This is possibly a
>> performance hit for slabs which have constructors, but it's doubtful.

On Thu, Sep 26, 2002 at 04:13:28PM +0200, Manfred Spraul wrote:
> It could be a performance hit for slab with just one object - e.g the
> page sized names cache, used in every syscall that has a path name as a
> parameter.
> Ed, have you benchmarked that there is no noticable slowdown?
> e.g. test the time needed for stat("."). on UP, otherwise the SMP arrays
> would perform the caching.

This might need testing on large-memory 64-bit boxen for that, since
ZONE_NORMAL pressure outweighs many other considerations on my boxen.

Cheers,
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/