From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by dpdk.org (Postfix) with ESMTP id 59AA72A62 for ; Thu, 9 Jun 2016 13:11:18 +0200 (CEST) Received: by mail-it0-f51.google.com with SMTP id z189so151027572itg.0 for ; Thu, 09 Jun 2016 04:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s+S3211uVfbOVCtTWe1o0bA1C8JmH8d2W0KeRvS7Zmg=; b=oOLttPG8n0s6oRDbeQvClTS3oaqBy9M6KMV5MQLzIe+bdbeASws8hYSkddR0/+tVkV PRikhaQTFdhaqa2GV4SkbkqfQjBwxH2LibNp1z7+l8N8eNmvWD3x1Dkf4KtbLItEIvfm bYSG/aSNFxxuF+O/BJDPrN4XHPhvfn9wvOky1fIGNok4GjQlAu3WqwVFo4TtNgmaeB2F +yS6utRiLFy7CeQk+SYFegH13l4iMs3DStlwOW/05gyZLaQMtxI2LZE4uh8X3NIoco/P avElSeYODjvn1mlBfD0a63i5W6o+nOOJI9SscpvuV0d++kKlEHU1kTPXYJ9HwxPAwAvl /q2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=s+S3211uVfbOVCtTWe1o0bA1C8JmH8d2W0KeRvS7Zmg=; b=PLCYdMZUgTvD6/e15sEqeq/hXE4Uectr7b1lZJWq5ErfEmki+BT6hjD0YahWV/OqFj cxbQ9rE2n9n+QLy5J8DGsILPAiVR/GGZxeKII6bNvPyWv+mmZz7yr+2SexSi7W2wbN68 BTRP0BPEzLPhMMON87xrw1dDcARfzyq0X3sDD57oEX/dSlzlbvhL3BqkzHmPKwz0RfyL Vs/oOfNlY+OfXMeArppL1c9Nu0EcmmZ5tLhDHmMXxWBQ9bIQj4NAL5cGcqhHrRVcCOF5 g/xDDedl7ZB5GC/tuiF8hNU/fUtagZWhA20TxlrpoWnRCGo+FF+YhkS87le7yJ3gQxAl biMg== X-Gm-Message-State: ALyK8tLeM11pmC19uiJJJClkzrMBuybYjSbkFk3iwlkl8w3fSinN4qZ2gYc61qTOusrqN20+dRXUNb3gCJxQyg== X-Received: by 10.36.4.23 with SMTP id 23mr6407722itb.11.1465470677838; Thu, 09 Jun 2016 04:11:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.1.149 with HTTP; Thu, 9 Jun 2016 04:10:58 -0700 (PDT) In-Reply-To: References: From: Andriy Berestovskyy Date: Thu, 9 Jun 2016 13:10:58 +0200 Message-ID: To: Marko Niinimaki Cc: users Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-users] pktgen send a burst, then wait X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jun 2016 11:11:18 -0000 Hi Marko, pktgen supports LUA scripts and there are few examples. Alternatively you can use "set rate " command. Or you can use any other packet generator (even flood ping). All of them will do 100 packets per few ms easily. Andriy On Thu, Jun 9, 2016 at 11:09 AM, Marko Niinimaki wrote: > Hi, > > pktgen is a great tool, but a bit too fast. I'm using it for sending > requests to a server and I'd need to wait for replies to populate a cache > in-between. So, I'd like to send a burst of 100 packets, then wait for some > milliseconds, repeat. > What would be the nicest way of implementing this? > > Best regards. > Mark -- Andriy Berestovskyy