Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2011 20:09:34 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-fs@freebsd.org
Subject:   lseek() scalability and PostgreSQL
Message-ID:  <jau1tg$vib$1@dough.gmane.org>

next in thread | raw e-mail | index | archive | help
Interesting tidbit from PostgreSQL optimization:

http://rhaas.blogspot.com/2011/11/linux-lseek-scalability.html

"""
PostgreSQL calls lseek quite frequently (to determine the file length, 
not to actually move the file pointer), and due to the performance 
enhancements in 9.2devel, it's now much easier to hit the contention 
problems that can be caused by frequently acquiring and releasing the 
inode mutex.  But it looks like this should be fixed in Linux 3.2, which 
is now at rc1, and therefore on track to be released well before 
PostgreSQL 9.2.
"""

It looks like this might cause some of the things I've observed on 
many-core servers.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?jau1tg$vib$1>