From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56099 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OgFZO-0000Lj-Lh for qemu-devel@nongnu.org; Tue, 03 Aug 2010 07:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OgFQj-00027n-Vg for qemu-devel@nongnu.org; Tue, 03 Aug 2010 07:13:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9099) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OgFQj-00027Y-Op for qemu-devel@nongnu.org; Tue, 03 Aug 2010 07:13:09 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o73BD8cb015391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 3 Aug 2010 07:13:08 -0400 Received: from localhost (vpn1-6-234.ams2.redhat.com [10.36.6.234]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o73BD7RG023717 for ; Tue, 3 Aug 2010 07:13:08 -0400 Date: Tue, 3 Aug 2010 12:13:06 +0100 From: "Richard W.M. Jones" Message-ID: <20100803111306.GA21886@amd.home.annexia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] Anyone seeing huge slowdown launching qemu with Linux 2.6.35? List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org qemu compiled from today's git. Using the following command line: $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \ -drive file=/dev/null,if=virtio \ -enable-kvm \ -nodefaults \ -nographic \ -serial stdio \ -m 500 \ -no-reboot \ -no-hpet \ -net user,vlan=0,net=169.254.0.0/16 \ -net nic,model=ne2k_pci,vlan=0 \ -kernel /tmp/libguestfsEyAMut/kernel \ -initrd /tmp/libguestfsEyAMut/initrd \ -append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_vmchannel=tcp:169.254.2.2:35007 guestfs_verbose=1 TERM=xterm-color ' With kernel 2.6.35 [*], this takes about 1 min 20 s before the guest starts. If I revert back to kernel 2.6.34, it's pretty quick as usual. strace is not very informative. It's in a loop doing select and reading/writing from some file descriptors, including the signalfd and two pipe fds. Anyone seen anything like this? Rich. [*] This Fedora kernel: http://koji.fedoraproject.org/koji/buildinfo?buildID=187085 -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html