|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Openldap 2.3 very very slow under Xen 3.0.2 ... why ?
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Sébastien CRAMATTE
> Sent: 26 October 2006 17:19
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Openldap 2.3 very very slow under Xen
> 3.0.2 ... why ?
>
> Hi,
>
> I've just installed an openldap 2.3 inside a debian etch domU.
> Openldap is very very slow with db4.2, 4.3, ... and I dont' why ???
Compared to what?
What is the setup of the machine you're running this on?
How many [VP]CPU(s) are you using for the guest(s) involved?
The post you refer (actually, the response to it) refers to nanosleep() being
slow... It is entirely possible that the openldap is using nanosleep in a way
that is "unsound" for Xen - as nanosleep is presumably intended to sleep for a
very short amount of time. Since the sleep causes a domain switch, it may cause
much longer sleep periods than the author of the code intended.
I'm not sure if it's feasible to "stub out" those nanosleep operations in some
way that doesn't cause some other problems, but if there is a way to do that,
you could try that...
N.B. I have absolutely no experience in using openldap at all - so I may be
missing some HUGE parcel of information that would help to solve the problem...
--
Mats
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|