public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: MFLD <mfld.fr@gmail.com>
Cc: ELKS <linux-8086@vger.kernel.org>
Subject: Re: Cleaning up elkscmd and adding help text - Questions
Date: Fri, 27 Mar 2015 18:41:24 +0000	[thread overview]
Message-ID: <20150327184124.560d1461@www.etchedpixels.co.uk> (raw)
In-Reply-To: <55159F4A.1000808@gmail.com>

> Yes, it is still too large for a 1 MB address space, but don't you think 
> it would be worth giving a try to reduce the uclibc and Busybox 
> footprint, rather than doing the same job as the our friends ?

Massively dieting a large C library (or indeed most large apps) is
actually usually harder than just doing the job properly in the first
place. There are trade-offs you make that differ when you've got 64K of
space to play with and there are whole areas of implementation that you
do differently.

The same with kernels. One of the big problems ELKS has even after all
this time is stuff like some of the waitqueue and disk logic inherited
from Linux 1.x era. It's way way less compact than the implementation
that would have been done from scratch because the Linux model was
designed to scale to hundreds of processes and assumes that kernel data
space is cheap. Neither is true. As a result of that design ELKS can't
swap out the kernel stacks of idle processes either to other memory or to
disk, which leaves it permanently starved of buffer space.

Alan

  parent reply	other threads:[~2015-03-27 18:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27  8:19 Cleaning up elkscmd and adding help text - Questions Nils Stec
2015-03-27 13:19 ` Jody Bruchon
2015-03-27 14:10   ` Alan Cox
2015-03-27 16:17     ` Jody Bruchon
2015-03-27 18:19       ` MFLD
2015-03-27 18:26         ` Jody Bruchon
2015-03-27 18:52           ` MFLD
2015-03-27 22:19             ` Alan Cox
2015-03-28 15:35               ` LM
2015-03-27 18:41         ` Alan Cox [this message]
2015-03-27 17:59   ` Nils Stec
2015-03-27 18:31     ` Alan Cox
2015-03-27 13:54 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150327184124.560d1461@www.etchedpixels.co.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-8086@vger.kernel.org \
    --cc=mfld.fr@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox