Re: Speed up Clog Access by increasing CLOG buffers
Amit Kapila <amit.kapila16@gmail.com>
Attachments
- group_update_clog_v7.patch (application/octet-stream) patch v7
On Tue, Mar 15, 2016 at 12:00 AM, David Steele <david@pgmasters.net> wrote: > > On 2/26/16 11:37 PM, Amit Kapila wrote: > >> On Sat, Feb 27, 2016 at 10:03 AM, Amit Kapila <amit.kapila16@gmail.com >> >> Here, we can see that there is a gain of ~15% to ~38% at higher >> client count. >> >> The attached document (perf_write_clogcontrollock_data_v6.ods) >> contains data, mainly focussing on single client performance. The >> data is for multiple runs on different machines, so I thought it is >> better to present in form of document rather than dumping everything >> in e-mail. Do let me know if there is any confusion in >> understanding/interpreting the data. >> >> Forgot to mention that all these tests have been done by >> reverting commit-ac1d794. > > > This patch no longer applies cleanly: > > $ git apply ../other/group_update_clog_v6.patch > error: patch failed: src/backend/storage/lmgr/proc.c:404 > error: src/backend/storage/lmgr/proc.c: patch does not apply > error: patch failed: src/include/storage/proc.h:152 > error: src/include/storage/proc.h: patch does not apply > For me, with patch -p1 < <path_of_patch> it works, but any how I have updated the patch based on recent commit. Can you please check the latest patch and see if it applies cleanly for you now. > > It's not clear to me whether Robert has completed a review of this code or it still needs to be reviewed more comprehensively. > > Other than a comment that needs to be fixed it seems that all questions have been answered by Amit. > I have updated the comments and changed the name of one of a variable from "all_trans_same_page" to "all_xact_same_page" as pointed out offlist by Alvaro. With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
Commits
-
Use group updates when setting transaction status in clog.
- baaf272ac908 11.0 landed
- ccce90b39867 10.0 landed
-
Improve 64bit atomics support.
- e8fdbd58fe56 10.0 landed
-
Add ProcArrayGroupUpdate wait event.
- d4116a771925 10.0 landed
-
Make the different Unix-y semaphore implementations ABI-compatible.
- be7b2848c6d8 10.0 cited
-
Fix broken ALTER INDEX documentation
- 2143f5e12790 9.6.0 cited
-
Code and docs review for commit 3187d6de0e5a9e805b27c48437897e8c39071d45.
- d12e5bb79bb5 9.6.0 cited
-
Partition the freelist for shared dynahash tables.
- 44ca4022f3f9 9.6.0 cited
-
Correct StartupSUBTRANS for page wraparound
- 481725c0ba73 9.6.0 cited
-
Make idle backends exit if the postmaster dies.
- ac1d7945f866 9.6.0 cited
-
contrib/sslinfo: add ssl_extension_info SRF
- 49124613f134 9.6.0 cited
-
Reduce ProcArrayLock contention by removing backends in batches.
- 0e141c0fbb21 9.6.0 cited
-
Fix `make installcheck` for serializable transactions.
- 253de7e1eb9a 9.6.0 cited
-
Lockless StrategyGetBuffer clock sweep hot path.
- d72731a70450 9.5.0 cited
-
Reduce sinval synchronization overhead.
- b4fbe392f8ff 9.2.0 cited