comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: huge executable??
Date: 2000/05/16
Date: 2000-05-16T00:00:00+00:00	[thread overview]
Message-ID: <8frbcu$qtg$1@nnrp1.deja.com> (raw)
In-Reply-To: 87wvkvj71c.fsf@deneb.cygnus.argh.org

In article <87wvkvj71c.fsf@deneb.cygnus.argh.org>,
  Florian Weimer <fw-usenet@deneb.cygnus.argh.org> wrote:

> If you run multiple Ada programs (or multiple instances of the
> same program) in parallel, shared libraries can decrease cache
> pressure

Again, this is a theoretical point that probably does not
register in practice. Why? Three reasons:

1. It is only relevant at task switch times, which happen with
very course granularity compared to cache usage and access.

2. In modern operating systems (those with 20,000,000 lines of
code doing something or other :-) the task switching code itself
will often swamp the cache anyway.

3. Task switching is so slow in these same large operating
systems that it gets long with respect to the time to completely
reload the cache.

The only time you might notice this effect is if you have a
really HUGE secondary cache, and lots of little Ada programs
switching furiously, all using the runtime library furiously.

I would be *VERY* surprised if you can even rig up a test that
would show this effect in practice.

Yes, in a light real time system, inter-task cache effects can
be significant, but I just don't think you will find this is
the case in most big operating systems.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~2000-05-16  0:00 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-13  0:00 huge executable?? David Dousette
2000-05-14  0:00 ` Gautier
2000-05-14  0:00   ` David Dousette
2000-05-14  0:00     ` Gautier
2000-05-14  0:00 ` tmoran
2000-05-15  0:00   ` David Starner
2000-05-19  0:00     ` Lutz Donnerhacke
2000-05-15  0:00   ` DELCOURT J�r�me
2000-05-15  0:00     ` Robert Dewar
2000-05-15  0:00       ` Lutz Donnerhacke
2000-05-15  0:00         ` Robert Dewar
2000-05-16  0:00           ` Lutz Donnerhacke
2000-05-16  0:00             ` tmoran
2000-05-16  0:00             ` Robert Dewar
2000-05-16  0:00               ` Lutz Donnerhacke
2000-05-16  0:00         ` Geoff Bull
2000-05-16  0:00           ` huge executable?? - worry no more Tom Hargraves
2000-05-16  0:00             ` Martin Dowie
2000-05-16  0:00             ` Robert Dewar
2000-05-19  0:00               ` Richard D Riehle
2000-05-19  0:00                 ` Ken Garlington
2000-05-16  0:00             ` Marin D. Condic
2000-05-16  0:00             ` Gautier
2000-05-16  0:00         ` huge executable?? tmoran
2000-05-16  0:00           ` Lutz Donnerhacke
2000-05-18  0:00         ` (null)
2000-05-16  0:00       ` Robert A Duff
2000-05-16  0:00         ` Larry Kilgallen
2000-05-16  0:00           ` Gautier
2000-05-16  0:00             ` Larry Kilgallen
2000-05-17  0:00           ` Robert A Duff
2000-05-16  0:00       ` Gautier
2000-05-16  0:00         ` Robert Dewar
2000-05-16  0:00       ` Florian Weimer
2000-05-16  0:00         ` Robert Dewar [this message]
2000-05-15  0:00     ` Gisle S�lensminde
2000-05-15  0:00   ` Roger Barnett
2000-05-14  0:00 ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox