Message-ID: <3E399FAC.2050104@mif.vu.lt> Date: Thu, 30 Jan 2003 22:57:00 +0100 From: Laurynas Biveinis Organization: VU MIF User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: lt, en, en-us MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com, Eli Zaretskii Subject: Re: small solve_symlinks speedup References: <3E39923A DOT 3040907 AT mif DOT vu DOT lt> <2561-Thu30Jan2003222210+0200-eliz AT is DOT elta DOT co DOT il> In-Reply-To: <2561-Thu30Jan2003222210+0200-eliz@is.elta.co.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Jan 2003 20:53:49.0011 (UTC) FILETIME=[B0221A30:01C2C8A1] Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > Ahm, sorry, but where are the differences between these two graphs > that we are supposed to look at to answer your question? To me, they > both look almost identical. Look at how many functions are called from __solve_symlinks. The patch cuts almost 30000 calls to __internal_readlink, which does disk I/O. > I do support any simple changes that minimize the number of files we > need to open and read. Does that change look simple enough? >>On a unrelated note, why does OpenBSD with Pentium MMX 200 Mhz and >>16 MB RAM run configure scripts *much* faster than DJGPP on my desktop >>Pentium II 375 Mhz 192 RAM with W2K ? > > > Probably because pipes and `command` substitution goes through memory > instead of disk files I remember having a ramdrive back in win98 days for /dev/env/DJDIR/tmp . It helped a lot, however there was still a notable difference between linux and djgpp. Is there any way to create a ramdrive on w2k?