Thanks for your thorough explanation. I'm gonna play with the idea. :D On Thu, Jun 1, 2017 at 9:23 AM, Alan Carroll < solidwallofc...@yahoo-inc.com.invalid> wrote:
> Each fragment is part of a specific object. No two objects share a > fragment. > I don't think making the fragments contiguous will be of much benefit. > Either the system is not busy, in which case the additional seek time > doesn't matter, or it's busy in which case many other objects are being > read and written simultaneously on the disk and therefore you won't get > large contiguous reads in any case. Objects are read as they can be written > to the network, not all at once. Once a socket buffer is full its better to > read a fragment for another object to fill a different socket buffer. > > > On Wednesday, May 31, 2017, 8:52:08 PM CDT, Anh Le Duc (2) < > anh...@vng.com.vn> wrote: > > > Thanks Alan. > > Does a fragment store only one object? > > I understand: > > > The difficulty in making fragments for a single object contiguous is the > data arrives non-contiguously. > > Our objects are split and stored into may-be-not-contiguous fragments. Do > you think it's a good idea to tweak the GC to re-order fragments? > > > > -- *Anh Le (Mr.)* *Senior Software Engineer* *Zalo Technical Dept., Zalo Group, **VNG Corporation* 5th floor, D29 Building, Pham Van Bach Street, Hanoi, Vietnam *M:* (+84) 987 816 461 *E:* anh...@vng.com.vn *W: *www.vng.com.vn <http://www.google.com/url?q=http%3A%2F%2Fwww.vng.com.vn&sa=D&sntz=1&usg=AFQjCNHYo7I_1mPESzfIvCNjLtAJOq8xsg> *“Make the Internet change Vietnamese lives”*