From nobody Thu Jun 24 14:39:14 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 AD46B11D09B9 for ; Thu, 24 Jun 2021 14:39:26 +0000 (UTC) (envelope-from 4250.82.1d4d200061a69eb.0f5beaca8f85a25f2720513f0647eacd@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G9jSt3pBdz4dBL for ; Thu, 24 Jun 2021 14:39:26 +0000 (UTC) (envelope-from 4250.82.1d4d200061a69eb.0f5beaca8f85a25f2720513f0647eacd@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1624545567; x=1627137567; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=kwgqXwWmJZ4dMcOYfo270ci+DajVBaGK5HcYLknOfeg=; b=fUZ33V+8iRpYGfGn/rR1CfqWLp8zQxgtf/UKIrckyO1FlfygEeVQ3ercokwD+oViR3n9bYcokj2u0uPQ1b0ygfOcGNi9sNy7Kxe838jvTigxb8BKwNiE/25TmFsXY9WI+8FhP1XwfMUV2uIC/27uNSYEh4VPSr8Ijwi4Os5PPl0= X-Thread-Info: NDI1MC4xMi4xZDRkMjAwMDYxYTY5ZWIuZnJlZWJzZC1hcm09ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 24 Jun 2021 10:39:17 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 24 Jun 2021 10:39:16 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lwQVe-000BOp-BV; Thu, 24 Jun 2021 15:39:14 +0100 Date: Thu, 24 Jun 2021 15:39:14 +0100 From: Steve O'Hara-Smith To: Denis Ovsienko Cc: Paul Zimmerman , MJ , Mark Millard via freebsd-arm Subject: Re: Raspberry Pi 3B+ and pitiful network speeds Message-Id: <20210624153914.ea32408c50347ad2b390c99b@sohara.org> In-Reply-To: <20210624104331.3f21429d@basepc> References: <20210624104331.3f21429d@basepc> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" 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=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4G9jSt3pBdz4dBL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 24 Jun 2021 10:43:31 +0100 Denis Ovsienko wrote: > On Thu, 24 Jun 2021 01:51:39 -0700 > Paul Zimmerman wrote: > > > I think the performance difference you are seeing vs. NetBSD might be > > because the FreeBSD USB driver for the RPI3 and below does not use > > interrupts, so all the USB transfers are polled. The NetBSD USB driver > > is borrowed from OpenBSD, which in turn is borrowed from the mainline > > Linux driver, which does use interrupts. Hmm what is the poll frequency ? Would it help to increase it ? -- Steve O'Hara-Smith