[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: ksycoca corruption over NFS (Re: Bug#15720: Mounted home dirscause heavy NFS load)
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-11-22 21:12:23
[Download RAW message or body]

On Wednesday 22 November 2000 20:40, Alex Zepeda wrote:
> On Wed, Nov 22, 2000 at 10:08:33AM +0100, Stephan Kulow wrote:
> 
> > > Yup.  Maybe the mmap code should be turned off by default...
> > > 
> > The mmap is the whole trick behind ksycoca. If you don't map the sycoca
> > database, you add a overhead of quite some KB to every app
> 
> Well, FWIW the only issues I know of generally involve writing in some
> manner (usually appending) with mmap over NFS.  Reading should be safe.
> 
> *scratches head*
> 
> I wonder if there's any way to disable writing w/ mmap...

We don't use mmap for writing, we use QDataStream over a QFile.

You're right. The problem has nothing to do with mmap, it's when writing that
some data became corrupted.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic