kvmによる仮想マシン"-cpu host"オプションで性能向上する場合がある
kvmのゲストマシンのチューニングをするために、以下のページを眺めていたら、  http://www.linux-kvm.org/page/Tuning_KVM   こんな、記述を発見しました。    Modern processors come with a wide variety of performance enhancing features such as streaming instructions sets (sse) and other performance-enhancing instructions. These features vary from processor to processor.    QEMU and KVM default to a compatible subset of cpu features, so that if you change your host processor, or perform a live migration, the guest will see its cpu features unchanged. This is great for compatibility but comes at a performance cost.    To pass all available host processor features to the guest, use the command line switch   qemu -cpu host  なるほど-cpu hostをつければ、CPUの高速演算機能が使えて、性能が向上するかもしれないのか…   ということで試してみました。   "-cpu host"が無いゲストマシン    # egrep model /proc/cpuinfo model           : 2 model name      : QEMU Virtual CPU version 1.4.1 model           : 2 model name      : QEMU Virtual CPU version 1.4.1 # egrep flags /proc/cpuinfo flags           : fpu de p...