disk fragmentation
Hi,
I've got a simple question about disk use under windows and unix. While windows sometimes requires a de-fragmentation of the disk, it seems as Linux (and even Unix) does not. I believe this is due to a better defragmentation alghoritm, but I'm not sure. Is there a daemon which does this transparently or what?
Thanks,
Luca
Signature · 2 lines
Luca Ferrari, [email protected]
Quoted 6 lines · Luca Ferrari
Hi,
I've got a simple question about disk use under windows and unix. While windows sometimes requires a de-fragmentation of the disk, it seems as Linux (and even Unix) does not. I believe this is due to a better defragmentation alghoritm, but I'm not sure. Is there a daemon which does this transparently or what?
No,
Unix file systems, in general, are designed to have less performance issues from fragmentation. They aren't as susceptible inherently to fragmentation problems. As a result, there aren't any defrag tools around that I know of.
You can always build your own. A backup to tape will sequence all the files contiguously on tape/disk, and a subsequent restore will put them back that way.
If you bother, do some benchmarks for a particular file i/o before and after and I doubt you'll see much difference, unless your disk is very, very nearly full.
-chuck
Yes, I believe that if the partitions have no more than 70% of their capacity utilized there wont be any performance issues.
Please correct me if I am wrong because I havent done any benchmarks to verify this.
Regards,
Ahsan Ali
----- Original Message -----
From: "Chuck Campbell" <[email protected]>
To: "Luca Ferrari" <[email protected]>
Cc: <[email protected]>
Sent: Monday, April 26, 2004 9:08 PM
Subject: Re: disk fragmentation
Quoted 4 lines · Luca Ferrari
Quoted 3 lines
Hi,
I've got a simple question about disk use under windows and unix. While windows sometimes requires a de-fragmentation of the disk, it seems as
Linux
Quoted 1 line
Quoted 1 line
(and even Unix) does not. I believe this is due to a better
defragmentation
Quoted 1 line
Quoted 1 line
alghoritm, but I'm not sure. Is there a daemon which does this
transparently
Quoted 4 lines
Quoted 1 line
or what?
No,
Unix file systems, in general, are designed to have less performance
issues
Quoted 1 line
from fragmentation. They aren't as susceptible inherently to
fragmentation
Quoted 1 line
problems. As a result, there aren't any defrag tools around that I know
of.
Quoted 2 lines
You can always build your own. A backup to tape will sequence all the
files
Quoted 4 lines
contiguously on tape/disk, and a subsequent restore will put them back that way.
If you bother, do some benchmarks for a particular file i/o before and
after
Quoted 1 line
and I doubt you'll see much difference, unless your disk is very, very
nearly
Quoted 8 lines
full.
(quoted diff) +0
-2-chuck -To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
So does this mean if the partition gets more than 70% full, I will get performance hit?
Thanks.
Chen
Quoted 59 lines · Ahsan Ali
Yes, I believe that if the partitions have no more than 70% of their capacity utilized there wont be any performance issues.
Please correct me if I am wrong because I havent done any benchmarks to verify this.
Regards,
Ahsan Ali
----- Original Message -----
From: "Chuck Campbell" <[email protected]>
To: "Luca Ferrari" <[email protected]>
Cc: <[email protected]>
Sent: Monday, April 26, 2004 9:08 PM
Subject: Re: disk fragmentationQuoted 4 lines · Luca Ferrari
Quoted 3 lines
Hi,
I've got a simple question about disk use under windows and unix. While windows sometimes requires a de-fragmentation of the disk, it seems asLinux
Quoted 1 line
Quoted 1 line
(and even Unix) does not. I believe this is due to a better
defragmentation
Quoted 1 line
Quoted 1 line
alghoritm, but I'm not sure. Is there a daemon which does this
transparently
Quoted 4 lines
Quoted 1 line
or what?
No,
Unix file systems, in general, are designed to have less performanceissues
Quoted 1 line
from fragmentation. They aren't as susceptible inherently to
fragmentation
Quoted 1 line
problems. As a result, there aren't any defrag tools around that I know
of.
Quoted 2 lines
You can always build your own. A backup to tape will sequence all the
files
Quoted 4 lines
contiguously on tape/disk, and a subsequent restore will put them back that way.
If you bother, do some benchmarks for a particular file i/o before and
after
Quoted 1 line
and I doubt you'll see much difference, unless your disk is very, very
nearly
Quoted 8 lines
full.
(quoted diff) +0
-2-chuck -To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Ahsan Ali
Quoted 10 lines
Yes, I believe that if the partitions have no more than 70% of their capacity utilized there wont be any performance issues.
Please correct me if I am wrong because I havent done any benchmarks to verify this.
Regards,
Ahsan Ali
Quoted 2 lines · Yu Chen
So does this mean if the partition gets more than 70% full, I will get performance hit?
I re-ordered your question, and snipped the rest. Top posting makes it nearly impossible to follow, respond sanely to a thread of any length.
In line posting is chronological, in the natural reading order, top to bottom.
In answer to your question, my personal experience shows that I often get above 90% disk capacity without noticing any speed issues, but it is very file size and work load dependent. YMMV.
-chuck
Quoted 4 lines
I re-ordered your question, and snipped the rest. Top posting makes it nearly impossible to follow, respond sanely to a thread of any length.
Chunk, thankds for pointing that out, and sorry about my previous post, it's my misunderstanding. I thought "top posting" referring to put old emails on top of my reply due to my not so good English. Will follow the rule now.
Chen
Signature · 13 lines
=========================================== Yu Chen Howard Hughes Medical Institute Chemistry Building, Rm 182 University of Maryland at Baltimore County 1000 Hilltop Circle Baltimore, MD 21250 phone: (410)455-6347 (primary) (410)455-2718 (secondary) fax: (410)455-1174 email: [email protected] ===========================================