From owner-freebsd-net@FreeBSD.ORG Sat Jan 4 18:47:32 2014 Return-Path: Delivered-To: freebsd-net@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 ESMTPS id 61B7C9FE; Sat, 4 Jan 2014 18:47:32 +0000 (UTC) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B72B176B; Sat, 4 Jan 2014 18:47:31 +0000 (UTC) Received: from [192.168.1.103] (p508F1427.dip0.t-ipconnect.de [80.143.20.39]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id C25DA1C0C0695; Sat, 4 Jan 2014 19:47:28 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: 10.0-RC1: bad mbuf leak? From: Michael Tuexen In-Reply-To: <20131225133356.GL71033@FreeBSD.org> Date: Sat, 4 Jan 2014 19:47:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1387204500.12061.60192349.19EAE1B4@webmail.messagingengine.com> <3A115E20-3ADB-49BA-885D-16189B97842B@FreeBSD.org> <20131225133356.GL71033@FreeBSD.org> To: Gleb Smirnoff X-Mailer: Apple Mail (2.1510) Cc: FreeBSD Net , FreeBSD Stable Mailing List , Mark Felder X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 18:47:32 -0000 On Dec 25, 2013, at 2:33 PM, Gleb Smirnoff wrote: > Mark, >=20 > On Tue, Dec 24, 2013 at 10:54:33AM -0600, Mark Felder wrote: > M> > finally found some free time today to try to look into this. I = was digging into the SVN changelogs of sys/dev/e1000 and couldn't see = any obvious changes that I should revert. Instead I went a different = route and jumped to HEAD/CURRENT. I'm not seeing the mbufs leaking yet. = I'll need another 24 hours to confirm. Hopefully this is a worthwhile = clue. I'm a bit surprised nobody else has reported this type of = behavior... maybe 10 isn't getting the amount of testing we expect? = ...or maybe it's just my lonely, haunted hardware :( > M>=20 > M> Ok, I feel safe confirming that 10.0-RCs are not stable on my = hardware. The mbuf problem went away completely when I jumped to = head/current. > M>=20 > M> Can someone please suggest what patch I can attempt to back out to = fix this? I'd like to try to assist in fixing this before 10.0-RELEASE = happens or we're going to have some very angry users. >=20 > Is it possible for you to bisect head from the stable/10 branchpoint = up > to the current date and narrow down the revisions that introduced (and = later > fixed?) the leak? I did a bisect and http://svnweb.freebsd.org/changeset/base/258690 resolved the issue on my system: [bsd4:~] tuexen% uname -a FreeBSD bsd4.fh-muenster.de 11.0-CURRENT FreeBSD 11.0-CURRENT #192 = r258689: Sat Jan 4 19:48:27 CET 2014 = tuexen@bsd4.fh-muenster.de:/usr/home/tuexen/head/sys/amd64/compile/SCTP = amd64 [bsd4:~] tuexen% netstat -m 10755/315/11070 mbufs in use (current/cache/total) 10752/66/10818/508004 mbuf clusters in use (current/cache/total/max) 10752/30 mbuf+clusters out of packet secondary zone in use = (current/cache) 0/0/0/254001 4k (page size) jumbo clusters in use = (current/cache/total/max) 0/0/0/75259 9k jumbo clusters in use (current/cache/total/max) 0/0/0/42333 16k jumbo clusters in use (current/cache/total/max) 24192K/210K/24403K bytes allocated to network (current/cache/total) 150/5047/10782 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile [bsd4:~] tuexen% uname -a FreeBSD bsd4.fh-muenster.de 11.0-CURRENT FreeBSD 11.0-CURRENT #193 = r258690: Sat Jan 4 19:56:38 CET 2014 = tuexen@bsd4.fh-muenster.de:/usr/home/tuexen/head/sys/amd64/compile/SCTP = amd64 [bsd4:~] tuexen% netstat -m 10755/3000/13755 mbufs in use (current/cache/total) 10752/1374/12126/508004 mbuf clusters in use (current/cache/total/max) 10752/1373 mbuf+clusters out of packet secondary zone in use = (current/cache) 0/0/0/254001 4k (page size) jumbo clusters in use = (current/cache/total/max) 0/0/0/75259 9k jumbo clusters in use (current/cache/total/max) 0/0/0/42333 16k jumbo clusters in use (current/cache/total/max) 24192K/3498K/27690K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile [bsd4:~] tuexen%=20 Best regards Michael >=20 > --=20 > Totus tuus, Glebius. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20