From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9f27bbe0678fdfc X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: huge executable?? Date: 2000/05/16 Message-ID: <8frbcu$qtg$1@nnrp1.deja.com>#1/1 X-Deja-AN: 624013597 References: <391E09C3.FA04871E@mailandnews.com> <9EET4.760$pN4.423580@news.pacbell.net> <3920DA5B.2F56@club-internet.fr> <8fpu0g$a3e$1@nnrp1.deja.com> <87wvkvj71c.fsf@deneb.cygnus.argh.org> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue May 16 11:28:43 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-05-16T00:00:00+00:00 List-Id: In article <87wvkvj71c.fsf@deneb.cygnus.argh.org>, Florian Weimer 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.