From nobody Fri Mar 18 15:36:22 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EA8CE1A2F8BB for ; Fri, 18 Mar 2022 15:36:34 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KKp5Z1Q30z3stZ for ; Fri, 18 Mar 2022 15:36:34 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oo1-xc2c.google.com with SMTP id h16-20020a4a6f10000000b00320507b9ccfso10550126ooc.7 for ; Fri, 18 Mar 2022 08:36:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=t2nUKKxu61V60JYFIAD4KmQI57flaNPRtxy3cUWc25g=; b=GGqFfXoWuP1KrhPLNRkHMUr6Zf9+k8PPmzSPii8ElQhPHm+YVc+MyKfUx1oz/RYAgy mvlT3IeuuWkkdzcSDJKcACGh6xVb8SQrPpMvoRT80ec+XcqFFZF43y0uPRil21jmQZQd +FgexrMF0Bj1ek4UjRMekzCzmFHjSOYNBCA4uzwkqs31+UdqA3u083FeSQtSc8mcpktM seNxWgDsFBMf1Weml3YTmVjEy4hr5PFNS4Cpg9JzYXA5QWI5pugRXjCQlyN3LFRV2644 s5Acc7nJOlbI4hO7/OmnTuO3+yBAyv11CwzA+n4oOucjBtqSS9CgSHKhkxhltx5i8zpx tjiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=t2nUKKxu61V60JYFIAD4KmQI57flaNPRtxy3cUWc25g=; b=VGztDiN36uC3Id8ktUwftcV4E4qXQZV+Sy1zfDH2/B/pwYrUWO1ilqIMeR5NNgJf3o yNF1zDfYfHcN7Y/UZsGTQWI9++VVIVmUZaJ4jsLGAOyZh4QguFPKcKct017EW7CEv1Im gQT4VZ/iinJnFS0A5rv1j2kEW6L0h79RJ6tCKQYPkqO8StEzDI3vWgqCfLATwNyxDu1A s8ZxMZhxYAyN06i7Cm+SwxdGAogEIuroAaUwxqJPOcftv1xWei4kzHOZAGeFyfd6tZkD 0CyDNKiYQWnlqcbAEAYqkOGFbk6jyLpljfWCMIojiqc6WdfNsUKR04BjIu04YAd/nXct c4kg== X-Gm-Message-State: AOAM5312obefQPVIbpnC4fY29/1Rgo6EUHIbbEBNpMiga8cHiMw+68+Z f8ij4jtFYKQs3MMHeOfdSB0VCarDVwh3XRTNn1vEcvIniAcXGA== X-Google-Smtp-Source: ABdhPJxhcGU1RMjO2RHR5Ww19ONrvhafMywAdXuv+cEmX8WptyW++CvqA8Ya1Y2LvR3UV8Ih9FBCik9txZFcP97fcMo= X-Received: by 2002:a05:6870:891d:b0:da:b3f:2b3f with SMTP id i29-20020a056870891d00b000da0b3f2b3fmr7272769oao.222.1647617793346; Fri, 18 Mar 2022 08:36:33 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <0a8f74d6-4579-79fc-3b73-08a09a692366@holgerdanske.com> In-Reply-To: <0a8f74d6-4579-79fc-3b73-08a09a692366@holgerdanske.com> From: Tomasz CEDRO Date: Fri, 18 Mar 2022 16:36:22 +0100 Message-ID: Subject: Re: PCIe 3.0 8 port SATA 6 Gbps HBA for SOHO network To: David Christensen Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KKp5Z1Q30z3stZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=GGqFfXoW; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::c2c) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.985]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c2c:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-questions]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Fri, Mar 18, 2022 at 1:01 AM David Christensen wrote: > I have a SOHO network with various x86_64 servers/ workstations/ > desktops (FreeBSD, Debian, Windows) and an assortment of phones/ pads/ > pods/ televisions/ game consoles, etc.. I would like to add more SATA 6 > Gbps HDD's and/or SSD's to the x86_64 machines and am looking for a > suitable PCIe 3.0 8 port SATA 6 Gbps host bus adapter (non-RAID). > > The LSI=C2=AE SAS 9207-8i PCI Express=C2=AE to 6Gb/s Serial Attached SCSI= (SAS) > Host Bus Adapter looks appealing: > > https://docs.broadcom.com/doc/12353331 > > Comments or suggestions? > David Hello David :-) 1. PCI-E 3.0 x8 card may not achieve full 8 * 6Gbps as it close to 7.877GB/s bus limits (according to [1]). If speed is not crucial this card looks really nice may give plenty of storage at decent price. I never used it but may also buy one :-) 2. If speed is crucial then you may consider M2 NVM controller for newer SSD devices that are faster than SATA. Such controller works with FreeBSD even on a motherboards with no NVM support in BIOS but you need to boot and run kernel from a bios compatible device then use nvm as root. Some newer motherboards may have no M2 NVM slot but support for NVM in BIOS so you can boot directly from PCI-E NVM controller in that case. 3. Real PCI-E speed depends on chipset. Older motherboard that I had with AMD 970/SB950 chipset had 500MB/s limit for Ethernet/SATA/PCI-Ex1, while only replacing motherboard to AMD 990FX chipset gave 1GB/s with no problem, both are PCI-E 2.0 in theory. [1] https://en.wikipedia.org/wiki/PCI_Express --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info