Lock contention high

2021-10-12 Thread Ashkil Dighin
Hi, Lock contention observed high in PostgreSQLv13.3 The source code compiled with GNC(GCCv11.x) PostgreSQL version: 13.3 Operating system: RHEL8.3 Kernel name:4.18.0-305.10.2.el8_4.x86_64 RAM Size:512GB SSD: 1TB The environment used IBM metal and test benchmark environment HammerDbv4.2 Test case

Re: Lock contention high

2021-10-14 Thread Ashkil Dighin
Tuesday, October 12, 2021, Laurenz Albe wrote: > On Tue, 2021-10-12 at 13:05 +0530, Ashkil Dighin wrote: > > Perf data for 24vu(TPC-C) > > > > > > 18.99% postgres postgres[.] LWLockAcquire > &g

Re: Lock contention high

2021-10-14 Thread Ashkil Dighin
ss to remote memory and > speed up processing. > > Thanks, > Michael. > > On 10/12/21 10:35 AM, Ashkil Dighin wrote: > > > Hi, > Lock contention observed high in PostgreSQLv13.3 > The source code compiled with GNC(GCCv11.x) > PostgreSQL version: 13.3 > Operating syst

Re: Lock contention high

2021-10-14 Thread Ashkil Dighin
Not using PostGIS On Thursday, October 14, 2021, Paul Friedman < paul.fried...@streetlightdata.com> wrote: > Are you using PostGIS? > > If so, there is an issue with TOAST table locking having these symptoms. > > > ---Paul > > > On Wed, Oct 13, 2021 at 11:15 AM MichaelDBA > wrote: > >> 1.Is ther

Re: Lock contention high

2021-10-20 Thread Ashkil Dighin
e-and-scalability/ On Thursday, October 14, 2021, Peter Geoghegan wrote: > On Tue, Oct 12, 2021 at 12:45 AM Ashkil Dighin > wrote: > > Lock contention observed high in PostgreSQLv13.3 > > The source code compiled with GNC(GCCv11.x) > > PostgreSQL version: 13.3 > > Operatin

Re: Lock contention high

2021-10-28 Thread Ashkil Dighin
“WalInsert” On Tuesday, October 26, 2021, Andres Freund wrote: > Hi, > > On 2021-10-12 13:05:12 +0530, Ashkil Dighin wrote: > > PostgreSQL version: 13.3 > > You could try postgres 14 - that did improve scalability in some areas. > > >

Re: Lock contention high

2021-11-15 Thread Ashkil Dighin
wrote: > Hi, > > On October 27, 2021 2:44:56 PM PDT, Ashkil Dighin < > ashkildighi...@gmail.com> wrote: > >Hi, > >Yes, lock contention reduced with postgresqlv14. > >Lock acquire reduced 18% to 10% > >10.49 %postgres postgres[.]

LwLockRelease performance

2021-12-02 Thread Ashkil Dighin
Hi The performance bottleneck in LWLockRelease()method goes through an array one by one to see which lock was released with O(N). As soon as the lock is found it performs an array to remove the lock. As linear search and compaction delays the release of the lock forcing the other Postgres instances