All of lore.kernel.org
 help / color / mirror / Atom feed
* Resier Fragmentation Effects (was compression vs performance)
@ 2004-04-08 17:00 Burnes, James
  2004-04-09  5:53 ` Hans Reiser
  0 siblings, 1 reply; 8+ messages in thread
From: Burnes, James @ 2004-04-08 17:00 UTC (permalink / raw)
  To: Stewart Smith, Tom Vier; +Cc: Scott Young, reiserfs-list

I thought nearly all filesystems designed since Berkeley FFS were nearly
immune to fragmentation problems.

After reading the following analysis at Harvard, it seems that
fragmentation is still a problem.

http://www.eecs.harvard.edu/~keith/research/tr94.html

At least with FFS it seems that fragmentation is significantly worse
with smaller files.  That makes a certain intuitive sense.

Of course the Harvard guys are claiming worst case FFS fragmentation
incurs a 30% performance hit.  It would be nice if they could fix that,
but everything is relative.  I remember badly fragmented FAT filesystems
with probably closer to 90% performance hit. 

Apparently worst case is with file systems loaded down with a lot of
small files like news and mail servers.  Since Reiser tends to be used
in situations that call for a lot of small file creation and deletion I
thought this would be pertinent.  Also Reiser is radically different
internally than FFS.

I know Hans is super busy right now so I don't expect him to comment,
but maybe one of the core people could comment about the effects in
Reiser3 and 4 if they have a spare moment.

jim burnes
security engineer
great-west, denver
 

> -----Original Message-----
> From: Stewart Smith [mailto:stewart@flamingspork.com]
> Sent: Thursday, April 08, 2004 5:48 AM
> To: Tom Vier
> Cc: Scott Young; reiserfs-list@namesys.com
> Subject: Re: Can compression at filesystem level improveoverall
> performance?
> 
> On Tue, 2004-03-30 at 14:53, Tom Vier wrote:
> > an online defragger is an interesting idea. i think i remember the
topic
> > coming up for ext2 along time ago. iirc, reiserfs can lose
performance
> over
> > time (usage, actually), too.
> 
> XFS has this, xfs_fsr (part of xfsdump package on debian, might be
> called that on other distros too...)
> 
> Although... it's pretty hard to get XFS to fragment in the first
place,
> which is the best way to do things - but it's a hard way :)
> 
> --
> Stewart Smith (stewart@flamingspork.com)
> http://www.flamingspork.com/


^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: Resier Fragmentation Effects (was compression vs performance)
@ 2004-04-08 17:07 Burnes, James
  2004-04-08 17:24 ` Dieter Nützel
  0 siblings, 1 reply; 8+ messages in thread
From: Burnes, James @ 2004-04-08 17:07 UTC (permalink / raw)
  To: Burnes, James, Stewart Smith, Tom Vier; +Cc: Scott Young, reiserfs-list

Little update.  That research is 10 years old, so I don't know how valid
it is anymore.

jim burnes
security engineer
great-west, denver
 

> -----Original Message-----
> From: Burnes, James
> Sent: Thursday, April 08, 2004 11:00 AM
> To: Stewart Smith; Tom Vier
> Cc: Scott Young; reiserfs-list@namesys.com
> Subject: Resier Fragmentation Effects (was compression vs performance)
> 
> I thought nearly all filesystems designed since Berkeley FFS were
nearly
> immune to fragmentation problems.
> 
> After reading the following analysis at Harvard, it seems that
> fragmentation is still a problem.
> 
> http://www.eecs.harvard.edu/~keith/research/tr94.html
> 
> At least with FFS it seems that fragmentation is significantly worse
> with smaller files.  That makes a certain intuitive sense.
> 
> Of course the Harvard guys are claiming worst case FFS fragmentation
> incurs a 30% performance hit.  It would be nice if they could fix
that,
> but everything is relative.  I remember badly fragmented FAT
filesystems
> with probably closer to 90% performance hit.
> 
> Apparently worst case is with file systems loaded down with a lot of
> small files like news and mail servers.  Since Reiser tends to be used
> in situations that call for a lot of small file creation and deletion
I
> thought this would be pertinent.  Also Reiser is radically different
> internally than FFS.
> 
> I know Hans is super busy right now so I don't expect him to comment,
> but maybe one of the core people could comment about the effects in
> Reiser3 and 4 if they have a spare moment.
> 
> jim burnes
> security engineer
> great-west, denver
> 
> 
> > -----Original Message-----
> > From: Stewart Smith [mailto:stewart@flamingspork.com]
> > Sent: Thursday, April 08, 2004 5:48 AM
> > To: Tom Vier
> > Cc: Scott Young; reiserfs-list@namesys.com
> > Subject: Re: Can compression at filesystem level improveoverall
> > performance?
> >
> > On Tue, 2004-03-30 at 14:53, Tom Vier wrote:
> > > an online defragger is an interesting idea. i think i remember the
> topic
> > > coming up for ext2 along time ago. iirc, reiserfs can lose
> performance
> > over
> > > time (usage, actually), too.
> >
> > XFS has this, xfs_fsr (part of xfsdump package on debian, might be
> > called that on other distros too...)
> >
> > Although... it's pretty hard to get XFS to fragment in the first
> place,
> > which is the best way to do things - but it's a hard way :)
> >
> > --
> > Stewart Smith (stewart@flamingspork.com)
> > http://www.flamingspork.com/


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-04-11 15:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-08 17:00 Resier Fragmentation Effects (was compression vs performance) Burnes, James
2004-04-09  5:53 ` Hans Reiser
2004-04-09 18:13   ` Chris Mason
2004-04-10  6:09     ` Hans Reiser
2004-04-10 20:02       ` Chris Mason
2004-04-11 15:40         ` Hans Reiser
  -- strict thread matches above, loose matches on Subject: below --
2004-04-08 17:07 Burnes, James
2004-04-08 17:24 ` Dieter Nützel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.