decrease L2 cache size used by Linux?

From: Guerreiro da Luz
Date: Fri Mar 16 2007 - 12:13:29 EST


Am benchmarking dumb matrix multiplication in trying to perceive
performance drop in case when matrix cannot fit in L2 cache. However,
on my machine L2 cache is large - 2MB, so 512x512 matrix of double
numbers is needed to fill the cache, and in that case multiplication
is taking rather long time. So I'm wondering is there a way to
control (decrease) L2 cache size used by Linux? Apologies if question
inappropriate for the list.

Thanks.
-
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/