[Openstack] [Swift] Directory structure during data placement

Shrinand Javadekar shrinand at maginatics.com
Fri Apr 24 07:42:13 UTC 2015


Hi,

I observe that while placing data, the object server creates a
directory structure:

/srv/node/r0/objects/<partition>/<3 byte hash suffix>/<hash>/<timestamp>.data.

Is there a reason for the <hash> directory to be created? Couldn't
this just have been
/srv/node/r0/objects/<partition>/<3 byte hash suffix>/<hash>.data?

I am seeing a situation where after writing a few hundred Gigs worth
of data, where each object is 256K, XFS metadata performance is
deteriorating. Having less number of directories might help in that
case.

-Shri




More information about the Openstack mailing list