[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.1.10.0806191243400.2982@xanadu.home>
Date: Thu, 19 Jun 2008 12:53:49 -0400 (EDT)
From: Nicolas Pitre <nico@....org>
To: Eric Miao <eric.y.miao@...il.com>
Cc: linux-netdev <netdev@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.arm.linux.org.uk>,
Magnus Damm <magnus.damm@...il.com>
Subject: Re: [PATCH 6/8] pxa: make lubbock to use smc91x platform data
On Thu, 19 Jun 2008, Eric Miao wrote:
>
> Signed-off-by: Eric Miao <eric.miao@...vell.com>
This (and 7/8 and 8/8) are a bit unfortunate. Maybe not as visible on
Lubbock which has a SMC91C94 which can do 10mbps only, but the others
will have poorer performances because of those patches. Did you compare
performances, let's say with netperf, before and after those patches are
applied?
I understand your goal of wanting to have a single kernel image that
dynamically can select the right bus access method for all the concerned
platforms. But I think you'll see that the runtime overhead has a
significant impact on network throughput and CPU usage.
I think that some other solution should be explored such that when only
one machine type (or machine types with the same bus config) is
configured then the compile time optimizations should remain. Something
based on the machine_is_lubbock(), machine_is_Mainstone(), and so on,
which becomes constants with the right kernel configuration.
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists