Re: [RFC][PATCH 0/3] beat kswapd with the proverbial clue-bat

From: Nick Piggin
Date: Mon Sep 06 2004 - 03:56:53 EST


David S. Miller wrote:
On Sun, 05 Sep 2004 20:09:30 +1000
Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:


Yeah I had seen a few, surprisingly few though. Sorry I'm a bit clueless
about networking - I suppose there is a good reason for the 16K MTU? My
first thought might be that a 4K one could be better on CPU cache as well
as lighter on the mm. I know the networking guys know what they're doing
though...


It's better to get as long a stride as possible for the copy
from userspace, and yes as you get larger you run into cache
issues. 16K turned out the be the break point considering those
two attributes when I did my testing.


OK. Makes sense.

Just fool around with ifconfig lo mtu XXX and TCP bandwidth tests.
See what you come up with.


Thanks, I'll give that a try. I don't nearly have access to a
representitive range of architectures, but if I see anything
interesting on what I've got, I'll ping you.
-
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/