Performance in my server is slow with 18 VEs. Normal ? [message #40120] |
Sun, 18 July 2010 17:59 |
jrabraga
Messages: 8 Registered: May 2010
|
Junior Member |
|
|
Hi
Today I have in my server, 18 VEs. One run the system in RoR e the others 17, running basically the same application that runs 19:00 pm until 8:00 the next day, a period that the system in RoR is rarely used.
In those 17 VEs, in some moments the application runs a routine that handles small images .. When these 17 VEs are processing with low or zero (outside the above period), this routine is performed in a maximum of 3 seconds in a VE.
But when I run more than one VEs running this same routine at the same time is very slow, taking more than 30 seconds each execution
Below is the configuration of my server, I'm using the VEs and command vzcpucheck.
Does anyone have any tips on how to improve this?
Thank you very much
Renato
My Server
Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz (4 processor in /proc/cpuinfo)
[root@server vz-scripts]# free -m
total used free shared buffers cached
Mem: 7967 6005 1962 0 465 2399
-/+ buffers/cache: 3141 4826
Swap: 4110 349 3760
Kernel
Linux server.changeme.com 2.6.18-194.3.1.el5.028stab069.5 #1 SMP Tue May 18 17:48:31 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux
Conf VE 101
ONBOOT="yes"
# UBC parameters (in form of barrier:limit)
KMEMSIZE="16384000:18022400"
LOCKEDPAGES="4096:4096"
PRIVVMPAGES="524288:524288"
SHMPAGES="524288:524288"
NUMPROC="400:400"
PHYSPAGES="0:9223372036854775807"
VMGUARPAGES="262144:9223372036854775807"
OOMGUARPAGES="1536000:9223372036854775807"
NUMTCPSOCK="500:500"
NUMFLOCK="500:500"
NUMPTY="64:64"
NUMSIGINFO="512:512"
TCPSNDBUF="26843648:107374592"
TCPRCVBUF="107374592:289400832"
OTHERSOCKBUF="26842648:107374592"
DGRAMRCVBUF="26842648:107374592"
NUMOTHERSOCK="500:500"
DCACHESIZE="4194304:4194304"
NUMFILE="9312:9312"
AVNUMPROC="200:200"
NUMIPTENT="128:128"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="204800000:204800000"
DISKINODES="40000000:44000000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="30000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="ubuntu-9.10-x86_64"
ORIGIN_SAMPLE="vps.basic"
HOSTNAME="sys1"
IP_ADDRESS="192.168.1.101"
NAMESERVER="200.200.200.200"
CPULIMIT="400"
Conf others VEs
# UBC parameters (in form of barrier:limit)
KMEMSIZE="16384000:18022400"
LOCKEDPAGES="4096:4096"
PRIVVMPAGES="262144:262144"
SHMPAGES="262144:262144"
NUMPROC="400:400"
PHYSPAGES="0:9223372036854775807"
VMGUARPAGES="262144:9223372036854775807"
OOMGUARPAGES="26112:9223372036854775807"
NUMTCPSOCK="500:500"
NUMFLOCK="500:500"
NUMPTY="64:64"
NUMSIGINFO="512:512"
TCPSNDBUF="26843648:107374592"
TCPRCVBUF="1720320:3000320"
OTHERSOCKBUF="26842648:107374592"
DGRAMRCVBUF="26842648:107374592"
NUMOTHERSOCK="500:500"
DCACHESIZE="4194304:4194304"
NUMFILE="9312:9312"
AVNUMPROC="200:200"
NUMIPTENT="128:128"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="10485760:11530240"
DISKINODES="200000:220000"
QUOTATIME="0"
# CPU fair sheduler parameter
CPUUNITS="25000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="ubuntu-9.10-x86_64"
ORIGIN_SAMPLE="search"
HOSTNAME="search4"
IP_ADDRESS="192.168.1.105"
NAMESERVER="200.200.200.200"
CPULIMIT="300"
vzcpucheck
VEID CPUUNITS
-------------------------
0 27777
101 31250
102 25000
103 25000
104 25000
105 25000
106 25000
108 31250
109 25000
107 31250
110 25000
111 25000
113 25000
114 25000
115 25000
116 31250
112 25000
117 31250
118 31250
Current CPU utilization: 515277
Power of the node: 531946
Output values in %
veid LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
118 0.19 10.80 1.54 1.02 7.09 1.25 19.81 36.76
117 0.16 10.80 2.27 1.50 7.09 1.75 19.81 36.76
112 0.08 10.26 0.11 0.10 3.55 0.16 11.19 11.19
116 0.10 10.80 1.54 1.05 7.09 1.15 19.81 36.76
115 0.08 10.26 0.11 0.11 3.55 0.17 11.19 11.19
114 0.08 10.26 0.11 0.11 3.55 0.17 11.19 11.19
113 0.08 10.26 0.11 0.11 3.55 0.17 11.19 11.19
111 0.08 10.26 0.11 0.11 3.55 0.17 11.19 11.19
110 0.08 10.26 0.11 0.11 3.55 0.16 11.19 11.19
109 0.08 10.26 0.11 0.11 3.55 0.17 11.19 11.19
108 0.13 10.26 1.93 1.48 3.55 1.48 11.19 11.19
106 0.08 10.26 0.11 0.11 3.55 0.16 11.19 11.19
105 0.07 10.26 0.11 0.11 3.55 0.16 11.19 11.19
104 0.14 10.26 4.13 2.76 3.55 2.96 11.19 11.19
103 0.20 10.26 4.41 2.96 27.55 3.59 11.19 11.19
101 0.41 18.84 3.43 4.23 54.65 4.75 13.45 21.93
107 0.10 10.26 1.76 1.19 3.55 1.39 11.19 11.19
102 0.18 10.26 4.38 2.94 3.55 3.32 11.19 11.19
------------------------------------------------------------ -------------
Summary: 2.32 194.86 26.38 20.09 149.63 23.13 229.46 288.80
[Updated on: Sun, 18 July 2010 20:02] Report message to a moderator
|
|
|
|
|