From: Eric Sandeen <sandeen@sandeen.net>
To: Emmanuel Florac <eflorac@intellique.com>
Cc: Peter Grandi <pg_xf2@xf2.for.sabi.co.UK>, Linux XFS <xfs@oss.sgi.com>
Subject: Re: xfs_fsr question for improvement
Date: Sun, 25 Apr 2010 16:04:34 -0500 [thread overview]
Message-ID: <4BD4AE62.9080600@sandeen.net> (raw)
In-Reply-To: <20100425150209.5167fe96@galadriel.home>
Emmanuel Florac wrote:
> Le Sun, 25 Apr 2010 12:17:24 +0100 vous écriviez:
>
>>> my test VMware server (performance dropped down to abysmal
>>> level until I set up a daily xfs_fsr cron job),
>> That should not be the case unless you are using very sparse
>> VM image files, in which case you get what you pay for.
>>
>
> This is a development and test VM Ware server, so it hosts lots ( 100
> or so) of test VM with sparse image files (when you start a VM to host
> a quick test, you don't want to spend 15 minutes initializing the
> drives).
If you have the -space- then you can use space preallocation to
do this very quickly, FWIW. xfs_io's resvsp command, or fallocate
in recent util-linux-ng, if vmware doesn't do it on its own already.
You pay some penalty for unwritten extent conversion but it'd be
better than massive fragmentation of the images.
>>> and a write-intensive video server.
>> That also should not be the case unless your applications write
>> strategy is wrong and you get extremely interleaved streams, in
>> which case you get what you paid for the application programmer.
>
> The application write strategy is as simple as possible; several
> different machines unaware of every other write huge media files to a
> samba share. I don't know how it could be worse, however it could
> hardly be enhanced in any way.
If it's all large writes, you could mount -o allocsize=512m or so:
allocsize=size
Sets the buffered I/O end-of-file preallocation size when
doing delayed allocation writeout (default size is 64KiB).
Valid values for this option are page size (typically 4KiB)
through to 1GiB, inclusive, in power-of-2 increments.
and that might help.
-Eric
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2010-04-25 21:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 8:43 xfs_fsr question for improvement Michael Monnerie
2010-04-16 10:43 ` Stan Hoeppner
2010-04-17 1:24 ` Dave Chinner
2010-04-17 7:13 ` Emmanuel Florac
2010-04-25 11:17 ` Peter Grandi
2010-04-25 13:02 ` Emmanuel Florac
2010-04-25 21:04 ` Eric Sandeen [this message]
2010-04-25 21:44 ` Emmanuel Florac
2010-04-26 0:02 ` Linda Walsh
2010-05-03 6:49 ` Michael Monnerie
2010-05-03 7:41 ` Michael Monnerie
2010-05-03 12:17 ` Dave Chinner
2010-05-10 22:39 ` Michael Monnerie
-- strict thread matches above, loose matches on Subject: below --
2010-04-26 20:58 Richard Scobie
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=4BD4AE62.9080600@sandeen.net \
--to=sandeen@sandeen.net \
--cc=eflorac@intellique.com \
--cc=pg_xf2@xf2.for.sabi.co.UK \
--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