All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Bird <tim.bird@am.sony.com>
To: Darren Hart <dvhart@linux.intel.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: RFC: User configurable recipe features
Date: Wed, 12 Oct 2011 12:13:03 -0700	[thread overview]
Message-ID: <4E95E6BF.6010802@am.sony.com> (raw)
In-Reply-To: <4E95B87E.6050300@linux.intel.com>

On 10/12/2011 08:55 AM, Darren Hart wrote:
> meta-tiny is my experimental layer where I'm looking at what we can
> build with our existing sources and infrastructure. I've found that we
> can cut the image size to about 10% of core-image-minimal without
> changes to source code, but dropping a lot of functionality. We can get
> to something like 20% while still maintaining ipv4 networking.

This sounds cool.

> This "recipe features" thread stems from this work. Before I can
> integrate something like this into Yocto, it needs a more suitable user
> exposed configuration mechanism.
> 
> I'm working from a public git repository, but it isn't in sync with my
> local development branch as things are changing by the minute still. I
> will be pushing this to a Yocto hosted git repository in time for ELCE,
> but it will still be development/experimental. If you are interested in
> seeing what is there now, you can have a look to get an idea of what I'm
> doing. Please note this tree WILL rebase, it WILL fail to build, it WILL
> destroy your tmp dir, your sstate, and waste your time as you try and
> pick through the various options to get something that builds and boots
> ;-) Also, this repo will disappear in the next few days, but if you just
> want to see it, it's here:
> 
> http://git.infradead.org/users/dvhart/meta-tiny.git
> 
>>
>> I'm currently doing some size-related work for Sony (including
>> some work to support 4K stacks).
> 
> I'd like to have a look - is there anything out there I can read through?
Not at the moment.  I've been meaning to send my patch
for 4K stack support for ARM to linux-ARM, but haven't had
the time.  I'll see if I can push it out this week (but it
might collide with the 3.2 merge window, and I wouldn't
expect it to go straight in without it dwelling in someone's
-next tree for a bit.)

In our cameras, this saves about 300K of kernel memory.

I have no problem sending that to you if you'd like.  Just let
me know.  If mainline doesn't take it straight-away for some reason,
I'll probably hand it off to the linux-tiny project, which is back
in full swing.

> Post ELCE, I'd like to look at more source level changes we can make. In
> particular I'd like to see the >200k bzImage increase for ipv4 come
> down. In addition to that, I'm hoping to take a closer look at dynamic
> memory usage in the Linux kernel for small systems.

I have some patches for monitoring slab allocations that are helpful
for this (also something I should have already mainlined, but didn't
get to... ;-(

 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation
Senior Staff Engineer, Sony Network Entertainment
=============================



  parent reply	other threads:[~2011-10-12 19:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 18:41 RFC: User configurable recipe features Darren Hart
2011-10-11 15:53 ` McClintock Matthew-B29882
2011-10-11 16:06   ` Darren Hart
2011-10-11 22:15 ` Richard Purdie
2011-10-11 23:51   ` Khem Raj
2011-10-12  0:18     ` Philip Balister
2011-10-12 15:41       ` Darren Hart
2011-10-12 15:47         ` Koen Kooi
2011-10-12 15:52         ` Paul Eggleton
2011-10-12 16:49           ` Darren Hart
2011-10-12 15:40   ` Darren Hart
2011-10-11 23:49 ` Tim Bird
2011-10-12 15:55   ` Darren Hart
2011-10-12 18:44     ` Khem Raj
2011-10-12 19:30       ` Koen Kooi
2011-10-12 19:32         ` Khem Raj
2011-10-12 20:15       ` Darren Hart
2011-10-12 19:13     ` Tim Bird [this message]
2011-10-12 16:59   ` Darren Hart
2011-10-12 17:19     ` Tim Bird
2011-10-12 19:22     ` William Mills
2011-10-13  8:30     ` Jack Mitchell
2011-10-13 18:33       ` William Mills
2011-10-13 20:50         ` Khem Raj

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=4E95E6BF.6010802@am.sony.com \
    --to=tim.bird@am.sony.com \
    --cc=dvhart@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.