From: Andi Kleen <andi@firstfloor.org>
To: Eric Sandeen <sandeen@sandeen.net>
Cc: "Hendrik ." <chasake@yahoo.com>, xfs@oss.sgi.com
Subject: Re: Poor VMWare disk performance on XFS partition
Date: 24 Mar 2008 05:02:04 +0100 [thread overview]
Message-ID: <87prtk7osj.fsf@basil.nowhere.org> (raw)
In-Reply-To: <47E6C09E.5030601@sandeen.net>
Eric Sandeen <sandeen@sandeen.net> writes:
>
> What does xfs_bmap and/or filefrag say, is this file indeed very
> fragmented?
> And is it less so on ext3? If the file is persistent then
> preallocating it would probably help.
Preallocating would prevent one of the main features of
a sparse VM images: starting small and only growing as the
virtual machine needs more storage without having to
resize the virtual partitions.
I remember XFS had a mmap problem a long time ago (in 2.4) which
sounded similar (iirc it trickered with samba), but I thought
it was long fixed. The problem back then was that page
flushing on mmaps didn't get merged due to some unfortunate VM
interactions and then thousands of extents got created on flushing
a mmap. A lot of extents seems to make XFS slow.
-Andi
next prev parent reply other threads:[~2008-03-24 4:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-23 14:50 Poor VMWare disk performance on XFS partition Hendrik .
2008-03-23 20:42 ` Eric Sandeen
2008-03-24 4:02 ` Andi Kleen [this message]
2008-03-24 0:41 ` Jan Derfinak
2008-03-24 14:00 ` Russell Cattelan
2008-03-24 15:24 ` Peter Grandi
2008-03-24 18:56 ` Jan Derfinak
2008-03-24 19:12 ` Josef 'Jeff' Sipek
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=87prtk7osj.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=chasake@yahoo.com \
--cc=sandeen@sandeen.net \
--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