Re: [PATCH 08/24] net, diet: Make TCP metrics optional

From: josh
Date: Tue May 06 2014 - 12:41:17 EST


On Tue, May 06, 2014 at 11:59:41AM -0400, David Miller wrote:
> From: josh@xxxxxxxxxxxxxxxx
> Date: Tue, 6 May 2014 08:57:03 -0700
>
> > On Mon, May 05, 2014 at 11:23:27PM -0400, David Miller wrote:
> >> From: Andi Kleen <andi@xxxxxxxxxxxxxx>
> >> Date: Tue, 6 May 2014 05:21:14 +0200
> >>
> >> > What parts would you remove to get the foot print down for a 2MB
> >> > single purpose machine?
> >>
> >> I wouldn't use Linux, end of story.
> >>
> >> Maybe two decades ago, but not now, those days are over.
> >
> > That's a self-fulfilling prophecy:
>
> Making 2MB RAM machines today makes no sense at all.
>
> The lowest end dirt cheap smartphone, something which fits on
> someone's pocket, has gigabytes of ram.

The lowest-end smartphone isn't anywhere close to "dirt cheap", and
hardly counts as "embedded" at all anymore. Smartphones cost $100+;
we're talking about systems in the low tens of dollars or less. These
systems will have no graphics, no peripherals, and only one or two
specific functions. The entirety of their functionality will likely
consist of a single userspace program; they might not even have a PID 2.
*That's* the kind of "embedded" we're talking about, not the
supercomputers we carry around in our pockets.

Every KB of RAM costs real money and SoC die area (for eDRAM/eSRAM).
Look at how much cache low-end processors have, and imagine running
entirely out of *that*. Let's not surrender that entire class of
devices to VxWorks, FreeRTOS, and other painfully non-Linux systems,
when we already know it's possible to run Linux on them successfully.

- Josh Triplett
--
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/