Re: [patch 9/11] net: dst_entry.refcount, use, lastuse to usealloc_percpu

From: David S. Miller
Date: Tue Sep 13 2005 - 18:28:38 EST


From: Ravikiran G Thirumalai <kiran@xxxxxxxxxxxx>
Date: Tue, 13 Sep 2005 16:17:17 -0700

> But even 1 Million dst cache entries would be 16+4 MB additional for
> a 4 cpu box....is that too much?

Absolutely.

Per-cpu counters are great for things like single instance
statistics et al. But once you start doing them per-object
that's out of control bloat as far as I'm concerned.
-
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/