From owner-freebsd-stable@FreeBSD.ORG Fri Jul 19 15:37:28 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D2BF0274 for ; Fri, 19 Jul 2013 15:37:28 +0000 (UTC) (envelope-from nicolas.roosen@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by mx1.freebsd.org (Postfix) with ESMTP id 6D6B2E8 for ; Fri, 19 Jul 2013 15:37:28 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id ey16so4554689wid.4 for ; Fri, 19 Jul 2013 08:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=enm8yBFpNH5Ve51mludtfE/t7AhY9CsXyinEznyoXtI=; b=TEa5QfdT+AABAIdqVru8I9cdhwvgAJLjFywEZ3xnM8VFd9a50VL0Kbo3fjsnKqPoKt YMaEwqDe5fiXNVN5kuiHremIMVbrSHdMi0qv5nzveEImE0rGRTGN1hSVHm17xwQpHTTp pYC9M2iKZXmSty08Ap/2k2KtEKHuvpEjvDmNOTC7QdgDUU/KoTJ0LJPopwdc7xog19Wk n8J5UkbR0fm9EpFVE/5/SPMtitXI0+7hz78pd3KKtCKDe8lilGFzrqkRNC37prupe5sJ kYdAyZkbXB8k3fbkBgNx6UNnLSz03rT09WgafbQKo4KV2MxrSZsgrKqRXrvUU595vkjn b3CQ== X-Received: by 10.194.121.132 with SMTP id lk4mr12643625wjb.25.1374248246953; Fri, 19 Jul 2013 08:37:26 -0700 (PDT) Received: from [192.168.100.105] (24.172.80.79.rev.sfr.net. [79.80.172.24]) by mx.google.com with ESMTPSA id u7sm43439206wiw.9.2013.07.19.08.37.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Jul 2013 08:37:25 -0700 (PDT) Message-ID: <51E95D31.3060103@gmail.com> Date: Fri, 19 Jul 2013 17:37:21 +0200 From: Nicolas Roosen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Virtio drivers and FreeBSD 9.1 X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 15:37:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everybody, I have some trouble with the following configuration: - - a Samsung SSD 840 Pro drive of 128 GB - - a Debian Wheezy (7.1) as a KVM host - - multiple Debian 7.1 and FreeBSD 9.1 guests on top of it I have installed the virtio drivers (from http://people.freebsd.org/~kuriyama/virtio/) on all guests, and configured the KVM domain.xml files accordingly. Then I ran some I/O tests using iozone. And as you can see on the results below, there is a big difference between the Debian guest and the FreeBSD guest. Is there any option I could have forgotten to set up in FreeBSD that could explain this difference? On the host server: iozone -s 64M -r 4k -i 0 -i 1 -i 2 random random KB reclen write rewrite read reread read write 65536 4 258532 553602 922146 969225 1523242 530324 On the FreeBSD guest: random random KB reclen write rewrite read reread read write 65536 4 61687 128261 574681 580237 537510 20690 On the Debian guest: random random KB reclen write rewrite read reread read write 65536 4 119604 481670 878853 935172 1328093 473255 Thank you. - -- Vos conversations sont privées, sécurisez-les. Your conversations are private, secure them. https://gpgtools.org or http://gpg4win.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJR6V0qAAoJEIylYwQV0UQcGAgIAJB6PCo6Bc5ewpBPVFf1ZaoU aePblYD2YNgkIRA074WHMFgdudoIzc+U/0IpVSM+N+OvpRwyFXrAW8PuY46Hrdxp Qnh+d9uYFaN8tZqKbpbWvmSziwepHBfozrsIugoP+7fohNAro0/ycpC8EYvuqJI6 JuOqVAOK87fuTXKV0GbwSuhxVvrvaxOTY083QxGoiS0isieEE2DCwFa5y/blmQPe yJTMn45ykbkkskDUWrdNne3lsmM1PFktfyFkslxSuaaNN1Nm+tWKgRDQm4lusRup 3IRy/ZNVI2Gu0/fnqs3Z6nY+LSke1qsKL9WveQEZCZLt/BhkyHCQVlclwGKhZjA= =Kl+S -----END PGP SIGNATURE-----