https://bugs.kde.org/show_bug.cgi?id=404057

--- Comment #32 from Kai Krakow <k...@kaishome.de> ---
(In reply to Martin Steigerwald from comment #30)
> I believe this bug is at
> least about two or three independent issues, but as you told, let's have it
> about the re-indexing files thing. I bet getting rid of needlessly
> re-indexing files will be one of the most effective to sort out performance
> issues with Baloo. I changed bug subject accordingly.

That's why I started a task to better distinguish between which problem is what
in Phabricator:
https://phabricator.kde.org/T11859

And that's why I suggested a few comments ago to concentrate on fixing the
re-indexing bug first.

But it turned out to be not that easy. Together with the other performance
issues and especially the tight coupling of mmap, access patterns, and
available memory, I think it's worth rethinking if LMDB is still the right
tool:

mmap introduces a lot of problems and there's no easy way around it. There's to
many things to think of to optimize access patterns then. It's unlikely to be
done anytime when looking at the problems exposed by the database scheme
already.

LMDB seems to be designed around the idea to be the only user of system RAM, or
at least only use a very smallish part of it (which may not be that small if
you have huge amounts of RAM). That's unlikely to be the situation on systems
where baloo is used.

Bad design choices have already been made and been meshed deeply into the
database scheme, which makes it difficult to migrate existing installations.

BTW: Following up on your comment #2 was totally unintentional but actually I
followed up and explained why that happens. ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to