Date: Tue, 9 Apr 2013 13:21:27 -0700 From: Adrian Chadd <adrian@freebsd.org> To: =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= <trasz@freebsd.org> Cc: Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, Alfred Perlstein <bright@mu.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Amit Rawat <aamitr4@gmail.com> Subject: Re: GSOC 2013 project " Kernel Size Reduction for Embedded System " Message-ID: <CAJ-VmonjOEdDaW6Ht8JKOm3mGi6pon%2BSBw8oG2tH48zzrxGYWw@mail.gmail.com> In-Reply-To: <92799D4C-797C-4304-B299-DD1DBA49CFFC@FreeBSD.org> References: <CAOhv3dpTM9J9oiLpdw8xOAToXT_tQ3VW4Mv1F%2B8n7xhG%2BJK93w@mail.gmail.com> <alpine.BSF.2.00.1304091935490.13342@wojtek.tensor.gdynia.pl> <516452C7.7040607@mu.org> <alpine.BSF.2.00.1304091953060.13438@wojtek.tensor.gdynia.pl> <CAOjFWZ6ytuKFHYBvrNTMwK8f=_ZDnGY5-naVqscC6YWZ33P8UA@mail.gmail.com> <92799D4C-797C-4304-B299-DD1DBA49CFFC@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 April 2013 11:47, Edward Tomasz Napiera=C5=82a <trasz@freebsd.org> wro= te: > In order to optimize - in this case for size - we need a way to measure > what should we focus on, and it looks like we don't have it yet. We have a good starting point. We can look at the code/data/bss from each .o file that's included in the build. You can build a bare-bones kernel and modules, and use that to see how big things are. You can group those by subsystem to get an idea of how big each subsystem is. Whether or not it's loaded is (mostly) irrelevant - if we compile out USB but then include it as a module, the underlying size is almost the same anyway. Thanks, Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonjOEdDaW6Ht8JKOm3mGi6pon%2BSBw8oG2tH48zzrxGYWw>