From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sahid Ferdjaoui Subject: virtio: Large number of tcp connections, vhost_net seems to be a bottleneck Date: Sun, 20 Oct 2013 08:04:33 +0000 (UTC) Message-ID: <533233212.1710860.1382256273232.JavaMail.root@cloudwatt.com> References: <7677902.1710678.1382256256542.JavaMail.root@cloudwatt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from 46-231-129-135.enovance.net ([46.231.129.135]:35841 "HELO mail.corp.cloudwatt.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with SMTP id S1751138Ab3JTINJ (ORCPT ); Sun, 20 Oct 2013 04:13:09 -0400 Received: from localhost (localhost [127.0.0.1]) by prdc-mls-00.usr.au1.cloudwatt.net (Postfix) with ESMTP id 59EF71C01A6 for ; Sun, 20 Oct 2013 08:04:38 +0000 (UTC) Received: from mail.corp.cloudwatt.com ([127.0.0.1]) by localhost (prdc-mls-00.usr.au1.cloudwatt.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qvEL2MV_-U1V for ; Sun, 20 Oct 2013 08:04:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by prdc-mls-00.usr.au1.cloudwatt.net (Postfix) with ESMTP id 02F721C01AD for ; Sun, 20 Oct 2013 08:04:36 +0000 (UTC) Received: from mail.corp.cloudwatt.com ([127.0.0.1]) by localhost (prdc-mls-00.usr.au1.cloudwatt.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wKQnL1t1_rsa for ; Sun, 20 Oct 2013 08:04:35 +0000 (UTC) Received: from prdc-mls-00.usr.au1.cloudwatt.net (prdc-mlsics-0000.usr.au1.cloudwatt.net [10.4.1.4]) by prdc-mls-00.usr.au1.cloudwatt.net (Postfix) with ESMTP id 94E1B1C019D for ; Sun, 20 Oct 2013 08:04:33 +0000 (UTC) In-Reply-To: <7677902.1710678.1382256256542.JavaMail.root@cloudwatt.com> Sender: kvm-owner@vger.kernel.org List-ID: Hi all, I'm working on create a large number of tcp connections on a guest; The environment is on OpenStack: Host (dedicated compute node): OS/Kernel: Ubuntu/3.2 Cpus: 24 Mems: 128GB Guest (alone on the Host): OS/Kernel: Ubuntu/3.2 Cpus: 4 Mems: 32GB Currently a guest can handle about 700 000 established connections, the cpus are not loaded and 12giga of memory are used. I'm working to understand why I can go up... On my host, after several tests with different versions of openvswitch and with linux bridge, It look like the process vhost_net is the only process loaded to 100% and it seems vhost_net cannot use more than 1 cpu. I would like to get more informations about vhost_net and if there is a solution to configure it to use more than 1 cpu? Thanks a lot, s.