[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45A0B63E.2020803@zytor.com>
Date: Sun, 07 Jan 2007 00:58:38 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Willy Tarreau <w@....eu>
CC: Linus Torvalds <torvalds@...l.org>, git@...r.kernel.org,
nigel@...el.suspend2.net, "J.H." <warthog9@...nel.org>,
Randy Dunlap <randy.dunlap@...cle.com>,
Andrew Morton <akpm@...l.org>, Pavel Machek <pavel@....cz>,
kernel list <linux-kernel@...r.kernel.org>,
webmaster@...nel.org
Subject: Re: How git affects kernel.org performance
Willy Tarreau wrote:
>
> At work, we had the same problem on a file server with ext3. We use rsync
> to make backups to a local IDE disk, and we noticed that getdents() took
> about the same time as Peter reports (0.2 to 2 seconds), especially in
> maildir directories. We tried many things to fix it with no result,
> including enabling dirindexes. Finally, we made a full backup, and switched
> over to XFS and the problem totally disappeared. So it seems that the
> filesystem matters a lot here when there are lots of entries in a
> directory, and that ext3 is not suitable for usages with thousands
> of entries in directories with millions of files on disk. I'm not
> certain it would be that easy to try other filesystems on kernel.org
> though :-/
>
Changing filesystems would mean about a week of downtime for a server.
It's painful, but it's doable; however, if we get a traffic spike during
that time it'll hurt like hell.
However, if there is credible reasons to believe XFS will help, I'd be
inclined to try it out.
-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists