From owner-freebsd-stable@freebsd.org Tue Apr 9 18:19:31 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A02E1568263 for ; Tue, 9 Apr 2019 18:19:31 +0000 (UTC) (envelope-from ncrogers@gmail.com) Received: from mail-yw1-xc33.google.com (mail-yw1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2061171C20 for ; Tue, 9 Apr 2019 18:19:30 +0000 (UTC) (envelope-from ncrogers@gmail.com) Received: by mail-yw1-xc33.google.com with SMTP id l15so6587651ywe.8 for ; Tue, 09 Apr 2019 11:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IZk2Ay+1fj8d+KC2u9CqBQloU1smT50kr0NQwCjppUQ=; b=DSoZFBoogw9eKTqEDRhXkOrUF1LLr4yympdGo3nKgQSeM5bAbg8zpQkg4xrrk+3Jgj bjOu9bzaVZrdXxdHiv9Qa+U2URFd8FcRNvfFTRscfESafDPPYjiGglI7ugH8KSZbjNcy ptjUoGpEy3JWKpHf57SwjH2FnbFVOXNSmgkVSvvB4hfEsQxcJH0ueKplP1zIwgyC/u3c +AgxdjpMYODCoR4b1W7TouS4vwo0Oni3Wv5xKoUTLWXEOvFhimR33uKcUw/dGOF9b2vd MP7zvRTJZcKIYzBOk5jCJRe7Y5q76YEfAHd2Kx7cO7pF6ObVmeEttkFmzRab+ljSdQrJ iifQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IZk2Ay+1fj8d+KC2u9CqBQloU1smT50kr0NQwCjppUQ=; b=TgI341HR5VJxoaV0MWx6TQv4V8x3pTMDSmMc7n9CGuGLT2Usc9vxUA2q0swnBDZrg4 7qK3mwh/aU8x9HlbLIRxGp0kK5WnVeB190VgkkgeSYEyi5G9Mfj+alyJcnK4DFx1MW1c lByKaaCmzJtK1bPnC6lSln78R14uxldgZRZN6HQ59LDHx6KPkNZIPPS9MI3BhoclKAZQ P4MgdffldxoRqxl6InRRb9LWe0dS2GmNVr1wbZM8KP5Ygzt1M4jI1HrH5XP2GIBe9kLG WBUeo82qFfWeN6VMN+X+U+Psl4gWXFY1PjCyilqfc5e1T0HVlzD1d+h3Y8F+yB4W5MBi aHew== X-Gm-Message-State: APjAAAUUUOqkznNWirs5rtk3ppO+/UOy1VJhsuVbcGGKl+9zwt1zfHZ3 d4CcmupwwQWic4OLFRvIHc8PzcMjeNXiUMfj2y8= X-Google-Smtp-Source: APXvYqyPcO1CSSc/HU1JYiD/nslZOjxHQBqGnDU7OMmrBaXc3i8+4/z/xYCB5l6u1w2JoJivnFlRv2B//idrBWYeMpY= X-Received: by 2002:a81:9914:: with SMTP id q20mr30652720ywg.35.1554833969331; Tue, 09 Apr 2019 11:19:29 -0700 (PDT) MIME-Version: 1.0 References: <7673edad-1e50-7e9b-961e-f28ab7a0f41e@ingresso.co.uk> <81e63eaf-352d-4b29-a4c0-9085e699931e@menhennitt.com.au> In-Reply-To: <81e63eaf-352d-4b29-a4c0-9085e699931e@menhennitt.com.au> From: Nick Rogers Date: Tue, 9 Apr 2019 14:19:18 -0400 Message-ID: Subject: Re: em performs worse than igb (latency wise) in 12? To: Graham Menhennitt Cc: FreeBSD STABLE X-Rspamd-Queue-Id: 2061171C20 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DSoZFBoo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ncrogers@gmail.com designates 2607:f8b0:4864:20::c33 as permitted sender) smtp.mailfrom=ncrogers@gmail.com X-Spamd-Result: default: False [-5.73 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.73)[ip: (-8.45), ipnet: 2607:f8b0::/32(-2.95), asn: 15169(-2.18), country: US(-0.06)]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.c.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; SUBJECT_ENDS_QUESTION(1.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 18:19:31 -0000 On Sat, Apr 6, 2019 at 10:24 PM Graham Menhennitt wrote: > Not that it's at all relevant to the question here, but... > > It does mostly work without em in the 12 kernel - I'm not sure how, but > it does. > > I upgraded to 12-stable via source but didn't add em to my custom > kernel. Most things worked - basic network functionality. But I had > problems with ipfw and igb. Adding em to the kernel fixed them. > FWIW the latest GENERIC kernel includes the iflib, em, etc devices as far as I can tell. I found the new UPDATING entry about iflib "no longer unconditionally compiled into the kernel" a bit confusing... So long as you are including GENERIC it should be the same as 12-RELEASE. > Graham > > On 6/4/19 6:12 am, Kris von Mach wrote: > > On 4/6/2019 2:56 AM, Pete French wrote: > >> Something odd going on there there - I am using 12-STABLE and I have > >> igb just fine, and it attaches to the same hardware that 11 did: > > > > It does work in 12, throughput is great, just that the latency is > > higher than 11. > > > > igb0: flags=8843 metric 0 mtu > > 1500 > > > options=e527bb > > > > > ether 38:ea:a7:8d:c1:6c > > inet 208.72.56.19 netmask 0xfffffc00 broadcast 208.72.59.255 > > inet6 fe80::3aea:a7ff:fe8d:c16c%igb0 prefixlen 64 scopeid 0x1 > > inet6 2602:ffb8::208:72:56:9 prefixlen 64 > > media: Ethernet autoselect (1000baseT ) > > status: active > > nd6 options=21 > > > >> Do you have a custom kernel, and if so did you see this note in > >> UPDATING? > > > > Yes I do, but it includes all of GENERIC which includes em drivers, > > otherwise it wouldn't even work with the network card. > > > > my custom kernel: > > > > include GENERIC > > ident CUSTOM > > makeoptions WITH_EXTRA_TCP_STACKS=1 > > options TCPHPTS > > options SC_KERNEL_CONS_ATTR=(FG_GREEN|BG_BLACK) > > options IPSTEALTH > > options AHC_REG_PRETTY_PRINT # Print register bitfields in debug > > options AHD_REG_PRETTY_PRINT # Print register bitfields in debug > > device cryptodev > > device aesni > > > > I did try without RACK just in case that was the culprit. > > > > > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > " > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >