Re: Infiniband / RDMA

2011-08-05 Thread Javier Guerra Giraldez
On Fri, Aug 5, 2011 at 2:14 PM, Lance Couture wrote: > We are looking at implementing KVM-based virtual machines in our HPC cluster. > > Our storage runs over Infiniband using RDMA, but we have been unable to find > any real documentation regarding Infiniband, let alone using RDMA. usually it's

Re: recommended timer frequency for host and guest

2011-03-01 Thread Javier Guerra Giraldez
On Tue, Mar 1, 2011 at 4:44 PM, Nikola Ciprich wrote: > I guess that on host, the higher frequency can be better, but for guest, > 100HZ should be better because it causes lower overhead for host, right? or NO_HZ? -- Javier -- To unsubscribe from this list: send the line "unsubscribe kvm" in th

Re: KVM, iSCSI and High Availability

2011-03-28 Thread Javier Guerra Giraldez
On Mon, Mar 28, 2011 at 3:31 PM, Marcin M. Jessa wrote: > How is OCFS2 compared to CLVM? different layers, can't compare. CLVM (aka cLVM) is the cluster version of LVM, the volume manager. the addition of a userspace lock manager lets you do all volume management (create/delete volumes, resize t

Re: Starting / stopping VMs

2012-06-06 Thread Javier Guerra Giraldez
On Wed, Jun 6, 2012 at 9:57 AM, Michael Johns wrote: > a small > database from which small amounts of information about running > machines which indicated the presence or not of virtual machine > instances. pgrep works beautifully, especially when using the -name option -- Javier -- To unsubscr

Re: Credit-based scheduling in KVM?

2012-06-15 Thread Javier Guerra Giraldez
On Fri, Jun 15, 2012 at 4:08 AM, sguazt wrote: > I've found some suggestions here: > > http://forums.meulie.net/viewtopic.php?f=43&t=6436 > http://serverfault.com/questions/324265/equivalent-of-xen-capping-in-kvm > > but none of those are native to KVM. what do you mean 'native to KVM'? kvm is p

Re: Credit-based scheduling in KVM?

2012-06-15 Thread Javier Guerra Giraldez
On Fri, Jun 15, 2012 at 6:39 AM, sguazt wrote: > With "native" I meant that I'd like to have a credit-based scheduling > mechanism specifically targeted to VMs, without affecting the other > processes of the host machine. just put the VMs on their own cgroup -- Javier -- To unsubscribe from thi

Re: QEMU- 1CPU for guest while more cores used on host?

2012-07-04 Thread Javier Guerra Giraldez
1: no. what you're asking can't be done. if it was possible, every chipmaker would implement it in silicon to create über-fast single-processors on top of multicore chips. 2: why do you think "course amd-v+KVM is impossible to be used" ?? it does work very well -- Javier -- To unsubscribe f

Re: QEMU- 1CPU for guest while more cores used on host?

2012-07-04 Thread Javier Guerra Giraldez
On Wed, Jul 4, 2012 at 2:44 PM, wrote: > Thank you very much for your explanation, it makes sense :-) > >>2: why do you think "course amd-v+KVM is impossible to be used" ?? it does >>work very well > Not for me, it is some old RedHat version that fails on boot under KVM, but > works well (but

Re: linux guests and ksm performance

2012-02-23 Thread Javier Guerra Giraldez
On Thu, Feb 23, 2012 at 11:42 AM, Stefan Hajnoczi wrote: > The other approach is a memory page "discard" mechanism - which > obviously requires more code changes than zeroing freed pages. > > The advantage is that we don't take the brute-force and CPU intensive > approach of zeroing pages.  It wou

Re: limit conectivity of a VM

2010-11-19 Thread Javier Guerra Giraldez
On Fri, Nov 19, 2010 at 2:47 PM, hadi golestani wrote: > Hello, > I need to limit the port speed of a VM to 10 mbps ( or 5 mbps if it's > possible). > What's the way of doing so? tc check http://lartc.org/howto/lartc.qdisc.html -- Javier -- To unsubscribe from this list: send the line "unsub

Re: limit conectivity of a VM

2010-11-20 Thread Javier Guerra Giraldez
On Sat, Nov 20, 2010 at 3:40 AM, Thomas Mueller wrote: > maybe one of the virtual network cards is 10mbit? start kvm with "-net > nic,model=?" to get a list. wouldn't matter. different models emulate the hardware registers used to transmit, not the performance. if you had infinitely fast proce

Re: Disk activity issue...

2011-01-05 Thread Javier Guerra Giraldez
On Tue, Jan 4, 2011 at 11:19 AM, Erich Weiler wrote: > Thanks for replying!  I was able to figure it out - it was not the fault of > KVM.  One of the guests was running ganglia gmetad which was updating 30,000+ > rrd files every 15 seconds (thus generating load via disk I/O), I didn't spot > th

Re: [Question] Live migration -> normal process migration

2012-10-09 Thread Javier Guerra Giraldez
On Tue, Oct 9, 2012 at 9:36 AM, Grzegorz Dwornicki wrote: > I have a question to you guys. Is it possible to use code from live > migration of KVM VMs to migrate other process? As far as I can tell, no. most of the virtualization facililites of KVM are implemented in the kernel, but they're mana

Re: [User Question] How to create a backup of an LVM based maschine without wasting space

2012-10-12 Thread Javier Guerra Giraldez
On Fri, Oct 12, 2012 at 9:25 AM, Stefan Hajnoczi wrote: > I would leave them raw as long as they are sparse (zero regions do not > take up space). If you need to copy them you can either convert to > qcow2 or use tools that preserve sparseness (BTW compression tools are > good at this). note tha

Re: [User Question] How to create a backup of an LVM based maschine without wasting space

2012-10-12 Thread Javier Guerra Giraldez
On Fri, Oct 12, 2012 at 3:56 PM, Lukas Laukamp wrote: > I think that it must be possible to create an image with a size like the > used space + a few hundret MB with metadata or something like that. the 'best' way to do it is 'from within' the VM the typical workaround is to mount/fsck a LVM sna

Re: [User Question] How to create a backup of an LVM based maschine without wasting space

2012-10-14 Thread Javier Guerra Giraldez
On Sat, Oct 13, 2012 at 5:25 PM, Lukas Laukamp wrote: > I have backed up the data within the machine with partimage and fsarchiver. > But it would be greate to have a better way than doing this over a live > system. make no mistake, the absolutely best way is from within the VM. It's the most co

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-09 Thread Javier Guerra Giraldez
On Fri, Apr 9, 2010 at 5:17 PM, Mohammed Gamal wrote: > That's all good and well. The question now is which direction would > the community prefer to go. Would everyone be just happy with > virtio-9p passthrough? Would it support multiple OSs (Windows comes to > mind here)? Or would we eventually

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-10 Thread Javier Guerra Giraldez
On Sat, Apr 10, 2010 at 7:42 AM, Mohammed Gamal wrote: > On Sat, Apr 10, 2010 at 2:12 PM, Jamie Lokier wrote: >> To throw a spanner in, the most widely supported filesystem across >> operating systems is probably NFS, version 2 :-) > > Remember that Windows usage on a VM is not some rare use case

Re: Networking - Static NATs

2010-04-26 Thread Javier Guerra Giraldez
On Mon, Apr 26, 2010 at 7:10 AM, Anthony Davis wrote: > the problem I have is that kvm currently has dhcp running and setting up > NATs etc... > > I need to stop this, but still allow my current virtual machines access out, > how would be the best way to do this? use bridged networking -- Javie

Re: [PATCH 0/6 v3] PCI: Linux kernel SR-IOV support

2008-09-27 Thread Javier Guerra Giraldez
On Saturday 27 September 2008, Zhao, Yu wrote: > Greetings, > > Following patches are intended to support SR-IOV capability in the Linux > kernel. With these patches, people can turn a PCI device with the > capability into multiple ones from software perspective, which can benefit > KVM and achieve

Re: how to tweak kernel to get the best out of kvm?

2010-03-10 Thread Javier Guerra Giraldez
On Wed, Mar 10, 2010 at 8:15 AM, Avi Kivity wrote: > 15 guests should fit comfortably, more with ksm running if the workloads are > similar, or if you use ballooning. is there any simple way to get some stats to see how is ksm doing? -- Javier -- To unsubscribe from this list: send the line "un

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-23 Thread Javier Guerra Giraldez
On Tue, Mar 23, 2010 at 2:21 PM, Joerg Roedel wrote: > On Tue, Mar 23, 2010 at 06:39:58PM +0200, Avi Kivity wrote: >> So, two users can't have a guest named MyGuest each?  What about >> namespace support?  There's a lot of work in virtualizing all kernel >> namespaces, you're adding to that. > > T

Re: Graphical virtualisation management system

2010-06-24 Thread Javier Guerra Giraldez
On Thu, Jun 24, 2010 at 1:32 PM, Freddie Cash wrote: >  * virt-manager which requires X and seems to be more desktop-oriented; don't know about the others, but virt-manager runs only on the admin station. on the VM hosts you run only libvirtd, which doesn't need X in fact, that's what you get w

Re: ESXi, KVM or Xen?

2010-07-02 Thread Javier Guerra Giraldez
On Fri, Jul 2, 2010 at 10:55 PM, Emmanuel Noobadmin wrote: > This is a concern since I plan to put storage on the network and the > most heavy load the client has is basically the email server due to > the volume plus inline antivirus and anti-spam scanning to be done on > those emails. Admittedly

Re: which -cpu to use

2009-02-26 Thread Javier Guerra Giraldez
Piavlo wrote: > Alexander Graf wrote: > > virtio drivers have nothing to do with CPU. > > Yes I mistakenly used the term "viritio drivers" instead of > "paravirtual guest support". So what I wanted to ask is if I build a > guest kernel with paravitual support > will it make the native hardware cpu

Re: Since we're sharing, here's my kvmctl script

2008-06-11 Thread Javier Guerra Giraldez
On Wednesday 11 June 2008, Freddie Cash wrote: > The script can be run as a normal user, as it will use sudo where > needed. However, this causes all the VMs to be run as root (this is > developed on Debian where they've added that annoying "feature" of not > being able to create/use tun/tap devic

Re: qemu-send.c (was Re: Since we're sharing, here's my kvmctl script)

2008-06-11 Thread Javier Guerra Giraldez
On Wednesday 11 June 2008, Chris Webb wrote: > Hi. I have a small 'qemu-send' utility for talking to a running qemu/kvm > process whose monitor console listens on a filesystem socket, which I think > might be a useful building block when extending these kinds of script to do > things like migratati

Re: How to run KVM on non-X environment

2008-07-29 Thread Javier Guerra Giraldez
On Tuesday 29 July 2008, Stephen Liu wrote: > # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :1 > > It was hanging there. it's not a hang. it's running, but all feedback goes to the VNC port. maybe you'd like it to run in the background, so you get the prompt back. just add a

Re: I/O scheduling on block devices

2012-12-18 Thread Javier Guerra Giraldez
On Tue, Dec 18, 2012 at 4:41 PM, Andrew Holway wrote: > How should I set up io scheduling with this configuration. Performance is not > so great and I have a feeling that all of the io schedulers in my VMs and the > ones on my host are not having a nice party together. most external storage uni