lkml.org 
[lkml]   [1998]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: e2fs + large disk == slug?
Date
> 
>
> On Mon, 15 Jun 1998, Mark Lehrer wrote:
>
> > I am not a filesystem expert, but I would like to understand what
> > makes e2fs slow on my 4.5 gig partition; and if someone is working on
> > performance and would like some help, please holler. Some slow
> > operations, kernel 2.0.34:
> >
> > 1) removing 500 megs of files took 30 seconds.
>
> This will be just as slow on a 600M filesystem...
> If there are a lot of files, it's going to take a rather
> long time to remove them. (Just try this under Windows:)
>
> On my 120mhz HP-UX system this same operation on the same set of files
> with the same model disk drive only takes a few seconds; whereas with
> my 200MHz PPro Linux system it takes five to ten times as long...
>
> Is it possible to optimize this?

Try turning on noatime and nodiratime, for every read of the directory, it
hits the disk.

>
> > 2) fsck of course.
>
> Fsck takes extremely long because it has to cross-reference
> all the inode and directory data...
>
> Yes, this is probably unavoidable...
>
> Thanks,
> Mark
>

--
Perry Harrington Linux rules all OSes. APSoft ()
email: perry@apsoft.com Think Blue. /\

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.093 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site