We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在Trx-sys->mutex保护的临界区中各类操作中,我们通过profiling识别出两个主要耗时操作:rw_trx_set.insert和rw_trx_set.erase。 我们采用无锁哈希对象rw_trx_hash,来替代rw_trx_set的功能,从而显著减小Trx-sys->mutex临界区耗时,缓解Trx-sys->mutex竞争。 Issue#8的实现参考了mariadb方案,虽然在sysbench写场景性能显著提升,但在特定场景会带来额外性能瓶颈。所以这里采用简化版本,只优化临界区主要耗时操作,得到写场景性能提升的同时,不会带来额外的性能瓶颈。
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
在Trx-sys->mutex保护的临界区中各类操作中,我们通过profiling识别出两个主要耗时操作:rw_trx_set.insert和rw_trx_set.erase。
我们采用无锁哈希对象rw_trx_hash,来替代rw_trx_set的功能,从而显著减小Trx-sys->mutex临界区耗时,缓解Trx-sys->mutex竞争。
Issue#8的实现参考了mariadb方案,虽然在sysbench写场景性能显著提升,但在特定场景会带来额外性能瓶颈。所以这里采用简化版本,只优化临界区主要耗时操作,得到写场景性能提升的同时,不会带来额外的性能瓶颈。
The text was updated successfully, but these errors were encountered: