[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: [Bug 88467] New: Slow switching between folders under Solaris with
From: Jeremy Rand <jeremy.rand () alcatel ! com>
Date: 2004-08-30 19:00:19
Message-ID: 20040830190019.14308.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=88467
Summary: Slow switching between folders under Solaris with NIS
Product: kmail
Version: 1.5.1
Platform: unspecified
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kmail-devel kde org
ReportedBy: jeremy.rand alcatel com
Version: 1.5.1 (using KDE 3.1.1)
Compiler: gcc version 3.2.3
OS: SunOS (sun4u) release 5.8
I am using KDE and kmail on Solaris 8. In our environment, we manage our users with \
NIS. I have found for as long as I have been using KDE/kmail (since about KDE 1.5) \
that performance was slow when switching between local folders of emails. The \
contents of those folders didn't seem to influence how long the switch time was. For \
example, switching to a folder of 10 or 1000 messages was irrelevant. Switch times \
of 10-15 seconds were common.
I did an investigation and found that kmail was blocked in initgroups() for most of \
the time during the switch. In fact, switching folders seemed to result in three \
calls to initgroups() and each can take a couple of seconds.
I found this reference online:
http://mail.cc.umanitoba.ca/source/
Apparently the initgroups() implementation on Solaris doesn't perform well when using \
NIS. An implementation which is faster is available from this page which can be used \
with LD_PRELOAD. Sure enough, that fixed the problem and I can now switch between \
folders quickly by preloading this alternate implementation of initgroups().
It would be ideal if Sun fixed their implementation but I have some doubts that this \
will happen. Failing that, could kmail be changed to call this alternate \
implementation of initgroups() when it is built for Solaris so the LD_PRELOAD hack \
can be removed? The usability of kmail has increased substantially for me and I \
wonder how many others may be dealing with slow performance but not know how to fix \
it. _______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic