delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/06/04:12:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 6 Jun 2003 10:12:25 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Sparse file criteria malfunction - binutils produces sparse .exe & .dll files
Message-ID: <20030606081225.GD12547@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3EDF9E8D DOT AA452A2E AT ieee DOT org>
Mime-Version: 1.0
In-Reply-To: <3EDF9E8D.AA452A2E@ieee.org>
User-Agent: Mutt/1.4.1i

On Thu, Jun 05, 2003 at 03:48:29PM -0400, Pierre A. Humblet wrote:
> Christopher Faylor wrote:
> 
> > There has been very little actual data provided here 
> 
> Here is some data, using the program from 
> http://cygwin.com/ml/cygwin/2003-06/msg00321.html
> 
> I remade the executables in an old version of inetutils.
> The numbers below show that only the larger ones are sparse
> (so the relative overhead is small) and that stripping them
> removes sparseness. 
> 
> Pierre

Hi Pierre,

I did the same here and I've added the block count which shows how much
blocks has been wasted by being a sparse file:

 188 -rwxr-xr-x    1 corinna  root       191765 Jun  6 09:55 ./ftp/ftp.exe
Sparse bit 200
 497 -rwxr-xr-x    1 corinna  root       508186 Jun  6 09:55 ./ftpd/ftpd.exe
Sparse bit 200
 748 -rwxr-xr-x    1 corinna  root       765264 Jun  6 09:55 ./inetd/inetd.exe
Sparse bit 200
  75 -rwxr-xr-x    1 corinna  root        76703 Jun  6 09:55 ./rcp/rcp.exe
Sparse bit 0
 397 -rwxr-xr-x    1 corinna  root       406162 Jun  6 09:55 ./rexecd/rexecd.exe
Sparse bit 200
  71 -rwxr-xr-x    1 corinna  root        71934 Jun  6 09:55 ./rlogin/rlogin.exe
Sparse bit 0
  93 -rwxr-xr-x    1 corinna  root        94908 Jun  6 09:55 ./rlogind/rlogind.exe
Sparse bit 200
  63 -rwxr-xr-x    1 corinna  root        63796 Jun  6 09:55 ./rsh/rsh.exe
Sparse bit 0
  72 -rwxr-xr-x    1 corinna  root        73679 Jun  6 09:55 ./rshd/rshd.exe
Sparse bit 0
  43 -rwxr-xr-x    1 corinna  root        43306 Jun  6 09:55 ./syslog/syslog.exe
Sparse bit 0
 203 -rwxr-xr-x    1 corinna  root       207452 Jun  6 09:55 ./talk/talk.exe
Sparse bit 200
  82 -rwxr-xr-x    1 corinna  root        83924 Jun  6 09:55 ./talkd/talkd.exe
Sparse bit 200
 250 -rwxr-xr-x    1 corinna  root       255853 Jun  6 09:55 ./telnet/telnet.exe
Sparse bit 200
 180 -rwxr-xr-x    1 corinna  root       183916 Jun  6 09:55 ./telnetd/telnetd.exe
Sparse bit 200
  78 -rwxr-xr-x    1 corinna  root        78942 Jun  6 09:55 ./tftp/tftp.exe
Sparse bit 0
  68 -rwxr-xr-x    1 corinna  root        69378 Jun  6 09:55 ./tftpd/tftpd.exe
Sparse bit 0
  64 -rwxr-xr-x    1 corinna  root        64758 Jun  6 09:55 ./uucpd/uucpd.exe
Sparse bit 0

So there's no waste of blocks at all.

To make people more happy I've raised the lseek hole which triggers
making a file sparse to 128K.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019