[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:       Waldo Bastian <bastian () kde ! org>
Date:       2000-11-22 20:26:27
[Download RAW message or body]

On Wednesday, November 22, 2000 09:08, Stephan Kulow wrote:
> Alex Zepeda wrote:
> > On Tue, Nov 21, 2000 at 11:37:59PM +0000, David Faure wrote:
> > > > Yes.  But what OSes are being dealt with here?  And what versions of
> > > > everything?
> > >
> > > Linux 2.2.17-21mdk, according to one of the persons who had the
> > > problem. KDE 2.0, Qt 2.2.1...
> >
> > Hmm.  I only know that most versions of FreeBSD (well IIRC between 2.0
> > and 4.1 or 5.0) have bugs with their NFS implementations which are
> > reasonably esoteric and easy to avoid.
> >
> > > Which is why the rest of the discussion concerning this exact problem
> > > isn't done here... :)
> >
> > 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

Euhm. Well. It works perfectly fine without mmap as well and the difference 
in memory/cpu usage isn't very dramatical either.

Just undefine HAVE_MMAP and recompile.

Cheers,
Waldo

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

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