OpenVZ Forum


Home » General » Support » Performance Question
Re: Performance Question [message #11044 is a reply to message #11040] Mon, 12 March 2007 13:13 Go to previous messageGo to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

dietmar wrote on Mon, 12 March 2007 15:45

dev wrote on Sun, 11 March 2007 07:42

What was the test?


You can find our OpenVZ template at:

http://www.proxmox.com/cms_proxmox/cms/upload/bittorrent/deb ian-3.1-proxmox-mailgateway.tar.gz

Its an OpenVZ template for our Mail Gateway software appliance.

The test was simply sending several hundred testmails to the system, doing virus an spam filtering. I can send you the test scripts.



It would be great, since then we could try to reproduce.

dietmar wrote on Mon, 12 March 2007 15:45



Quote:


- what environment do you refer to when refering to native? host system? Which OS/kernel etc.?


debian/2.6.18-3
Quote:


- during the test you used most likely different directories for storing emails etc. The fact is that HDD speed varies very much for disk beginning and end.
So to make results comparable you should do the following:
a) create a separate partition of size which will be used totally up (plus some small reserve)
b) mount this partition to /var/spool when testing host environment and /vz/root/VEID/var/spool when testing VE.
This will guarantee that the same physical sectors of HDD will be used in both tests.


Do you think that explains 15-20% Performance loss? Anyways, I cant change that for several reasons.



It can account easily for almost double performance variations in some cases. Though I don't claim it is 100% the issue in your test case, just trying to provide more likely reasons for performance differences and which we can check for.

dietmar wrote on Mon, 12 March 2007 15:45



Quote:


- set VE UBC setting to unlimited. This will prevent resource shortages during the test.

There can be other tunings done and checked for (e.g. mounting /vz with noatime), but w/o test case and test procedure it is hard to advise.



I already set UBC settings to unlimited, but still get 15% less performance (which is quite good compared to other VM technologies)
dietmar wrote on Mon, 12 March 2007 15:45



I'm pretty sure it can be optimized further out. It's just not that easy to find out the bottleneck remotely Sad maybe it's possible to get an access to your testbed?
Do you use 100Mb or 1Gb link?

I wonder if someone else did performance tests on comparable systems (mail server, mail gateways) running on OpenVZ?







http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Mon, 12 March 2007 13:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Running VEs on a Strato Hostsystem with natted public->private ip-addresses
Next Topic: *SOLVED* In VE User Quotas: No?
Goto Forum:
  


Current Time: Tue Aug 06 02:21:07 GMT 2024

Total time taken to generate the page: 0.03285 seconds