All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kumlien <pomac@vapor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: code bloat [was Re: Semaphore assembly-code bug]
Date: Mon, 01 Nov 2004 15:26:43 +0100	[thread overview]
Message-ID: <1099319203.17719.76.camel@debian> (raw)

[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]

Hi, 

First, why use a .a file to specify code bloat? I don't see why you want
the object files... ie:
ar tv /usr/lib/libxml2.a
rw-rw-r-- 0/0  76336 Oct 29 04:34 2004 SAX.o
rw-rw-r-- 0/0  83156 Oct 29 04:34 2004 entities.o
rw-rw-r-- 0/0  90704 Oct 29 04:34 2004 encoding.o
rw-rw-r-- 0/0  84272 Oct 29 04:34 2004 error.o
rw-rw-r-- 0/0  90620 Oct 29 04:34 2004 parserInternals.o
...

It can gladly sit there for all i care esp since it's installed by the
-dev package.
-rw-r--r--  1 root root 4312792 Oct 29 04:34 /usr/lib/libxml2.a

But when a app wants to load it you'll load a much smaller portion which
is: 987632 bytes.

As for X, check this out:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2886 root      15   0  416m 152m 283m S  1.7 15.1 309:31.75 XFree86

And yes, that might look bad, but consider agp memory, memory on the
card etc etc, then thats the figures we'd get. (and perhaps i should
actually shut down some apps as well =))

Btw, the most annoyingly large .a file i have ever found was libc.a in a
version of mdk, it included the whole libc build directory, post build,
weighing something along the lines of 24 mb.

Oh, and, you can never get rid of X, who will want something less
flexible when they have had something like this. You'll get back to the
same complexity sooner or later. I have to say that i much prefer
freedesktop's approach.

I'm not subbed so, you know what to do.
-- 
Ian Kumlien <pomac () vapor ! com> -- http://pomac.netswarm.net

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-11-01 15:01 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01 14:26 Ian Kumlien [this message]
     [not found] <417550FB.8020404@drdos.com.suse.lists.linux.kernel>
2004-10-30  9:28 ` Semaphore assembly-code bug Denis Vlasenko
2004-10-30 17:53   ` Linus Torvalds
2004-10-30 21:00     ` Denis Vlasenko
2004-10-30 21:14       ` code bloat [was Re: Semaphore assembly-code bug] Lee Revell
2004-10-30 22:11         ` Denis Vlasenko
2004-10-30 22:25           ` Lee Revell
2004-10-31 14:06             ` Diego Calleja
2004-10-31 20:53               ` Z Smith
2004-10-31 23:35                 ` Rogério Brito
2004-11-01  1:20                   ` Z Smith
2004-11-01 14:48                 ` Diego Calleja
2004-10-30 22:27           ` Tim Hockin
2004-10-30 22:44             ` Jeff Garzik
2004-10-30 22:50               ` Tim Hockin
2004-10-31 20:15               ` Theodore Ts'o
2004-10-31 20:21                 ` Jeff Garzik
2004-10-31 21:06                 ` Jan Engelhardt
2004-11-01 11:27                 ` Alan Cox
2004-11-01 13:40                   ` Denis Vlasenko
2004-11-01 23:04                     ` Alan Cox
2004-10-30 23:13             ` Denis Vlasenko
2004-10-30 22:45               ` Alan Cox
2004-10-31  1:21                 ` Z Smith
2004-10-31  2:47                   ` Jim Nelson
2004-10-31 15:19                   ` Alan Cox
2004-10-31 20:18                     ` Z Smith
2004-11-01 11:05                       ` Alan Cox
2004-10-30 23:28               ` Tim Hockin
2004-10-31  2:04                 ` Michael Clark
2004-10-31  6:49             ` Jan Engelhardt
2004-10-31 21:09               ` Z Smith
2004-10-31 21:13                 ` Jan Engelhardt
2004-10-31 21:48                   ` Z Smith
2004-11-01 11:29                   ` Alan Cox
2004-11-01 12:36                     ` Jan Engelhardt
2004-11-01 15:17               ` Lee Revell
2004-11-01 16:56                 ` Kristian Høgsberg
2004-10-31  6:37         ` Jan Engelhardt

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=1099319203.17719.76.camel@debian \
    --to=pomac@vapor.com \
    --cc=linux-kernel@vger.kernel.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.