[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: s.cramatte@xxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.