| 
		
			| *SOLVED* network performance [message #13913] | Thu, 07 June 2007 18:55  |  
			| 
				
				
					|  ep1p Messages: 4
 Registered: June 2007
 | Junior Member |  |  |  
	| Hi, I have three boxes running openvz on gentoo, and when trying to diagnose a problem with network performance to a seperate host not on my network, I found that the openvz boxes appear to get better performance than all other boxes I tested (to an order of perhaps 3x faster when wget'ing a file). This occurs both in the VE and on the host system.
 
 The data file appears to be 50meg worth of A's so I guess is fairly compressable. What clever stuff is happening such that these boxes perform better? Kernel is 2.6.18-028stab031
 
 Cheers,
 
 john
 [Updated on: Wed, 11 July 2007 10:03] by Moderator Report message to a moderator |  
	|  |  | 
	|  | 
	|  | 
	| 
		
			| Re: network performance [message #14067 is a reply to message #13932] | Thu, 14 June 2007 00:34   |  
			| 
				
				
					|  ep1p Messages: 4
 Registered: June 2007
 | Junior Member |  |  |  
	| Hmm. I have several of these types of boxes so they should be a pretty much identical architecture (apart from maybe ag1 below). Some have single CPU, some have dual, some have a 3.2ghz chip instead of 2.8ghz and some have more RAM than others. The network cards are pretty much the same- intel onboard gigabit cards (connected to 100meg switches). 
 my openvz boxes:
 
 Linux box1 2.6.18-028stab031 #1 SMP Thu May 10 11:26:56 GMT 2007 i686 Intel(R) Xeon(TM) CPU 3.20GHz GenuineIntel GNU/Linux
 
 00:13:02 (4.15 MB/s)
 
 Linux box2 2.6.18-028stab031 #1 SMP Fri May 11 14:27:07 GMT 2007 i686 Intel(R) Xeon(TM) CPU 3.20GHz GenuineIntel GNU/Linux
 
 00:06:51 (4.48 MB/s)
 
 Linux box3 2.6.20-gentoo-r8 #3 SMP Fri May 25 00:32:12 BST 2007 i686 Intel(R) Xeon(TM) CPU 3.20GHz GenuineIntel GNU/Linux
 
 01:12:35 (5.22 MB/s)
 
 
 
 the others:
 
 Linux ag1 2.6.18-gentoo-r3 #1 SMP Thu Nov 30 06:46:32 GMT 2006 i686 Intel(R) Xeon(R) CPU 5160 @ 3.00GHz GenuineIntel GNU/Linux
 
 01:12:02 (5.21 MB/s)
 
 Linux ag2 2.6.14-hardened-r3 #4 SMP Wed Feb 22 15:03:41 GMT 2006 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux
 
 01:08:45 (1.26 MB/s)
 
 Linux ag3 2.6.14-hardened-r6 #2 SMP Tue Apr 11 16:49:45 GMT 2006 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux
 
 01:19:32 (1.25 MB/s)
 
 Linux ag4 2.6.20-hardened-r2 #3 SMP Tue Jun 12 16:35:52 BST 2007 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux
 
 02:20:04 (1.70 MB/s)
 
 Linux ag5 2.6.16-hardened-r6 #2 SMP Mon May 22 21:09:25 BST 2006 i686 Intel(R) Xeon(TM) CPU 3.20GHz GNU/Linux
 
 01:23:02 (1.22 MB/s)
 
 Linux ag6 2.6.16-hardened-r6 #2 SMP Mon May 22 21:09:44 BST 2006 i686 Intel(R) Xeon(TM) CPU 2.80GHz GNU/Linux
 
 01:25:23 (1.26 MB/s)
 
 box3 was running the openvz kernel and also had similar faster speeds with that.
 
 I originally noticed this as I saw what appeared to be a 10Mbps bottleneck on a connection to something I don't control, but found from a vps server on my network there wasn't such an issue. Speeds to a local 100meg source are pretty much identical and are as would be expected on all these boxes.
 
 The network equipment my side isn't a problem, nor is routing, or IP address as I've tried putting the same IP on different box with no difference to results.
 
 The only thing I can think of is kernel, network driver (within kernel) or other network parameters like MTU/MSS/ window scaling etc that would adjust how things work over distance. Are there any performance tweaks done to net stuff for openvz?
 
 Any thoughts of where to look? I guess this looks less like of an openvz issue now though
  
 <edit - perhaps its hardened kernel? hmm..>
 
 john
 [Updated on: Thu, 14 June 2007 00:43] Report message to a moderator |  
	|  |  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  | 
	|  |