husky-team / husky

A more expressive and most importantly, more efficient system for distributed data analytics.
http://www.husky-project.com/
Other
98 stars 55 forks source link

[Core] Support applying different allocator for ObjList #281

Closed kygx-legend closed 7 years ago

kygx-legend commented 7 years ago

Ref #279.

This is the kick-off for supporting aligned allocator, which would improve the time of operation to access object.

kygx-legend commented 7 years ago

@ddmbr @zzxx-husky @Yuzhen11 FYI. This patch does improve performance about 5% overall. But many interfaces are affected if turning on aligned allocator. I will enable it progressively.

ddmbr commented 7 years ago

Well done! But how do I switch between different allocators?

kygx-legend commented 7 years ago

The way I thought is ObjListStore::createObjList<ObjT, AlignedAllocator>(), but it breaks other stores like ChannelStore. Then it's a large modifications, which is on going.