From owner-freebsd-net@freebsd.org Tue Jan 2 21:33:29 2018 Return-Path: Delivered-To: freebsd-net@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 E3052EBAC0A; Tue, 2 Jan 2018 21:33:29 +0000 (UTC) (envelope-from johnllyon@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 70516749DD; Tue, 2 Jan 2018 21:33:29 +0000 (UTC) (envelope-from johnllyon@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id a79so184783wma.0; Tue, 02 Jan 2018 13:33:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7SjbRbldEyOfQAkoAn4pIjZruJl3/+Di5B/hHX8P02w=; b=EwHv4TRA/UTEIpPpDD4wTXoC/2DZSwolYdj2HHtG0GrrA6GoPL4rfjoAgDeoaAnkX6 M4pMfvH3Dp+Ir/7xHt6TcE9VO8rrCjK7NqBZbauBRRNfKBsaRiP1jN1lUWzDlLrhRQcb KYpF8B9ELB2wA1RAutyU/cOr5kGpPJ3pjTZblKd+yxqFfB50Oj6QEVp5BFvYLSDCqydH SUjGRkCLBgsjSwIfTPje/by8LotB1ifQlvoiVeLpohm+xVd8azY0doW+54/lWnbMqp4W VTbcxW3NAFHb/AbCKDX/n+1d+gyaXC3lWpL4mmzTTYaMT6Y5ah20PngeLLzk3b1EZUrI EOEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7SjbRbldEyOfQAkoAn4pIjZruJl3/+Di5B/hHX8P02w=; b=G4gEfoR9C+H5sdKXDRzqz9ex40XaYwr//g/Gl70LrqsTd1mbaq7gWRTrIRsSEugjQj bkfrIvx+NMn/o0+kYEdhPqewRxyw3FmExzuiJd22FPoUmo4TGZ+4eWq03dpPRCslTQ1N 5kczePynRvgvFJLqr9PjqYxaDxRnNDj6FvVxaCq/69NWQFeTAoZBNB5HWkZWCa0u2fQL y6qenjjYtkKV3XZ11vN07jJtzegHtjEugva+lWbnQFW4hiQAtM0U3iEwkFYbSyM4JWo3 WikHIOYQKtqNRPPK92SrZpBx9gHMT5//3rbo5hg5/kwa0WzXRI8Lbr5/+J/ImtP87Rr3 04Kw== X-Gm-Message-State: AKGB3mI+Mk3gUyYcc3ALBUv4MonsEaY9POyRhf+3T/pvoAI8icKwovru KTLZ0iZrcrpnZr5I/JpwV9Xxe1/K5XLTQzkoTRqEMTjL X-Google-Smtp-Source: ACJfBoum/qo7kVFJf2SXORU+pf3/Iz97bp7+aDUTJZEveRFBbBB+c9dIB1/lKaiAgxTSp7qiqw4aeKnG73utFbg4OJs= X-Received: by 10.80.137.154 with SMTP id g26mr63069551edg.146.1514928807819; Tue, 02 Jan 2018 13:33:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.211.20 with HTTP; Tue, 2 Jan 2018 13:33:07 -0800 (PST) In-Reply-To: <14197.1514925499@segfault.tristatelogic.com> References: <14197.1514925499@segfault.tristatelogic.com> From: John Lyon Date: Tue, 2 Jan 2018 16:33:07 -0500 Message-ID: Subject: Re: Recommendations for cheap PCI-E network adapter ? To: "Ronald F. Guilmette" Cc: freebsd-hardware@freebsd.org, freebsd-net@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 21:33:30 -0000 Work and work well are two very different things. :-) What's your use case? If this is for a home box, developer box, or something that is not "enterprise production," then I wouldn't worry about RealTek cards bought in the last 5 years. Their 10/100 cards from 15 years ago were crap, which is how they earned their bad reputation. However, the continuing dismissiveness towards RealTek is mostly undeserved in my opinion. The issue currently is the state of the drivers themselves and not the cards. For example, the drivers themselves that FreeBSD includes have problems. However, you can always download the source code to the latest FreeBSD drivers from the RealTek website and all of the "bugs" disappear. For example, using the included FreeBSD drivers on my firewall/router (which uses RealTek NICS), I would get mysterious watchdog timeouts in my system logs and eventual disconnects from the WAN. The only way to reconnect was to reboot. The disconnect would occure every few days to a week when processing more than ~200 Mb of sustained traffic. After downloading, compiling, and installing the latest drivers available on the RealTek website, my problems disappeared. I can now route at sustained gigabit speeds. But this is true of any piece of hardware - you use old or bad drivers and you get bad results. You use newer drivers with the bugs worked out, you get better performance. A large part of the reason why Intel NICS are so beloved and perform so admirably is that the quality of their drivers is much higher. That said, if you're cost sensitive, buy your NICS used. There are lots of suppliers that take decommissioned servers and sell them for parts. The NICS might not be new, they might not even be manufactured anymore, but they are perfectly serviceable. Last time I checked, the going rate for used Intel NICS was something like $10 per port + shipping. I think used Broadcom NICS were similar in pricing. Both have good driver support for both FreeBSD and Linux out of the box, so you don't have to worry about the hassle of downloading, compiling, and installing newer drivers from source. -------------------------------- John L. Lyon PGP Key Available At: https://www.dropbox.com/s/skmedtscs0tgex7/02150BFE.asc On Tue, Jan 2, 2018 at 3:38 PM, Ronald F. Guilmette wrote: > > I need to buy a PCI-E ethernet card. It won't really matter if it > is 10/100/1000 or just 10/100 but it has to work with FreeBSD at a > minimum. It would be Nice if it was also supported by Linux and > Windoze7, but that isn't really critical. > > I'm a serious cheapskate, so I'd like to spend as little as possible. > I don't need anything super-deluxe. Whatever is cheapest will be fine, > even if the performance is only so-so. > > Recommendations would be appreciated. > > > P.S. The small amount of research I just now did suggests that Realtek > based cards should be avoided, but one reviewer said that the Rosewill > RC-411v3 works just fine on Ubuntu, so I'm not sure what to think about > Realtek-based cards now. The price is right (for me) on the Rosewill > RC-411v3, but various online threads (relating to Realtek chips) give > me pause... > > https://forums.freebsd.org/threads/60033/ > > https://forums.freebsd.org/threads/55861/ > > I really can't see blowing fifty bucks on a simple, low-end ethernet card, > but everything inexpensive seems to be Realtek-based. :-( > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >