delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/07/12:11:16

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
Message-ID: <004901c20e3e$27334d70$cd8a9dc0@uk.aonix.com>
From: "Cliff Hones" <cliff AT aonix DOT co DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: setup.exe and disk fragmentation
Date: Fri, 7 Jun 2002 17:12:34 +0100
Organization: Aonix Europe Ltd.
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Having discovered the disk containing my Cygwin installation
was heavily fragmented, I tried the following experiment:

. Create a new NTFS using format - size 2.7Gb
. Run setup to install almost everything, using snapshot
  version 2.249.2.1, from a local dir on another partition.
. Examine the resulting disk layout (I used Diskeeper and O&O
  Defrag).

I was surprised to find that although the final installation
used only 334Mb, the files were scattered over the whole
partition, and so were the directories - it seems setup makes
heavy use of temporary files.  There were even a few files
which had already been fragmented.  Having the directories
scattered so much over the partition makes the job of a defragmenter
extremely difficult, and makes future bad fragmentation of the disk
highly likely.  On NT systems directories can only be consolidated
by 3rd party tools such as ExecSoft's Diskeeper, running at boot time.

It is unfortunate that NTFS behaves in this way, and not, of course,
a bug in setup, but it may be worth bearing in mind when further
developing the utility.  Minimising file copying, and deleting
temporary files as soon as possible would help.

BTW - this version of setup ran (on NT4SP6a) with no problems.  The
only oddity was the corrupted text on the "View" button.

-- Cliff





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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