Hi,
for some testing i installed X into a vserver.
It runs fine for small apps & games but when loading larger
programs or games, it seems to go very slow and a lot of
cpu cycles are wasted on idle time (>85%)
I have currently 8 vservers of which 1 template, 1 packet cache
and the rest of them don't take up a lot of cpu either.
This is what i tried to do to get more cpu cycles for that particular
vserver instance.
/etc/vserver/<vservername>
flags:
sched_prio
sched_hard
bcapabilities
CAP_SYS_RAWIO
SYS_NICE
nice
-20
schedule
30
2
1800
15
2000
dummy
I'm not sure i'm handling the schedule thing correctly as i'm not sure
that i understand it correctly. Judging from the fact that bigger apps
run waaaaaay slow (Athlon 1Ghz, 775 Mb RAM) i must be doing something wrong.
vserverinfo:
================================================================
Versions:
Kernel: 2.6.17.4.14jul2006
VS-API: 0x00020101
util-vserver: 0.30.210; Apr 19 2006, 16:06:42
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,fscompat,v13,net,oldproc,olduts
ext2fs Source: e2fsprogs
syscall(2) invocation: alternative
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
vserver-Rootdir: /var/lib/vservers
================================================================
Thanks for any info
Benedict
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Jul 20 22:03:27 2006