From: Tomasz Chmielewski <mangoo@wpkg.org>
To: xfs@oss.sgi.com
Subject: is xfs good if I have millions of files and thousands of hardlinks?
Date: Tue, 19 Feb 2008 14:53:57 +0100 [thread overview]
Message-ID: <47BADF75.2070004@wpkg.org> (raw)
I have a ext3 filesystem with almost 200 million files (1.2 TB fs, ~65%
full); most of the files are hardlinked multiple times, some of them are
hardlinked thousands of times.
I described my problem yesterday on linux-fsdev list:
http://marc.info/?t=120333985100003
In general, because new files and hardlinks are being added all the time
and the old ones are being removed, this leads to a very, very poor
performance.
When I want to remove a lot of directories/files (which will be
hardlinks, mostly), I see disk write speed is down to
50 kB/s - 200 kB/s (fifty - two hundred kilobytes/s) - this is the
"bandwidth" used during the deletion.
Also, the filesystem is very fragmented ("dd if=/dev/zero of=some_file
bs=64k" writes only about 1 MB/s).
Will xfs handle a large number of files, including lots of hardlinks,
any better than ext3?
--
Tomasz Chmielewski
http://wpkg.org
next reply other threads:[~2008-02-19 13:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 13:53 Tomasz Chmielewski [this message]
2008-02-19 21:09 ` is xfs good if I have millions of files and thousands of hardlinks? Peter Grandi
2008-02-19 22:30 ` Mark Goodwin
2008-02-19 22:43 ` Tomasz Chmielewski
2008-02-20 9:56 ` Tomasz Chmielewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47BADF75.2070004@wpkg.org \
--to=mangoo@wpkg.org \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox