From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it1-f176.google.com (mail-it1-f176.google.com [209.85.166.176]) by dpdk.org (Postfix) with ESMTP id 1992A2B91 for ; Sun, 28 Oct 2018 11:15:21 +0100 (CET) Received: by mail-it1-f176.google.com with SMTP id m15so6330714itl.4 for ; Sun, 28 Oct 2018 03:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JY1m8PRzCA76WNezelLUCTswLzI43EKuQJKhSOQ9Kx4=; b=jCSMmeTIwbgZdhgVP9VzVEH61rTdO04Rx9OApZtPEhz96Ts0gBLJBdemtz4dFa+P48 NNtZo/u2wH8eR5FdV4wbVxdyse7WFr2O85asQXGB2DSeDjPfV7jHY0kXSIINE3g7KfU3 S3auD88gORdyi+EZ5VXyPjc1LHlrS5InPFg3i6EAVDUwv9SkNmZ0bPn9BCPBPEzM18cZ MYKIKJfIKxAK4cnB1bYadiFUmFKKBxI0K/JHnWZGvP2wRngJzur+Bt4kyXkVcem5aFWK 6/4H3Pc3x1pOlP/PGADFnEg7/dAoM7N6MqKprHCVh5NJGgpL2smKhT9kOIcx2u9W1Jdo s/RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JY1m8PRzCA76WNezelLUCTswLzI43EKuQJKhSOQ9Kx4=; b=ETKIWiZHVSx6CpSqGrzGlJvhS9LnCQ91jpEgPZY6FZVZFdu+aFW4pyiMV0CLx40/YM s08WLqCycNfqVK88oYj6nwROC32Wq1axIHqEGncsRHZWKEIH1GFJ4sogrAi3aWhblRnr H4m3A0u7+TwA1dB0WYIgPiXbzJIJt8Dss3unbbRleMcU2PtRQMZnyk4MPtOqGBJPur+f SPX/Wd1jeyExHwRMoyQEyoArT8BCw4NPCw91kNvrnkXIgE6lqQehy2068aDtMhjRPxXp LZy0oIQ/7h33ZkrJlP9Zwa1GpZ2x7Ahp1Hh9HV4/vaC5+qeuPB1wIHULqlvF6xNlbXcy /NcA== X-Gm-Message-State: AGRZ1gJnuv289ic+4W8f/WAZGH8lRENW0OLC3Hc21ZVY7tUTZv4NG4b5 ZT0lAMJCR3HFCOiy+6XCrOUu3pWJP5IeJl4cx3Q= X-Google-Smtp-Source: AJdET5e9Hr1T3GShDdBTdHCzEt+lL7CC4vIQ7ImQAV7Q8PHqDxE8NblSpDN7i/HPBhZyOIyOjbfDzSpTwLrIUWWFz+8= X-Received: by 2002:a24:c408:: with SMTP id v8-v6mr6790636itf.131.1540721720466; Sun, 28 Oct 2018 03:15:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sungho Hong Date: Sun, 28 Oct 2018 03:15:09 -0700 Message-ID: To: v.maffione@gmail.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Why DPDK latency is high when sending message in interval? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2018 10:15:21 -0000 Thank you very much for the help On Sun, Oct 28, 2018 at 1:07 AM Vincenzo Maffione wrote: > If you don't care about CPU utilization, busy-wait is the way to go. > Otherwise you can try to usleep() for something like 60-70 us (to lower > the CPU utilization), and then busy-wait for the rest of the interval (so > that you still have maximum precision). > > You may want to have a look at this > https://academic.oup.com/comjnl/article/61/6/808/4259797 , specially > sections 4.3 and 4.1. > > Cheers, > Vincenzo > > Il giorno dom 28 ott 2018 alle ore 09:01 Sungho Hong < > maverickjin88@gmail.com> ha scritto: > >> Thank you very much for the reply. >> But in that case, should I busy wait, to create the delay? >> >> >> > > -- > Vincenzo >