bzr-svn/bzr-git, Linux and NFS

Russel Winder russel.winder at concertant.com
Tue Sep 15 09:12:31 BST 2009


On Tue, 2009-09-15 at 08:01 +1000, Martin Pool wrote:
> 2009/9/14 Russel Winder <russel.winder at concertant.com>:
> > The background to this is that bzr-svn and bzr-git both make use of TDB.
> > TDB makes use of mmap and it appears to be a known fact that Linux has
> > extremely serious performance problems with mmap over NFS mounted
> > filestores.
> 
> How about passing TDB_NOMMAP when opening it then?  (That might
> require tweaking the Python bindings.)

I believe Jelmer doesn't want to get involved in what I think he sees as
a dark corner case -- but I may be interpreting his emails incorrectly.
I guess the question is whether detection of the mount being an NFS one
instead of a local disc is easy, or even possible.  Also of course
whether not using mmap interferes with the ability to have multiple
connections to the same repository (which is why TDB is used in
preference to SQLite). 
-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090915/d36e6952/attachment-0002.pgp 


More information about the bazaar mailing list