From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f51.google.com (mail-yh0-f51.google.com [209.85.213.51]) by dpdk.org (Postfix) with ESMTP id 75D563238 for ; Wed, 25 Mar 2015 15:06:49 +0100 (CET) Received: by yhpt93 with SMTP id t93so12034176yhp.0 for ; Wed, 25 Mar 2015 07:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uRZ2bVxataHuVllzQ6QGm9052Ut5gP0O+sboTvj5UPw=; b=xSnKqByi+i6PtY7qDQ6HHZSdoI7z0NV9lnYUehnf5Qhmoh3aPuXrSq/JMwMppXdJW4 F3UGu7qkp5Xwesq4JThc9fwFLuUJ8F6S/ujfe4i8x5PzYRCY/x+vJ1FD/v0egkVT3G8Q Mp203xL4QbILNJ+PzPv6WtzE9sPErZM3ilf6soANIoVmMiw0oVvdIMOniCnAsTz4oT7w qBwf6RK/WRdBa1a0J7tkkwblbAwVdp7BAoKempmvDdbTF7O55sNPKRTs8KuXXeiw/F7U 0sZUuPWWbH2ZD88m48D+QRpehjnljtzdZL0NV81Ic/8viaooppo28pIcYhsdyixiqVQ/ 6mtg== MIME-Version: 1.0 X-Received: by 10.236.7.170 with SMTP id 30mr10574970yhp.46.1427292408863; Wed, 25 Mar 2015 07:06:48 -0700 (PDT) Received: by 10.170.174.3 with HTTP; Wed, 25 Mar 2015 07:06:48 -0700 (PDT) Date: Wed, 25 Mar 2015 22:06:48 +0800 Message-ID: From: Cheng Kevin To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK testpmd, Virtual Disk IO limitation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2015 14:06:49 -0000 Hi all, I am a beginner of DPDK. Recently, i am interest in DPDK vHost app - testpmd. And i have been tracing on testpmd.c and iofwd.c for a while. Also add some code inside iofwd.c for storing the payload of packets. Everything goes fine, and the performance is great as expected. But when i use fwrite to store the payload into a file, the performance decrease from 800mbps to 3mbps (input stream is 1 Gbps). Is is caused by the limitation of Virtual Disk IO? How can i solve it? I have tried to search the answer, some people say "pthread" might solve the problem. Can someone give me some hint, i really appreciate for your help. Best Regard, Kevin Cheng