[pve-devel] pve-qemu-kvm : enable tcmalloc

Alexandre DERUMIER aderumier at odiso.com
Sat Jun 6 06:58:07 CEST 2015


>>./configure: 3343: test: yes: unexpected operator 

I don't have this error

here my configure result output:

# ./configure --with-confsuffix="/kvm" --target-list=x86_64-softmmu --prefix=/usr --datadir=/usr/share --docdir=/usr/share/doc/pve-qemu-kvm --sysconfdir=/etc --disable-xen --enable-vnc-tls --enable-sdl --enable-uuid --enable-linux-aio --enable-rbd --enable-libiscsi --disable-smartcard-nss --audio-drv-list="alsa" --enable-spice --enable-usb-redir --enable-glusterfs --enable-libusb --disable-gtk --enable-xfsctl --enable-numa --disable-strip --enable-tcmalloc
Disabling libtool due to broken toolchain support
Install prefix    /usr
BIOS directory    /usr/share/kvm
binary directory  /usr/bin
library directory /usr/lib
module directory  /usr/lib/kvm
libexec directory /usr/libexec
include directory /usr/include
config directory  /etc
local state directory   /usr/var
Manual directory  /usr/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /root/proxmox2/pve-qemu-kvm/qemu-kvm
C compiler        cc
Host C compiler   cc
C++ compiler      c++
Objective-C compiler cc
ARFLAGS           rv
CFLAGS            -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g 
QEMU_CFLAGS       -I/usr/include/pixman-1   -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/usr/include/p11-kit-1  -I/usr/include/p11-kit-1    -I/usr/include/libpng12  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/spice-server -I/usr/include/spice-1  -I/usr/include/libusb-1.0  
LDFLAGS           -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m64 -g 
make              make
install           install
python            python -B
smbd              /usr/sbin/smbd
module support    no
host CPU          x86_64
host big endian   no
target list       x86_64-softmmu
tcg debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    no
profiler          no
static build      no
pixman            system
SDL support       yes
GTK support       no
VTE support       no
curses support    yes
curl support      yes
mingw32 support   no
Audio drivers     alsa
Block whitelist (rw) 
Block whitelist (ro) 
VirtFS support    yes
VNC support       yes
VNC TLS support   yes
VNC SASL support  yes
VNC JPEG support  yes
VNC PNG support   yes
VNC WS support    yes
xen support       no
brlapi support    no
bluez  support    no
Documentation     yes
GUEST_BASE        yes
PIE               yes
vde support       no
netmap support    no
Linux AIO support yes
ATTR/XATTR support yes
Install blobs     yes
KVM support       yes
RDMA support      yes
TCG interpreter   no
fdt support       no
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
sigev_thread_id   yes
uuid support      yes
libcap-ng support yes
vhost-net support yes
vhost-scsi support yes
Trace backends    nop
spice support     yes (0.12.7/0.12.5)
rbd support       yes
xfsctl support    yes
nss used          no
libusb            yes
usb net redir     yes
OpenGL support    yes
libiscsi support  yes
libnfs support    no
build guest agent yes
QGA VSS support   no
seccomp support   no
coroutine backend ucontext
coroutine pool    yes
GlusterFS support yes
Archipelago support no
gcov              gcov
gcov enabled      no
TPM support       yes
libssh2 support   no
TPM passthrough   yes
QOM debugging     yes
vhdx              yes
Quorum            yes
lzo support       no
snappy support    no
bzip2 support     no
NUMA host support yes
tcmalloc support  yes

----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Vendredi 5 Juin 2015 15:40:37
Objet: Re: [pve-devel] pve-qemu-kvm : enable tcmalloc

# Add here commands to configure the package. 
./configure --with-confsuffix="/kvm" --target-list=x86_64-softmmu --prefix=/usr 
--datadir=/usr/share --docdir=/usr/share/doc/pve-qemu-kvm --sysconfdir=/etc 
--disable-xen --enable-vnc-tls --enable-sdl --enable-uuid --enable-linux-aio 
--enable-rbd --enable-libiscsi --disable-smartcard-nss --audio-drv-list="alsa" 
--enable-spice --enable-usb-redir --enable-glusterfs --enable-libusb 
--disable-gtk --enable-xfsctl --enable-numa --disable-strip --enable-tcmalloc 
Disabling libtool due to broken toolchain support 
./configure: 3343: test: yes: unexpected operator 

Not sure if this is a problem? 

> On June 5, 2015 at 1:46 PM Alexandre Derumier <aderumier at odiso.com> wrote: 
> 
> 
> This patch is already in qemu master, and help to reduce latencies and boost 
> iops. 
> 
> Tested with librbd, I see an extra boost. 
> But it should help with any block driver 
> 
> (fio-rbd on host show me around 15% speedup with tcmalloc) 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 



More information about the pve-devel mailing list