[vserver] Bug or daydreaming: no sched_hard, but still only 1/4th?

From: Markus Fischer <markus_at_fischer.name>
Date: Fri 29 May 2009 - 09:08:40 BST
Message-ID: <4A1F9808.6040904@fischer.name>

Hi,

first, I think I'm daydreaming, however I don't understand what I may be
doing wrong.

I'm running four vservers and lately, since I started more development
stuff, noticed they only run 1/4th of the available CPU. The typical
default when SCHED_HARD is enabled.

However I've neither SCHED_HARD enabled, nor defined any sched/* limits.

But I was able to get a 1/1 ratio by *manually* with vsched and now have
to use my custom script to set a vserver to 1/1 after launch.

Ok, if you read the version numbers you'll probably so "it's a bug in
that version and you need to upgrade" because I guess they're clearly
outdated. But could that be true?

I won't upgrade the kernel on the existing system, too high is the risk
to break anything. Once I get my new hardware in the next months, I
swear I will ...

Versions:
                    Kernel: 2.6.18-4-vserver-k7
                    VS-API: 0x00020002
              util-vserver: 0.30.204; Dec 20 2005, 16:58:50

Features:
                        CC: gcc, gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
                       CXX: g++, g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
                  CPPFLAGS: ''
                    CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W'
                  CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
-fmessage-length=0'
                build/host: i386-pc-linux-gnu/i386-pc-linux-gnu
              Use dietlibc: yes
        Build C++ programs: yes
        Build C99 programs: yes
            Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts
             ext2fs Source: e2fsprogs
     syscall(2) invocation: fast
       vserver(2) syscall#: 273/glibc

Paths:
                    prefix: /usr
         sysconf-Directory: /etc
             cfg-Directory: /etc/vservers
          initrd-Directory: $(sysconfdir)/init.d
        pkgstate-Directory: /var/run/vservers
             Kernelheaders: /usr/include
           vserver-Rootdir: /var/lib/vservers

thanks,
- Markus
Received on Fri May 29 09:09:05 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 29 May 2009 - 09:09:07 BST by hypermail 2.1.8