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 a.hol...@syseleven.de 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

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 lu...@laukamp.me 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.

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 stefa...@gmail.com 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

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 lu...@laukamp.me 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

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 gd1...@gmail.com 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,

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

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, robert.kuc...@centrum.cz 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

Re: Credit-based scheduling in KVM?

2012-06-15 Thread Javier Guerra Giraldez
On Fri, Jun 15, 2012 at 6:39 AM, sguazt marco.guazz...@gmail.com 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

Re: Starting / stopping VMs

2012-06-06 Thread Javier Guerra Giraldez
On Wed, Jun 6, 2012 at 9:57 AM, Michael Johns michaelj8...@gmail.com 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 --

Re: linux guests and ksm performance

2012-02-23 Thread Javier Guerra Giraldez
On Thu, Feb 23, 2012 at 11:42 AM, Stefan Hajnoczi stefa...@gmail.com 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

Re: Infiniband / RDMA

2011-08-05 Thread Javier Guerra Giraldez
On Fri, Aug 5, 2011 at 2:14 PM, Lance Couture la...@sfu.ca 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.

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 li...@yazzy.org 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

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 extmaill...@linuxbox.cz 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

Re: Disk activity issue...

2011-01-05 Thread Javier Guerra Giraldez
On Tue, Jan 4, 2011 at 11:19 AM, Erich Weiler bitscrub...@gmail.com 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),

Re: limit conectivity of a VM

2010-11-20 Thread Javier Guerra Giraldez
On Sat, Nov 20, 2010 at 3:40 AM, Thomas Mueller tho...@chaschperli.ch 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

Re: limit conectivity of a VM

2010-11-19 Thread Javier Guerra Giraldez
On Fri, Nov 19, 2010 at 2:47 PM, hadi golestani hadi.golest...@gmail.com 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:

Re: Graphical virtualisation management system

2010-06-24 Thread Javier Guerra Giraldez
On Thu, Jun 24, 2010 at 1:32 PM, Freddie Cash fjwc...@gmail.com 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,

Re: Networking - Static NATs

2010-04-26 Thread Javier Guerra Giraldez
On Mon, Apr 26, 2010 at 7:10 AM, Anthony Davis t...@specialistdevelopment.com 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

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 m.gamal...@gmail.com wrote: On Sat, Apr 10, 2010 at 2:12 PM, Jamie Lokier ja...@shareable.org wrote: To throw a spanner in, the most widely supported filesystem across operating systems is probably NFS, version 2 :-) Remember that Windows usage

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 m.gamal...@gmail.com 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

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 j...@8bytes.org 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

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 a...@redhat.com 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:

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 features