From owner-freebsd-questions Fri Jan 22 03:09:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA26082 for freebsd-questions-outgoing; Fri, 22 Jan 1999 03:09:08 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from aragorn.winthesis.nl (mail.winthesis.nl [194.229.254.146]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA26076 for ; Fri, 22 Jan 1999 03:09:06 -0800 (PST) (envelope-from R.Huiser@Winthesis.com) Received: by ARAGORN with Internet Mail Service (5.5.2232.9) id ; Fri, 22 Jan 1999 12:11:04 +0100 Message-ID: From: Robin Huiser To: "'Konrad Heuer'" , Robin Huiser Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Disk fragmentation and FreeBSD Date: Fri, 22 Jan 1999 12:11:00 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2232.9) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id DAA26077 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks! I already knew a lot of the information you gave me, but it is nice to hear the same answer from someone else. (I'am trying to convince al lot of people to take a look to another OS than MS Windowz (Is there another they ask?)). I many ways I think FreeBSD is superior to (any) other OS (specially NT). Is there more (technical) information to find out about the Berkeley FFS? Greets and thanks (again)! Robin Huiser -----Original Message----- From: Konrad Heuer [mailto:kheuer@gwdu60.gwdg.de] Sent: Friday, January 22, 1999 11:46 AM To: Robin Huiser Cc: 'freebsd-questions@freebsd.org' Subject: Re: Disk fragmentation and FreeBSD On Fri, 22 Jan 1999, Robin Huiser wrote: > I am a using Microsoft NT Server/workstation (please read further!! :-) ) > and I was wondering why MS NTFS suffers of extreme fragmentation while my > FreeBSD 2.2.6 server (which has the same amount of disk/file changes as the > NT Server) has a fragmentation level of 0.6 %. (NTFS: 100 % according to > Diskkeeper). > > What makes the difference, and... are there even any defrag tools for > FreeBSD. (I don't need them, just curious!). I don't know many details about NTFS; I will limit myself to FreeBSD and FAT: FreeBSD uses the Berkeley Fast Filesystem (FFS). The usage of the term `fragmentation' concerning FFS is very different from what is expected by someone who is accustomed to the DOS/Windows FAT filesystem. Fragmentation in the FAT system means the arbitrary spreading of data blocks over the disk after a long time of operation. The result is limited performance. You surely know about that. The FFS doens't significantly suffer from that kind of fragmentation as long as there enough free space (about 10% of total space) in the file system since the block allocation algorithms are excellent. In the FFS, file data may be stored not only in total disk blocks (usually 8K), but also in fragments of a block (usually 1K). To be precise, the last data block may be allocated imcomplete (one or more fragments). This is to prevent wasting of disk space by small files. For example, 8 files each less than 1K are stored altogether in one disk block. Thus, the rate of fragmentation of a FFS has to do with the ratio of allocation of fragements and blocks. Regards // // Konrad Heuer ____ ___ _______ // Gesellschaft für wissenschaftliche / __/______ ___ / _ )/ __/ _ \ // Datenverarbeitung mbH GÖttingen / _// __/ -_) -_) _ |\ \/ // / // Am Faßberg, D-37077 GÖttingen /_/ /_/ \__/\__/____/___/____/ // Deutschland (Germany) ----- The Power to Serve ----- // http://www.freebsd.org // kheuer@gwdu60.gwdg.de // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message