WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Openldap 2.3 very very slow under Xen 3.0.2 ... why ?

To: s.cramatte@xxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Openldap 2.3 very very slow under Xen 3.0.2 ... why ?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 26 Oct 2006 18:33:55 +0200
Delivery-date: Thu, 26 Oct 2006 09:35:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9580557.149981161879511702.JavaMail.www@wwinf1535>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb5GuASWSufKitjQIS0Rh7SM+D0JgAAKA+g
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>