stripe_unit - the stripe size (default=4M)
stripe_count - how many objects to write in parallel (default=1)
object_size - when to stop increasing object size and create new objects. (default =4M)
For example if you write 132M of data (132 consecutive pieces of data 1M each) in striped mode with the following parameters:
stripe_unit = 8M
stripe_count = 4
object_size = 24M
Then 8 objects will be created - 4 objects with 24M size and 4 objects with 8M size.
Obj1=24M Obj2=24M Obj3=24M Obj4=24M
00 .. 07 08 .. 0f 10 .. 17 18 .. 1f <-- consecutive 1M pieces of data
20 .. 27 21 .. 2f 30 .. 37 38 .. 3f
40 .. 47 48 .. 4f 50 .. 57 58 .. 5f
Obj5= 8M Obj6= 8M Obj7= 8M Obj8= 8M
60 .. 67 68 .. 6f 70 .. 77 78 .. 7f
Alexander.
Oh! I put a wrong link, sorry The picture which explains stripe_unit and stripe count is here:I tried to attach it in the mail, but it was blocked.On Wed, Oct 11, 2017 at 3:16 PM, Alexander Kushnirenko <kushnirenko@xxxxxxxxx> wrote:Hi, Ian!Thank you for your reference!Could you comment on the following rule:object_size = stripe_unit * stripe_countOr it is not necessarily so?I refer to page 8 in this report:Alexander.On Wed, Oct 11, 2017 at 1:11 PM, <ian.johnson@xxxxxxxxxx> wrote:______________________________Hi Gregory
You’re right, when setting the object layout in libradosstriper, one should set all three parameters (the number of stripes, the size of the stripe unit, and the size of the striped object). The Ceph plugin for GridFTP has an example of this at https://github.com/stfc/gridFT
PCephPlugin/blob/master/ceph_p osix.cpp#L371
At RAL, we use the following values:
$STRIPER_NUM_STRIPES 1
$STRIPER_STRIPE_UNIT 8388608
$STRIPER_OBJECT_SIZE 67108864
Regards,
Ian Johnson MBCS
Data Services Group
Scientific Computing Department
Rutherford Appleton Laboratory
_________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com