This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Time and motion studies of gcc and egcs and LCC
- To: marcus at bighorn dot dr dot lucent dot com, gnu-win32 at cygnus dot com
- Subject: Re: Time and motion studies of gcc and egcs and LCC
- From: Samuel James Liddicott <sam at campbellsci dot co dot uk>
- Date: Tue, 3 Feb 1998 16:26:21 -0000
- MMDF-Warning: Parse error in original version of preceding line at post.mail.demon.net
-----Original Message-----
From: marcus@bighorn.dr.lucent.com <marcus@bighorn.dr.lucent.com>
To: gnu-win32@cygnus.com <gnu-win32@cygnus.com>
Date: 03 February 1998 04:02
Subject: Re: Time and motion studies of gcc and egcs and LCC
>I don't think that the overhead of getting into a DLL is all that great, so
>I think that the performance hit is somewhere else, like inside cygwin.dll
>and NT itself. The cost to enter a DLL is an additional jump instruction
>(indirect through the linkage pointer). To return is no cost. Granted,
this
>does bring an additional page into the working set (or two, actually,
because
>the linkage pointer is probably on a different page), but if the calls are
>frequent, it should not be flushed frequently, so the page fault cost is
>not very great either.
I read that in win95 the pages are flushed in order of first-in-first-out,
and if a flushed page is a commonly used page, it will just be first-in
again a bit quicker, and all this to save on the overheads of working out
which pages are least used.
I was shocked when I read it too, but imagine the overheads of doing page
usage sorting every time you need to load a new page? MS seemed to think
little was gained.
Sam Liddicott | Nothing I say is to be attributed as |
Campbell Scientific Ltd. | a company statement or representation. |
Campbell Park, 80 Hathern Road, *----------------------------------------+
Shepshed, Leic. United Kingdom. LE12 9AL Phone: +44 (0) 1509 601141
Email: sam@campbellsci.co.uk Fax: +44 (0) 1509 601091
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".