Hi Ariel,

Le mercredi 27 octobre 2010 16:58:19, Ariel a écrit :
> It's really strange.  I notice a huge improvement in non-virtualized
> environments as well.
> 
> I modeled my network on all old laptops (like sub-500mhz era) using haproxy
> pointed to two backend nginx servers and I get 10-30ms response for static
> content (client and servers all on the same 100mbit LAN).  I then modeled
> the same setup in VirtualBox (all on the same computer) from client (host
> OS) to servers (three guest OS's) and I have an average time to fully
> downloaded content of over 150ms.  And yes the CPU supports VT-x and the
> virtualization is configured to use it.

Can you describe precisely the benchmark you used to measure the response time 
(concurrency, number of requests, duration, static file(s) size(s), ...) and 
provide your configuration file ?

Also, which network mode did you use in VirtualBox and which haproxy version 
was running ?

For simple tests, I've already played with haproxy in VirtualBox, kvm and 
openVZ, but never met such differences. But that can depend on your tests.
btw, I still have my VirtualBox VM's available, so I can try to reproduce your 
tests.

-- 
Cyril Bonté

Reply via email to