From owner-freebsd-mips@freebsd.org Sat Oct 31 20:26:02 2015 Return-Path: Delivered-To: freebsd-mips@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 AE764A22A88 for ; Sat, 31 Oct 2015 20:26:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 325061167; Sat, 31 Oct 2015 20:26:01 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t9VKPpIl051586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 31 Oct 2015 21:25:52 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: adrian@freebsd.org Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t9VKPkDG053174; Sun, 1 Nov 2015 03:25:47 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: CPU underload To: Adrian Chadd References: <56348063.3090508@grosbein.net> <56348239.3050701@grosbein.net> <563500FC.8020201@grosbein.net> <5635148B.2070307@grosbein.net> <56351AA6.80903@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein Message-ID: <563523CA.3040207@grosbein.net> Date: Sun, 1 Nov 2015 03:25:46 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM autolearn=no version=3.3.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2015 20:26:02 -0000 On 01.11.2015 03:10, Adrian Chadd wrote: > Hm, okay. Try doing ping -i 0.01 (ie, every 10ms.) I wonder if it's > happening more frequently and we're hitting sampling bias. Now without HWPMC_MIPS_BACKTRACE and with full CPU load it started dropping packets under load, both with "-i 0.1" and "-i 0.01": # ping -c 450 -s 1472 -i 0.1 192.168.3.1 [skip] 450 packets transmitted, 425 packets received, 5.6% packet loss round-trip min/avg/max/stddev = 0.285/0.715/7.184/0.383 ms # ping -c 4500 -s 1472 -i 0.01 192.168.3.1 [skip] 4500 packets transmitted, 4284 packets received, 4.8% packet loss round-trip min/avg/max/stddev = 0.238/0.725/7.677/0.389 ms In the latter case: # grep -v 'time=[01]' log PING 192.168.3.1 (192.168.3.1): 1472 data bytes 1480 bytes from 192.168.3.1: icmp_seq=5 ttl=64 time=7.017 ms 1480 bytes from 192.168.3.1: icmp_seq=101 ttl=64 time=6.517 ms 1480 bytes from 192.168.3.1: icmp_seq=490 ttl=64 time=2.121 ms 1480 bytes from 192.168.3.1: icmp_seq=684 ttl=64 time=2.640 ms 1480 bytes from 192.168.3.1: icmp_seq=1165 ttl=64 time=2.987 ms 1480 bytes from 192.168.3.1: icmp_seq=1453 ttl=64 time=6.688 ms 1480 bytes from 192.168.3.1: icmp_seq=2419 ttl=64 time=2.769 ms 1480 bytes from 192.168.3.1: icmp_seq=2515 ttl=64 time=4.655 ms 1480 bytes from 192.168.3.1: icmp_seq=2612 ttl=64 time=4.706 ms 1480 bytes from 192.168.3.1: icmp_seq=2902 ttl=64 time=7.677 ms 1480 bytes from 192.168.3.1: icmp_seq=2998 ttl=64 time=7.548 ms 1480 bytes from 192.168.3.1: icmp_seq=3095 ttl=64 time=3.359 ms 1480 bytes from 192.168.3.1: icmp_seq=3191 ttl=64 time=5.047 ms 1480 bytes from 192.168.3.1: icmp_seq=3483 ttl=64 time=7.278 ms 1480 bytes from 192.168.3.1: icmp_seq=3579 ttl=64 time=7.192 ms 1480 bytes from 192.168.3.1: icmp_seq=3870 ttl=64 time=6.866 ms 1480 bytes from 192.168.3.1: icmp_seq=3967 ttl=64 time=4.824 ms 1480 bytes from 192.168.3.1: icmp_seq=4063 ttl=64 time=4.385 ms 1480 bytes from 192.168.3.1: icmp_seq=4352 ttl=64 time=7.525 ms 1480 bytes from 192.168.3.1: icmp_seq=4450 ttl=64 time=2.993 ms --- 192.168.3.1 ping statistics --- 4500 packets transmitted, 4284 packets received, 4.8% packet loss round-trip min/avg/max/stddev = 0.238/0.725/7.677/0.389 ms