Startup/Shutdown scripts for KVM Machines in Debian (libvirt)

2010-11-10 Thread Hermann Himmelbauer
Hi, I manage my KVM machines via libvirt and wonder if there are any init.d scripts for automatically starting up and shutting down virtual machines during boot/shutdown of the host? Writing this for myself seems to be not that simple, as when shutting down, the system has somehow to wait

Re: Disk I/O stuck with KVM - no clue how to solve that

2010-11-08 Thread Hermann Himmelbauer
Am Montag 08 November 2010 07:32:39 schrieb Stefan Hajnoczi: If you have the time, you can use perf probes to trace I/O requests in the host kernel. Perhaps completion interrupts are being dropped. You may wish to start by tracing requests issued and completed by the SATA driver.

Re: Disk I/O stuck with KVM - no clue how to solve that

2010-11-07 Thread Hermann Himmelbauer
Am Samstag 06 November 2010 20:58:12 schrieb Stefan Hajnoczi: On Fri, Nov 5, 2010 at 5:16 PM, Hermann Himmelbauer du...@qwer.tk wrote: I experience strange disk I/O stucks on my Linux Host + Guest with KVM, which make the system (especially the guests) almost unusable. These stucks come

Disk I/O stuck with KVM - no clue what to do

2010-11-05 Thread Hermann Himmelbauer
Hi, As already posted, I experience disk I/O stucks with KVM, which make the guest systems alsmost unusable. These stucks come periodically, e.g. every 2 to 10 seconds and last between 3 and sometimes over 120 seconds, which trigger kernel messages like this: INFO: task postgres:2195 blocked

Disk I/O stuck with KVM - no clue how to solve that

2010-11-05 Thread Hermann Himmelbauer
Hi, I already tried to get some help on the KVM list for my problem but had no success, so the problem could be not KVM related at all, therefore maybe someone here has an idea: I experience strange disk I/O stucks on my Linux Host + Guest with KVM, which make the system (especially the

Re: Gests periodically stuck for ~ 10-15 seconds - what to do?

2010-10-23 Thread Hermann Himmelbauer
Am Samstag 23 Oktober 2010 22:37:41 schrieb Hermann Himmelbauer: Hi, I'm quite new to virtualization and KVM, I have a 2*4-core Intel machine here with 16GB RAM and Debian Lenny as host. I further installed two Debian Lenny guests, one with 2 CPUs, the other with one. The guests were