Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2007 15:02:40 -0700
From:      Bakul Shah <bakul@bitblocks.com>
To:        "Marc G. Fournier" <freebsd@hub.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Running "Windows Emulation" headless ... possible? 
Message-ID:  <20070531220240.82E585B3E@mail.bitblocks.com>
In-Reply-To: Your message of "Thu, 31 May 2007 18:31:16 -0300." <67A57A9DEDC22CBEE0C436C1@ganymede.hub.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >> Can I run two or more QEMU instances on the same server with different IPs
> ?
> >
> > Yes.  But you have to make sure each machine gets its own mac
> > address.
> 
> Is that addressed using the tap interface, as Scott mentioned?

Yes.  You'd probably want to put tap devices in a bridge (in
/etc/qemu-ifup: ifconfig $1 up; ifconfig bridge0 addm $1).

> Also, just curious, but what is the performance like?  I have one application
> that I need to run, so I'm kinda hoping that maybe it will work with wine 
> without all of the extra Windows overhead, but if it doesn't ...

Performance will be worse.  But I guess you knew that:-) Only
you can decide if you can live with degraded performance.
You can try running on an SMP machine but I am not sure if
kqemu is SMP safe.  Make sure you have enough RAM to avoid
each Qemu from paging and allocate enough RAM to each VM to
avoid paging within each VM.  Finally, if the primary use of
your machine is for running a bunch of VMs, consider other
alternatives such as Linux + xen, Linux + kvm, vmware etc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070531220240.82E585B3E>