OpenVZ Forum


Home » General » Support » Resource issues
Re: Resource issues [message #44640 is a reply to message #44639] Mon, 19 December 2011 08:54 Go to previous messageGo to previous message
viniciusmunich is currently offline  viniciusmunich
Messages: 4
Registered: December 2011
Location: Boston, MA
Junior Member
Paparaciz, thank you for your reply.
When I set CPU Units to be 0, I received this error:

[root@skywalker conf]# vzctl restart 101
Warning at /etc/vz/conf/101.conf:36: invalid value for CPUUNITS ("0"), skipped
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container ...
Container is mounted
Adding IP address(es): 216.245.217.125 216.245.217.126 64.31.32.133 64.31.32.134
Setting CPU limit: 90
Setting CPU units: 1000
Setting CPUs: 8
Container start in progress...

"Setting CPU units: 1000"

My CT file:
##############################################
## SIMUZO OpenVZ Default Configuration File ##
##############################################

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="2147483647:2147483647"
LOCKEDPAGES="999999:999999"
PRIVVMPAGES="792576"
SHMPAGES="792576"
NUMPROC="32567:32567"
PHYSPAGES="0:2147483647"
VMGUARPAGES="792576"
OOMGUARPAGES="792576"
NUMTCPSOCK="7999992:7999992"
NUMFLOCK="999999:999999"
NUMPTY="255:255"
NUMSIGINFO="1024:1024"
NUMSIGINFO="1024:1024"
TCPSNDBUF="214748160:396774400"
TCPRCVBUF="214748160:396774400"
OTHERSOCKBUF="214748160:396774400"
DGRAMRCVBUF="214748160:396774400"
NUMOTHERSOCK="7999992:7999992"
DCACHESIZE="2147483647:2147483647"
NUMFILE="23999976:23999976"
AVNUMPROC="180:180"
NUMIPTENT="999999:999999"


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

# CPU fair sheduler parameter
CPUUNITS="0"

VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-5-x86_64"
ORIGIN_SAMPLE="vps.basic"
IP_ADDRESS="xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx"
HOSTNAME="hostname"
NAMESERVER="208.115.254.242 208.115.254.250"
QUOTAUGIDLIMIT="10000"
IOPRIO="0"
CPULIMIT="90"
CPUS="8"



When I set CPUS=4
Total processors: 4

Processor #1

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        359.190 MHz

    Cache
        8192 KB

Processor #2

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        359.190 MHz

    Cache
        8192 KB

Processor #3

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        359.190 MHz

    Cache
        8192 KB

Processor #4

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        359.190 MHz

    Cache
        8192 KB



CPUS=2
Total processors: 2

Processor #1

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        1438.602 MHz

    Cache
        8192 KB

Processor #2

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        719.301 MHz

    Cache
        8192 KB


CPUS=1
Total processors: 1

Processor #1

    Vendor
        GenuineIntel

    Name
        Intel(R) Xeon(R) CPU E31230 @ 3.20GHz

    Speed
        1438.602 MHz

    Cache
        8192 KB


I cannot understand..

[Updated on: Mon, 19 December 2011 09:07]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sound in Virtual machine
Next Topic: Another Centos 6 network problem
Goto Forum:
  


Current Time: Fri Aug 23 03:16:02 GMT 2024

Total time taken to generate the page: 0.04973 seconds