You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a bit of performance regression from 1.11, presumably one which could be handled by combining block writes better. Right now we can combine index writes (once they hit the merger serializer) but we don't combine block writes very well. A typical workload (where everything is in RAM) will result in every insert having its own write operation, with deduping of index writes, but no deduping of block writes. This is bad because they touch the superblock and stats block.
The performance impact here might actually be caused by us forcing the data block GC to work harder.
I don't think there's any optimization left to do here.
page_cache_t::compute_changes() will avoid writing the same block twice, and page_cache_t::maximal_flushable_txn_set() will make sure that as many transactions are merged together into a single flush as possible at a given time.
@srh: Did you have an additional optimization in mind?
Activity
danielmewes commentedon Jun 10, 2014
I don't think there's any optimization left to do here.
page_cache_t::compute_changes()will avoid writing the same block twice, andpage_cache_t::maximal_flushable_txn_set()will make sure that as many transactions are merged together into a single flush as possible at a given time.@srh: Did you have an additional optimization in mind?
Otherwise I think we can just close this.
srh commentedon Jun 10, 2014
Agreed, I think we fixed this.