From owner-freebsd-net@freebsd.org Thu Apr 28 19:06:30 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9102B1FD7C for ; Thu, 28 Apr 2016 19:06:30 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lf0-x233.google.com (mail-lf0-x233.google.com [IPv6:2a00:1450:4010:c07::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 325B2176C; Thu, 28 Apr 2016 19:06:30 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-lf0-x233.google.com with SMTP id c126so107433141lfb.2; Thu, 28 Apr 2016 12:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=B1zcKx6xBa1oCMPEqcho2d4jSkyIccJJoe3ZNj+x5k4=; b=L4Egcx5u+PV1EodMuD0eLZiui5XXGz0lX0jpVUm7MGxvqMBKrOJv9bh0JhBar9zEoi asFZ7DPjOOfJIg/QRWkiRkDBjG18aQTmecVr+vSLRhC2lKHxPWwIdpHFYl/0h4J4vZIo SD+xFALDSoTi7foRM4rSqqYDRYlO675uu0uK3bDcdtp7tLlYZTlr+qqe3KwB+Xf9qyEK bldEEcC7+x/VgHVuF5Sf5+FYjJYD3dV3krqb1/MtKemJ4kHrBCubCSaPxGyUWomIHzTF EP3aPlooQxD+fSpudg4m+S5JnKBHOva1ZgLWZIbHBbKqLnnnlH3sieDnCk/qp29oy2fF d+1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=B1zcKx6xBa1oCMPEqcho2d4jSkyIccJJoe3ZNj+x5k4=; b=X5IvYTZ6c9NU+usyaJ4sau5BKYg4sHSAXllUwyYj1RNUNzo3vDO2Bp63wNzIoQW8Ay 6nsaP6+Hq4tLmfyBc9LOPEm+/FXT1/h4kn5WACxKmIyMp/QjZyiuCVc5+kyFk0NLrget ZuAoPkaOMsIQ4ziOF3mhjQZPvksjOGHWWJ4/jp7Qy78QBYZkqiEbxOsehH5epuc/EYul FNx92uSKT4/aUTIWbE0W8/L9pR5n7m9Fk4ixxi3ZAX2RriWNDq2Bea+f2LXkTKnu2DOq u1gtsJOc92GMB4t6V+C24ivuisYgVFwWKkgPu5SBicsMvoQQrQ4cV0uXmM3BPvpRXGXm G3fg== X-Gm-Message-State: AOPr4FV37cSbGhBh1OGnD/BujzWfI2E9VvW1ElgwqdP8vYvkgayVHEpDqWHNV/f0+BvecU9DJhethIaVgLnr5Q== MIME-Version: 1.0 X-Received: by 10.25.145.149 with SMTP id t143mr6903976lfd.37.1461870388457; Thu, 28 Apr 2016 12:06:28 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.79.102 with HTTP; Thu, 28 Apr 2016 12:06:28 -0700 (PDT) In-Reply-To: <863506de-870e-0da4-81d3-6ab537feaa2b@gmail.com> References: <9fd88731-2cdf-a6da-4b4e-f97bb120696a@FreeBSD.org> <863506de-870e-0da4-81d3-6ab537feaa2b@gmail.com> Date: Thu, 28 Apr 2016 21:06:28 +0200 X-Google-Sender-Auth: HtwcOlyO-6bIP7lccBsxcSzGJpc Message-ID: Subject: Re: netmap overrun counters From: Luigi Rizzo To: bazzoola Cc: Navdeep Parhar , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2016 19:06:30 -0000 On Thursday, April 28, 2016, bazzoola wrote: > > > On 04/28/2016 11:35 AM, Navdeep Parhar wrote: > > On 04/28/2016 11:13, bazzoola wrote: > >> Hi! > >> > >> Two questions: > >> > >> (1) Is there a way to know when netmap rx rings overrun? Most NIC > >> drivers provide MPC (missed packet count) and sysctl for rx_overrun. > >> > >> I would like to know if my application is not reading as fast, i.e., no > >> frames are being dropped. > > > > A NIC's hardware counters don't distinguish between netmap or normal > > operation so you can monitor the existing sysctls for rx drops/overruns. > > > > Regards, > > Navdeep > > > > Navdeep, > > I am not asking about NIC's ring overrun. As you know netmap has its own > rings. Is there a way to know if netmap's rx ring overrun? Overruns by definition can only be counted by the NIC Cheers Luigi > > Thanks for your input. > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org > " > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------