From owner-freebsd-hackers@freebsd.org Wed Apr 11 13:54:37 2018 Return-Path: Delivered-To: freebsd-hackers@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 9E9FDF96540 for ; Wed, 11 Apr 2018 13:54:37 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8107B981 for ; Wed, 11 Apr 2018 13:54:37 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id CDCEEF9653F; Wed, 11 Apr 2018 13:54:36 +0000 (UTC) Delivered-To: hackers@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 A31D7F9653E for ; Wed, 11 Apr 2018 13:54:36 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (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 110D07B963 for ; Wed, 11 Apr 2018 13:54:36 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id x4so3937043wmh.5 for ; Wed, 11 Apr 2018 06:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=YKXZ6ShiMCBog8lgRYbWjFXFlli69wJWpVHiOqEgHao=; b=Jtpje70j2IaV5l3YOyqpJ9Y5oXPx6+yIKzvcU2Appkyq7lLUH1mCptMDlpDYIJoX6q 7uzutS0AFIrU9seYJPwaRCPIQZswKWkN+GYoPPKypgbLYZw0S8I8w7xi6nfoyABeA6Y1 iEjvhlT8AEEtnZrmrpu2/TXQrZm041r02HtbPyp8tG8VQFXhHlG41JpBr56QxZxVGwdL zoPMU6UGZE+dZn9Hj0gqZyT9iVdB2sIXoAyp0JMwHaU694NWQs60J4eYarIRrPv6t5HP WiNewgBoPQtGBAPHn8ShsOpz14hDRXlHQIaZh/N7kH24R+sfaEVPq4PzE3ga8FZKLz4P /hLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=YKXZ6ShiMCBog8lgRYbWjFXFlli69wJWpVHiOqEgHao=; b=bFkjsR9kjJuHoIKqZK3YiOlx9DzOrLxbgtyuqWbx/IkGy0ivAs+kdCmHsQuQTNV12k DcluMCC3FpopbskC847pAXRMPKu7IzUQCO+Q3D2bkKzOJTRHbZhDxvCZvSQ83Yq4rK/O IHzQZeUTsI5GySQw8M5mN/Wn6Gr9Dq3UzSZKKl/1qoLvtadntZa/7CNkXWsR9aZ3fxrb 6MZFzuki3OVtUOvBjRaaDjZ6TVqwov5CrKBf8uPcy80kkqnFbal8oAL940hzYUo7FXc1 lYwrcYO2S75BVC9Hwiw5BVY+ZM6HB1Nvn4JfsYP+iXcpPBUa5gevDQz5E+eOhiDJ/J7Z jx8A== X-Gm-Message-State: ALQs6tAlFle23VX06ivPGiNPbgoqxr/cOwdfV6L+46QnKdraWRVunxlF GbQr38PD5m5K/jNrF18ERqZIgA== X-Google-Smtp-Source: AIpwx4+5fqhGiUWHQ5Vm3n6VMdFf7UF4nTJX6TDP0ENLGeNueBMPWwS+8G9L0Fes9e3/xqK56Yo/7w== X-Received: by 10.28.232.202 with SMTP id f71mr3057808wmi.136.1523454874500; Wed, 11 Apr 2018 06:54:34 -0700 (PDT) Received: from ernst.home (pD9E23019.dip0.t-ipconnect.de. [217.226.48.25]) by smtp.gmail.com with ESMTPSA id t76sm2581943wme.17.2018.04.11.06.54.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Apr 2018 06:54:33 -0700 (PDT) Date: Wed, 11 Apr 2018 15:54:32 +0200 From: Gary Jennejohn To: hackers@freebsd.org Subject: Re: Realtek re(4) driver Message-ID: <20180411155432.78b23bbe@ernst.home> In-Reply-To: <17a3825a-03f4-0760-8d4f-1ce28a48cfdd@FreeBSD.org> References: <20180411121404.71a07fef@ernst.home> <8919d821-2200-a2aa-87c3-bcad16bc75fb@systella.fr> <20180411104533.GC1134@albert.catwhisker.org> <17a3825a-03f4-0760-8d4f-1ce28a48cfdd@FreeBSD.org> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 13:54:37 -0000 On Wed, 11 Apr 2018 12:51:09 +0200 Alex Dupre wrote: > David Wolfskill wrote: > >> I use a diskless workstation. With re driver provided by FreeBSD kernel > >> (9/10/11.x), system randomly crashed because ethernet driver stalls (and > >> datarate is always less than 300mbps). With official realtek driver > >> (v194.01), system now runs as expected (with datarate up to 1 Gbps). > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=166724 > > Anyone interested in taking the bounty or contributing to it? Perhaps > the FreeBSD Foundation should jump in? > Reading the bugzilla shows that this is a comples problem with no obvious error source. One poster notes that he could transfer 300+GB of data error-free using rsync, but with NFS he encountered problesm after a few GB. To me this is an indictment of the NFS implementation used and not of the re driver itself. The same goes for some other posts. Everyone blames re, but AFAICT no-one switched to a non-Realtek chip to run tests and prove that, yes, re is really the cause of all the network problems. I've been using re for many years in various incarnations - PCIe cards and integrated on the mainboard. I've never experienced any network instabilities. But I've never used one in a NFS server under FBSD. I do, however, have one in a Linux NFS server (which was at one time my primary FBSD box) and never observed any problems. In summary, this is one tough nut to crack. -- Gary Jennejohn