OpenVZ Forum


Home » General » Support » Strange performance issue
Strange performance issue [message #16078] Mon, 20 August 2007 20:40 Go to previous message
vaserv is currently offline  vaserv
Messages: 5
Registered: August 2007
Junior Member
I've got a strange performance issue on a host machine that has a number of VPS on it but I wouldn't call overloaded and it seems to be a CPU limit issue but I can't see what

On the host

[root@vz26uk ~]# time perl -e 'sqrt(100) for (0..1000000)'

real 0m0.044s
user 0m0.041s
sys 0m0.003s

Inside the VE

[root@vz26uk ~]# vzctl exec 881980 "time perl -e 'sqrt(100) for (0..1000000)'"

real 0m3.897s
user 0m3.881s
sys 0m0.015s

[root@vz26uk ~]# uname -a
Linux vz26uk.vaserv.com 2.6.9-023stab044.4-smp #1 SMP Mon May 28 23:15:47 MSD 2007 x86_64 x86_64 x86_64 GNU/Linux

[root@vz26uk ~]# uptime
16:32:49 up 5 days, 9:41, 1 user, load average: 1.37, 0.88, 0.67

CPU is Core2Quad with all 4 CPU's detected

[root@vz26uk ~]# free
total used free shared buffers cached
Mem: 6267700 6205080 62620 0 37960 1288820
-/+ buffers/cache: 4878300 1389400
Swap: 2096472 764 2095708

Slighty editted conf file

[root@vz26uk ~]# cat /etc/sysconfig/vz-scripts/881980.conf
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="40:40"
NUMPROC="999999:999999"
NUMTCPSOCK="7999992:7999992"
NUMOTHERSOCK="7999992:7999992"
VMGUARPAGES="131072:2147483647"
# Secondary parameters
KMEMSIZE="2147483646:2147483646"
TCPSNDBUF="107374592:289400832"
TCPRCVBUF="107374592:289400832"
OTHERSOCKBUF="107374592:289400832"
DGRAMRCVBUF="107374592:289400832"
OOMGUARPAGES="131072:2147483647"
# Auxiliary parameters
LOCKEDPAGES="999999:999999"
SHMPAGES="131072:131072"
PRIVVMPAGES="262144:262144"
NUMFILE="23999976:23999976"
NUMFLOCK="999999:999999"
NUMPTY="500000:500000"
NUMSIGINFO="999999:999999"
DCACHESIZE="2147483646:2147483646"

PHYSPAGES="0:2147483647"
NUMIPTENT="999999:999999"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="20480000:20480000"
DISKINODES="10240000:10240000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/881980"
OSTEMPLATE="cpanel"
ORIGIN_SAMPLE="vps.basic"
QUOTAUGIDLIMIT="1000"
CPULIMIT="400"
MEMINFO="pages:262144"
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT"

Any ideas what is going on?

Thanks

Rus
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Activation mail from forum.
Next Topic: IRC
Goto Forum:
  


Current Time: Wed Sep 11 19:15:15 GMT 2024

Total time taken to generate the page: 0.05365 seconds