public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Preallocation with direct IO?
@ 2011-12-29 13:10 amit.sahrawat83
  2011-12-29 20:57 ` Dave Chinner
  0 siblings, 1 reply; 5+ messages in thread
From: amit.sahrawat83 @ 2011-12-29 13:10 UTC (permalink / raw)
  To: hch@infradead.org, david@fromorbit.com, xfs@oss.sgi.com

Hi,
I am using a test setup which is doing write using multiple threads using direct IO. The buffer size which is used to write is 512KB.
After continously running this for long duration - i observe that number of extents in each file is getting huge(2K..4K..). I observed that each extent is of 512KB(aligned to write buffer size). I wish to have low number of extents(i.e, reduce fragmentation)... In case of buffered IO- preallocation works good alongwith the mount option 'allocsize'. Is there anything which can be done for Direct IO?
Please advice for reducing fragmentation with direct IO.
Thanks & Regards,
Amit Sahrawat
Sent from my Nokia phone

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2011-12-31 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-29 13:10 Preallocation with direct IO? amit.sahrawat83
2011-12-29 20:57 ` Dave Chinner
2011-12-30  3:07   ` Amit Sahrawat
2011-12-30 20:43     ` Dave Chinner
2011-12-31 12:46       ` Amit Sahrawat

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