From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 27 23:20:00 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A4706F1B for ; Fri, 27 Sep 2013 23:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 84A5F218C for ; Fri, 27 Sep 2013 23:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8RNK018013505 for ; Fri, 27 Sep 2013 23:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8RNK0aK013504; Fri, 27 Sep 2013 23:20:00 GMT (envelope-from gnats) Resent-Date: Fri, 27 Sep 2013 23:20:00 GMT Resent-Message-Id: <201309272320.r8RNK0aK013504@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Olivier Cochard-Labbe Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4879DDF0 for ; Fri, 27 Sep 2013 23:12:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 369EA214F for ; Fri, 27 Sep 2013 23:12:09 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8RNC8Ur066179 for ; Fri, 27 Sep 2013 23:12:08 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8RNC8fA066176; Fri, 27 Sep 2013 23:12:08 GMT (envelope-from nobody) Message-Id: <201309272312.r8RNC8fA066176@oldred.freebsd.org> Date: Fri, 27 Sep 2013 23:12:08 GMT From: Olivier Cochard-Labbe To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/182448: systat -if have invalid counters with 10Gb/s traffic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 23:20:00 -0000 >Number: 182448 >Category: bin >Synopsis: systat -if have invalid counters with 10Gb/s traffic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 27 23:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Olivier Cochard-Labbe >Release: 9.2-RC4 >Organization: BSD Router Project >Environment: FreeBSD bsdrp2.orange.bsdrp.net 9.2-RC4 FreeBSD 9.2-RC4 #0 r255473M: Fri Sep 20 23:47:45 CEST 2013 root@orange.bsdrp.net:/usr/obj/BSDRP.amd64/usr/local/BSDRP/BSDRP/FreeBSD/src/sys/amd64 amd64 >Description: During a 10Gb/s network load test I found that systat didn't display good values with the default 5 seconds refresh (but it's fixed with less than 5 seconds refresh). Here is an example with "systat -ifstat" + ":scale gbit" : /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average ||| Interface Traffic Peak Total ix0 in 2.964 Gb/s 2.964 Gb/s 143.442 TB out 0.000 Gb/s 0.000 Gb/s 0.566 KB During the same network load, now with a 1 seconds refresh: "systat -ifstat 1" + ":scale mbit" : "systat -ifstat" + ":scale mbit" : /0 /1 /2 /3 /4 /5 /6 /7 /8 /9 /10 Load Average ||| Interface Traffic Peak Total ix0 in 9.827 Gb/s 9.830 Gb/s 143.396 TB out 0.000 Gb/s 0.000 Gb/s 0.566 KB => Notice that the bar "Load Average" didn't change with the new refresh time. >How-To-Repeat: just start "systat -ifstat" under high usage of 10Gb/s NIC >Fix: >Release-Note: >Audit-Trail: >Unformatted: