From nobody Sun Jun 20 12:10:34 2021 X-Original-To: freebsd-arm@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 C5D5611DF269 for ; Sun, 20 Jun 2021 12:10:43 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G7BM66Hrsz3C5x for ; Sun, 20 Jun 2021 12:10:42 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pf1-x430.google.com with SMTP id u18so6150419pfk.11 for ; Sun, 20 Jun 2021 05:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=qbPAVfmWtbTMI3fRIZJbkGkI7A0Zj9zEVjYOWQt76ME=; b=NNzNNjgxztdBN+hrh39eb2b4yij3G8UzgpO5zevRk1YKnCS8g62bygyY2LllZWNAc2 5W0Gk7rgDqNk4ijTBj5oGxTdhcGcmt4LwlGpEZlmjXnlt8Kx+xQMmYhJtRdW7Uj2WAqf C1b1RicmGSl0uarBskguZBCH0fKxEfI7WmFNtZMDNN1y2UU/HePp+w/1oObVP5We3CBY Y/XR3/SxBkPY5vr3rmGT8p0qY6mO9jx5jxAuabhnrRR5yo8qOJVWtaB/OU681CDa2pn3 BSZ6dhzNiMF9j+4Xc/aWm9RsHCsYBptMvMzLenkVcVfXXP98obtlrAVlLpWvX3WIHyMw E/NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=qbPAVfmWtbTMI3fRIZJbkGkI7A0Zj9zEVjYOWQt76ME=; b=X4inHg7ZIgFGFVxZHReGidTALjdL1y0bM1pXbkMFhbrVMHQ6daHCrlFX5k1VXIIadW g7jNmq6brkK5Ya/zOAKy8UEUjmTpDdObXllaKL6N9Lsv/yW7CbH27n/rJVEiHXNISTIQ c0o0a9pPborhMkhE+I9YKDiOddw/hCou0IyPPPKvxGidGSQzODMUa/XnwqbxWqpsi0Ha EE0PXIZL3aCIyMAOGkRktoWzH9cWVEJ93M8o1owDbJx93KN5sl+DJEQQwk4YYVjs7KAV OmJYtaSUiG5Uijgc/h21XBeJzFUHncRIpnvmsKEiEhRZsL4S3bORJNtVSmHvrpcNJDi9 oCqw== X-Gm-Message-State: AOAM530hRf5uPnW+u20IpqLhpMjW7pz/WuU14RTqqfiQKMHiJBfS2DR1 vxwt8NbgGJ1J8LAnrsGybDOEYJ8xVes= X-Google-Smtp-Source: ABdhPJw3aqTy56Bax6R1un9c+UjKDYXHUKQrcKgkUyeSqdutKOHPsbDsrrPkiOPL9w+PdhQlnyWNcQ== X-Received: by 2002:a63:df56:: with SMTP id h22mr18968642pgj.224.1624191041169; Sun, 20 Jun 2021 05:10:41 -0700 (PDT) Received: from [192.168.1.10] ([115.69.53.183]) by smtp.gmail.com with ESMTPSA id h20sm12020693pfh.24.2021.06.20.05.10.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Jun 2021 05:10:40 -0700 (PDT) To: freebsd-arm@FreeBSD.org From: MJ Subject: Raspberry Pi 3B and pitiful network speeds Message-ID: Date: Sun, 20 Jun 2021 22:10:34 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-AU X-Rspamd-Queue-Id: 4G7BM66Hrsz3C5x X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NNzNNjgx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::430 as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-3.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.991]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::430:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::430:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::430:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-ThisMailContainsUnwantedMimeParts: N I have installed 13 onto a 64GB SD Card (SanDisk extreme Pro). FreeBSD rpi3 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 06:06:55 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 ue0: flags=8843 metric 0 mtu 1500         options=80009         ether b8:27:eb:14:fc:2c         inet 192.168.1.24 netmask 0xffffff00 broadcast 192.168.1.255         media: Ethernet autoselect (1000baseT )         status: active         nd6 options=29 The problem is the network speed is barely hitting 9 Mb/s. This is either using FTP or Samba. I have previously been running Devuan/Linux and it consistently gets 18.5 MB/s using FTP or Samba. Linux rpi3 4.16.14-v8+ #1 SMP PREEMPT Tue Jun 5 18:50:10 CEST 2018 aarch64 GNU/Linux Now, I managed to get an increase of about 1 megabyte when setting hw.usb.xhci.use_polling to 1, but I'm unconvinced this wasn't just a stroke of good fortune. Is there anything I can do to increase its performance or is this just FreeBSD's USB stack being slow? Thanks Matt.