Aggregations in 2.1.0 much slower than 1.6.0

Are you overriding the index.store.type setting by any chance? I'm surprised that it seems to use niofs while I would expect default_fs. I don't expect it to be the root cause of the problem, but it might contribute.