Thread (123 messages) flat view 123 messages, 21 authors, 2014-06-23

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

From: josh@joshtriplett.org
Date: 2014-05-06 16:41:14
Also in: lkml

On Tue, May 06, 2014 at 11:59:41AM -0400, David Miller wrote:
From: josh@joshtriplett.org
Date: Tue, 6 May 2014 08:57:03 -0700
quoted
On Mon, May 05, 2014 at 11:23:27PM -0400, David Miller wrote:
quoted
From: Andi Kleen <redacted>
Date: Tue, 6 May 2014 05:21:14 +0200
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help