From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id C76D9569C for ; Mon, 13 Jul 2015 09:00:09 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 13 Jul 2015 00:00:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,461,1432623600"; d="scan'208";a="727768160" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 13 Jul 2015 00:00:00 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t6D6xwZH011671; Mon, 13 Jul 2015 14:59:58 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t6D6xu0c006595; Mon, 13 Jul 2015 14:59:58 +0800 Received: (from qxu10@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t6D6xuRI006591; Mon, 13 Jul 2015 14:59:56 +0800 From: Qian Xu To: dts@dpdk.org Date: Mon, 13 Jul 2015 14:59:49 +0800 Message-Id: <1436770794-6559-1-git-send-email-qian.q.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dts] [PATCH v2 0/5]Add vhost-user and vhost-cuse one vm sample case X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 07:00:10 -0000 This patchset will enable vhost-user and vhost-cuse sample one-vm performance ca ses based on the virtualization framework. The vhost-user's implementation is ba sed on vhost user socket, while the vhost-cuse is via IOCTL messages. The patchset includes below things: 1. Vhost-user sample automation has 4 cases: one VM with dpdk fwd, one VM with d pdk fwd with jumboframe enabled, one VM with legacy fwd, one VM with legacy fwd with jumboframe enabled. 2. Vhost-cuse sample automation has similar 4 cases as above. 3. The required qemu version fo vhost-user is >=qemu2.2 4. The one-vm has 2 virtio, and the vhost has binded to one physical port. 5. update qemu_kvm.py to support vhost-cuse. 6. vhost_cuse_sample.cfg and vhost_sample.cfg are the config file for references . v2 changes: 1. Remove unnecessary codes and debug codes. 2. use pep8 to align the codes format. 3. minor update about the core numbers of vhost usage. Set 1S/3C/1T as default core setting for vhost to get best perf. 4. change the vm core numbers to 2cores in the config files. Qian Xu (5): add vhost-cuse implementations for virtio pci device add vhost-cuse sample config file for reference add vhost-user sample config file for reference add vhost-cuse one vm sample add vhost-user one vm sample test conf/vhost_cuse_sample.cfg | 14 ++ conf/vhost_sample.cfg | 14 ++ framework/qemu_kvm.py | 22 +- tests/TestSuite_vhost_cuse_sample.py | 455 +++++++++++++++++++++++++++++++++++ tests/TestSuite_vhost_sample.py | 428 ++++++++++++++++++++++++++++++++ 5 files changed, 932 insertions(+), 1 deletion(-) create mode 100644 conf/vhost_cuse_sample.cfg create mode 100644 conf/vhost_sample.cfg create mode 100644 tests/TestSuite_vhost_cuse_sample.py create mode 100644 tests/TestSuite_vhost_sample.py -- 2.1.0