[Vserver] Re: [Devel] Container Test Campaign

2006-06-30 Thread Clément Calmels
Hi, A first round about virtualisation benchmarks can be found here: http://lxc.sourceforge.net/bench/ These benchmarks run with vanilla kernels and the patched versions of well know virtualisation solutions: VServer and OpenVZ. Some benchs also run inside the virtual 'guest' but we ran into troub

[Vserver] Re: [Devel] Container Test Campaign

2006-07-03 Thread Kir Kolyshkin
Clement, Thanks for sharing the results! A few comments... (1) General 1.1 It would be nice to run vmstat (say, vmstat 10) for the duration of the tests, and put the vmstat output logs to the site. 1.2 Can you tell how you run the tests. I am particularly interested in - how many iterations

[Vserver] RE: [Devel] Container Test Campaign

2006-07-03 Thread Marc E. Fiuczynski
Hi Kirill, Thanks for the feedback. Not sure whether you are referring to Clement's work or our paper. I'll assume you are referring to our paper. > >From what I see just just after 1 minute check of your results: > > DBench: > - different disk I/O schedulers are compared. This makes > co

[Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Clément Calmels
Hi, > 1.1 It would be nice to run vmstat (say, vmstat 10) for the duration of > the tests, and put the vmstat output logs to the site. Our benchmark framework allows us to use oprofile during test... couldn't it be better than vmstat? > Basically, the detailed description of a process would be

[Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Clément Calmels
Hi, Sorry, just forgot one part of your email... > 1.2 Can you tell how you run the tests. I am particularly interested in > - how many iterations do you do? > - what result do you choose from those iterations? > - how reproducible are the results? > - are you rebooting the box between the iterat

[Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Clément Calmels
Hi, Sorry, I just forgot one part of your email... (and sorry for the mail spamming, I probably got too big fingers or too tiny keyboard) > 1.2 Can you tell how you run the tests. I am particularly interested in > - how many iterations do you do? > - what result do you choose from those iteration

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-02 Thread Herbert Poetzl
On Fri, Jun 30, 2006 at 07:28:06PM +0200, Clément Calmels wrote: > Hi, > > A first round about virtualisation benchmarks can be found here: > http://lxc.sourceforge.net/bench/ very interesting results, tx ... > These benchmarks run with vanilla kernels and the patched versions of > well know vir

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Clément Calmels
Hi, > from the tests: > "For benchs inside real 'guest' nodes (OpenVZ/VServer) you should > take into account that the FS tested is not the 'host' node one's." > > at least for Linux-VServer it should not be hard to avoid the > chroot/filesystem namespace part and have it run on the host fs.

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Cedric Le Goater
Clément Calmels wrote: > Hi, > > Sorry, just forgot one part of your email... > >> 1.2 Can you tell how you run the tests. I am particularly interested in >> - how many iterations do you do? >> - what result do you choose from those iterations? >> - how reproducible are the results? >> - are you

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Kir Kolyshkin
Clément, Thanks for addressing my concerns! See comments below. Clément Calmels wrote: Hi, 1.1 It would be nice to run vmstat (say, vmstat 10) for the duration of the tests, and put the vmstat output logs to the site. Our benchmark framework allows us to use oprofile during test...

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Clément Calmels
Hi, > > I'm wondering why a default 'guest' creation implies some resources > > restrictions? Couldn't the resources be unlimited? I understand the need > > for resource management, but the default values look a little bit > > tiny... > > > The reason is security. A guest is untrusted by defaul

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Kirill Korotaev
from the tests: "For benchs inside real 'guest' nodes (OpenVZ/VServer) you should take into account that the FS tested is not the 'host' node one's." at least for Linux-VServer it should not be hard to avoid the chroot/filesystem namespace part and have it run on the host fs. a bind mount into

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Kir Kolyshkin
Clément Calmels wrote: Hi, I'm wondering why a default 'guest' creation implies some resources restrictions? Couldn't the resources be unlimited? I understand the need for resource management, but the default values look a little bit tiny... The reason is security. A guest is untru

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Cedric Le Goater
Clément Calmels wrote: > Hi, > > Sorry, I just forgot one part of your email... (and sorry for the mail > spamming, I probably got too big fingers or too tiny keyboard) > >> 1.2 Can you tell how you run the tests. I am particularly interested in >> - how many iterations do you do? >> - what resul

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Kirill Korotaev
Cedric, these informations are not explicit yet but please check the raw data, for example : http://lxc.sourceforge.net/bench/r3/dbenchraw you will see that each test is run nearly 100 times. the 5% min and max values are stripped before doing an average. min, max and std dev are missi

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Cedric Le Goater
Kirill Korotaev wrote: > For OpenVZ it is also possible to test different subsytems separately > (virtualization/isolation, resource management, disk quota, CPU scheduler). > I would notice also, that in OpenVZ all these features are ON by default. hmm, we didn't realize that. Good, it will make

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Cedric Le Goater
Kirill Korotaev wrote: > Cedric, > >> these informations are not explicit yet but please check the raw data, >> for >> example : >> >> http://lxc.sourceforge.net/bench/r3/dbenchraw >> >> you will see that each test is run nearly 100 times. the 5% min and max >> values are stripped before doing

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Cedric Le Goater
Kir Kolyshkin wrote: > In case you are testing performance (but not, say, isolation), you can > definitely set all the UBCs to unlimited values (i.e. both barrier and > limit for each parameter should be set to MAX_LONG). The only issues is > with vmguarpages parameter, because this is a guarantee

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-04 Thread Kir Kolyshkin
See my comments below. In general - please don't get the impression I try to be fastidious. I'm just trying to help you create a system in which results can be reproducible and trusted. There are a lot of factors that influence the performance; some of those are far from being obvious. Cléme

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Clément Calmels
Hi, > In general - please don't get the impression I try to be fastidious. I'm > just trying to help you create a system in which results can be > reproducible and trusted. There are a lot of factors that influence the > performance; some of those are far from being obvious. Don't get me wrong

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Kir Kolyshkin
Clément Calmels wrote: What do you think of something like this: o reboot o run dbench (or wathever) X times o reboot Perfectly fine with me. Here you do not have to reboot. OpenVZ tools does not require OpenVZ kernel to be built. You got me... I was still believing the VZKERNEL_HEAD

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Kirill Korotaev
- All binaries are always build in the test node. I assuming you are doing your tests on the same system (i.e. same compiler/libs/whatever else), and you do not change that system over time (i.e. you do not upgrade gcc on it in between the tests). I hope! :) All binaries should be built

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Herbert Poetzl
On Tue, Jul 04, 2006 at 06:32:04PM +0400, Kirill Korotaev wrote: >>> from the tests: >>> "For benchs inside real 'guest' nodes (OpenVZ/VServer) you should >>> take into account that the FS tested is not the 'host' node one's." >>> >>> at least for Linux-VServer it should not be hard to avoid th

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Cedric Le Goater
Clément Calmels wrote: > I don't do this first because I didn't want to get test nodes wasting > their time rebooting instead of running test. What do you think of > something like this: > o reboot > o run dbench (or wathever) X times > o reboot [ ... ] > I can split the "launch a guest" part i

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Cedric Le Goater
Kirill Korotaev wrote: - All binaries are always build in the test node. >>> >>> I assuming you are doing your tests on the same system (i.e. same >>> compiler/libs/whatever else), and you do not change that system over >>> time (i.e. you do not upgrade gcc on it in between the tests).

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Herbert Poetzl
On Tue, Jul 04, 2006 at 04:19:02PM +0400, Kir Kolyshkin wrote: [lot of stuff zapped here] > >The different configs used are available in the lxc site. You will > >notice that I used a minimal config file for most of the test, but for > >Openvz I had to use the one I found in the OpenVZ site becau

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-05 Thread Gerrit Huizenga
On Wed, 05 Jul 2006 14:43:17 +0400, Kirill Korotaev wrote: > >>>- All binaries are always build in the test node. > >>> > >> > >>I assuming you are doing your tests on the same system (i.e. same > >>compiler/libs/whatever else), and you do not change that system over > >>time (i.e. you do not

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Kirill Korotaev
Gerrit, I assuming you are doing your tests on the same system (i.e. same compiler/libs/whatever else), and you do not change that system over time (i.e. you do not upgrade gcc on it in between the tests). I hope! :) All binaries should be built statically to work the same way inside host/

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Herbert Poetzl
On Tue, Jul 04, 2006 at 05:34:23PM +0200, Cedric Le Goater wrote: > Kirill Korotaev wrote: > > Cedric, > > > >> these informations are not explicit yet but please check the raw data, > >> for > >> example : > >> > >> http://lxc.sourceforge.net/bench/r3/dbenchraw > >> > >> you will see that eac

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Herbert Poetzl
On Tue, Jul 04, 2006 at 03:02:54PM +0200, Clément Calmels wrote: > Hi, > > Sorry, I just forgot one part of your email... (and sorry for the mail > spamming, I probably got too big fingers or too tiny keyboard) > > > 1.2 Can you tell how you run the tests. I am particularly interested in > > - ho

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Herbert Poetzl
On Wed, Jul 05, 2006 at 02:43:17PM +0400, Kirill Korotaev wrote: > >>>- All binaries are always build in the test node. > >>> > >> > >>I assuming you are doing your tests on the same system (i.e. same > >>compiler/libs/whatever else), and you do not change that system over > >>time (i.e. you do

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Kirill Korotaev
ok, we will, with and without. It will add one bar to the graph. I'd suggest to test _all_ available schedulers if possible, for example Linux-VServer decided to favor the cfq scheduler for 'fair' I/O scheduling per context, and OVZ did similar (IIRC) For OpenVZ the reason is not CFQ fair s

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Kirill Korotaev
Herbert Poetzl wrote: sidenote: on a 'typical' Linux-VServer guest, tmp will be mounted as tmpfs, so be careful with that OVZ might do similar as might your host distro :) good point. Can we document all these issues somewhere? Kirill ___ Vserver ma

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-06 Thread Gerrit Huizenga
On Thu, 06 Jul 2006 14:44:23 +0400, Kirill Korotaev wrote: > Gerrit, > > I assuming you are doing your tests on the same system (i.e. same > compiler/libs/whatever else), and you do not change that system over > time (i.e. you do not upgrade gcc on it in between the tests). > >>> >

Re: [Vserver] Re: [Devel] Container Test Campaign

2006-07-10 Thread Kirill Korotaev
Gerrit, Great! this is what I wanted to hear :) Fully agree. Thanks, Kirill On Thu, 06 Jul 2006 14:44:23 +0400, Kirill Korotaev wrote: Gerrit, I assuming you are doing your tests on the same system (i.e. same compiler/libs/whatever else), and you do not change that system over time (i.e.