Re: svn commit: r280323 - head/sys/kern

2015-03-22 Thread Jos Backus
On Mar 22, 2015 5:11 AM, "Dmitry Morozovsky" wrote: > > On Sat, 21 Mar 2015, Konstantin Belousov wrote: > > > > > > > Somewhat modernize the SysV shm code: > > > > > > > > > > Is my understanding correct that postgres still uses shm? If so, > > > > > has someone benchmarked the speedup? > > > >

Re: svn commit: r280323 - head/sys/kern

2015-03-22 Thread Dmitry Morozovsky
On Sat, 21 Mar 2015, Konstantin Belousov wrote: > > > > > Somewhat modernize the SysV shm code: > > > > > > > > Is my understanding correct that postgres still uses shm? If so, > > > > has someone benchmarked the speedup? > > > > > > Yes, some versions of Postgres still use SysV shm. > > >

Re: svn commit: r280323 - head/sys/kern

2015-03-21 Thread Konstantin Belousov
On Sun, Mar 22, 2015 at 12:16:22AM +0300, Dmitry Morozovsky wrote: > On Sat, 21 Mar 2015, Konstantin Belousov wrote: > > > > > Somewhat modernize the SysV shm code: > > > > > > Interesting. > > > > > > Is my understanding correct that postgres still uses shm? If so, > > > has someone benchmar

Re: svn commit: r280323 - head/sys/kern

2015-03-21 Thread Dmitry Morozovsky
On Sat, 21 Mar 2015, Konstantin Belousov wrote: > > > Somewhat modernize the SysV shm code: > > > > Interesting. > > > > Is my understanding correct that postgres still uses shm? If so, > > has someone benchmarked the speedup? > > Yes, some versions of Postgres still use SysV shm. To be c

Re: svn commit: r280323 - head/sys/kern

2015-03-21 Thread Konstantin Belousov
On Sat, Mar 21, 2015 at 04:03:41PM -0500, Mark Linimon wrote: > On Sat, Mar 21, 2015 at 03:01:20PM +, Konstantin Belousov wrote: > > Somewhat modernize the SysV shm code: > > Interesting. > > Is my understanding correct that postgres still uses shm? If so, > has someone benchmarked the spe

Re: svn commit: r280323 - head/sys/kern

2015-03-21 Thread Mark Linimon
On Sat, Mar 21, 2015 at 03:01:20PM +, Konstantin Belousov wrote: > Somewhat modernize the SysV shm code: Interesting. Is my understanding correct that postgres still uses shm? If so, has someone benchmarked the speedup? mcl ___ svn-src-head@free

svn commit: r280323 - head/sys/kern

2015-03-21 Thread Konstantin Belousov
Author: kib Date: Sat Mar 21 15:01:19 2015 New Revision: 280323 URL: https://svnweb.freebsd.org/changeset/base/280323 Log: Somewhat modernize the SysV shm code: - Use real locking, replace Giant with global sx protecting the subsystem. Since the subsystem' lock is no longer dropped during