public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* is xfs good if I have millions of files and thousands of hardlinks?
@ 2008-02-19 13:53 Tomasz Chmielewski
  2008-02-19 21:09 ` Peter Grandi
  2008-02-19 22:30 ` Mark Goodwin
  0 siblings, 2 replies; 5+ messages in thread
From: Tomasz Chmielewski @ 2008-02-19 13:53 UTC (permalink / raw)
  To: xfs

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

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

end of thread, other threads:[~2008-02-20  9:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-19 13:53 is xfs good if I have millions of files and thousands of hardlinks? Tomasz Chmielewski
2008-02-19 21:09 ` Peter Grandi
2008-02-19 22:30 ` Mark Goodwin
2008-02-19 22:43   ` Tomasz Chmielewski
2008-02-20  9:56   ` Tomasz Chmielewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox