X-Spam-Check-By: sourceware.org X-BigFish: V From: Vladimir Dergachev To: cygwin AT cygwin DOT com Subject: Re: NTFS fragmentation Date: Thu, 3 Aug 2006 13:55:19 -0400 User-Agent: KMail/1.9.3 References: <004401c6b688$a2ffd300$020aa8c0 AT DFW5RB41> <200608021946 DOT 07978 DOT vdergachev AT rcgardis DOT com> <44D1C372 DOT 4000509 AT t-online DOT de> In-Reply-To: <44D1C372.4000509@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608031355.19482.vdergachev@rcgardis.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thursday 03 August 2006 5:35 am, Christian Franke wrote: > Vladimir Dergachev wrote: > > ... > > Also, I tried the following experiment - found a 17 MB file in > > ibiblio.org and downloaded it with FireFox. The file ended up fragmented > > into more than 200 pieces. Tried the same file with IE - no > > fragmentation. > > The difference is probably that IE initially creates the file with full > size and then overwrites it. This is at least the case if you copy files > with explorer, copy, xcopy or CopyFileEx(). > > FireFox, Cygwin's cp and most other programs use regular sequential > write. This may lead to fragmentation when the disk has less space. Well, what I see is that the file is completely fragmented on a 400 GB disk, which is 40% full and has been recently defragmented. By completely fragmented I mean as if each write ends up in its own separate place on disk and NTFS does not even check whether there is free space after the last written block. Honestly, FAT was more efficient - at least when written anew there was no fragmentation. best Vladimir Dergachev > > Christian -- 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/