Re: [Qemu-devel] RAM overcomittment

2006-09-28 Thread Bill C. Riemers
I would suggest just the opposite, under  commit your ram.  If your base operating system is Linux, you can create your swap partitions under a host linux tmpfs directory.  You can then safely over commit the amount of tmpfs swap space.  The guest linux system will expect he swap to be slow, so it

Re: [Qemu-devel] RAM overcomittment

2006-09-28 Thread James Oakley
On Wednesday 27 September 2006 6:59 pm, The MoonSeeker wrote: > Le 27 sept. 06 à 23:41, Paul Brook a écrit : > > qemu is just like any other application. It is only limited by how > > much > > virtual memory your OS can provide. ie. if you have sufficient swap > > you can > > have as many qemu inst

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread Paul Brook
On Wednesday 27 September 2006 23:53, The MoonSeeker wrote: > Le 28 sept. 06 à 00:19, Paul Brook a écrit : > >> For my diploma project, I have to create a network simulator but with > >> these limitation I can't use qemu. Because if would like to simulate > >> 20 workstions I need 20 X 128 MB = 256

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread The MoonSeeker
Le 28 sept. 06 à 00:19, Paul Brook a écrit :For my diploma project, I have to create a network simulator but with   these limitation I can't use qemu. Because if would like to simulate   20 workstions I need 20 X 128 MB = 2560 MB of RAM... + host RAM!!!   But in the simulation, the VM's never will

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread andrzej zaborowski
Hi, On 27/09/06, The MoonSeeker <[EMAIL PROTECTED]> wrote: Ok but some virtual solution like openVZ allow you run more VM than the memory installed. By example, with openVZ I can create 10 Virtual Machine who have a limite fixe to 200 MB but have guaranteed RAM of 20MB. With qemu I need to have

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread Paul Brook
> > However, swapping (using virtual memory) will be a huge performance > > killer. It will affect the performance of your host OS and all > > applications, as well as for your QEMU instances. > > The problem is the swaping even the VM don't need all of ressource > assigned... We lost RAM... You n

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread Paul Brook
> Ok but some virtual solution like openVZ allow you run more VM than > the memory installed. By example, with openVZ I can create 10 Virtual > Machine who have a limite fixe to 200 MB but have guaranteed RAM of > 20MB. With qemu I need to have 10 X 200MB for VM's + 128 MB host of > RAM installed o

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread The MoonSeeker
Le 27 sept. 06 à 23:57, James Olsen a écrit :It seems to me that no change to QEMU is needed for this; it should already be supported by your host OS. Simply allocate the memory that you want (256mb, for example) for each virtual machine. Depending on how many virtual machines you have open at once

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread The MoonSeeker
Le 27 sept. 06 à 23:41, Paul Brook a écrit :qemu is just like any other application. It is only limited by how much  virtual memory your OS can provide. ie. if you have sufficient swap you can  have as many qemu instances using as much memory as you want. qemu is currently limits each guest to 2Gb

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread James Olsen
Hello, TM> Another question is : Can we run run many VM using more RAM than the TM> RAM installed (on the workstation)? For example I'd like to create 5 TM> VM's who have 256MB (can use 256MB but only for a slice of time) but TM> normally one VM use only 50MB. On the workstation I have only 5

Re: [Qemu-devel] RAM overcomittment

2006-09-27 Thread Paul Brook
On Wednesday 27 September 2006 22:31, The MoonSeeker wrote: > Hello, > > I'd like to know if qemu have a tool that let a VM to use more RAM > than it have (when initialised). > > Another question is : Can we run run many VM using more RAM than the > RAM installed (on the workstation)? For example

[Qemu-devel] RAM overcomittment

2006-09-27 Thread The MoonSeeker
Hello, I'd like to know if qemu have a tool that let a VM to use more RAM than it have (when initialised). Another question is : Can we run run many VM using more RAM than the RAM installed (on the workstation)? For example I'd like to create 5 VM's who have 256MB (can use 256MB but only