* Ext4 allocation strategy
@ 2011-08-12 13:47 torn5
2011-08-12 22:18 ` Benjamin Peterson
0 siblings, 1 reply; 2+ messages in thread
From: torn5 @ 2011-08-12 13:47 UTC (permalink / raw)
To: linux-ext4
Hi all,
I can't find info on the ext4 allocation strategy, while this would be
useful to me to understand ext4 performance implications when I put it
above complex layers of RAID and LVM.
Just to be clear, i'm NOT talking about the delayed allocation thing.
XFS has the "Allocation Groups" which are relatively well described, for
ext4 I don't know what to look for. And I also can't find an application
which gives me a visual map of the ext4 allocated blocks in my
filesystem so I cannot easily "inspect" this by myself.
So can you tell me something?
In particular, does ext4 start from the beginning of the partition and
goes upward filling the earliest free spaces like it was for the old
FAT32, or does it try to spread allocations evenly on all the LBAs
available to that partition, e.g. by bisecting the largest free space
every time? Suppose some time passes from one file creation to another.
And how does it behave if it has to create zillions of small files
simultaneously (multithreaded application): where does it place them?
Thank you
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-12 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12 13:47 Ext4 allocation strategy torn5
2011-08-12 22:18 ` Benjamin Peterson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox