On Wed, Jun 4, 2014 at 8:49 AM, Gregory Farnum <g...@inktank.com> wrote: > On Wed, Jun 4, 2014 at 7:58 AM, Sylvain Munaut > <s.mun...@whatever-company.com> wrote: >> Hi, >> >> >> During a multi part upload you can't upload parts smaller than 5M, and >> radosgw also slices object in slices of 4M. Having those two being >> different is a bit unfortunate because if you slice your files in the >> minimum chunk size you end up with a main file of 4M and a shadowfile >> of 1M for each part ... >> >> >> Would it make sense to allow either multipart upload of 4M, or to rise >> the slice size to something more than 4M (4M or 8M if you want power >> of 2) ? > > Huh. We took the 5MB limit from S3, but it definitely is unfortunate > in combination with our 4MB chunking. You can change the default slice > size using a config option, though. I believe you want to change > rgw_obj_stripe_size (default: 4 << 20). There might be some other > considerations around the initial 512KB "head" objects, > though...Yehuda?
The head object size is unrelated to the stripe size and changing the stripe size wouldn't affect it. For large uploads the head size is negligible, so I don't see it as any concern. Yehuda _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com