From owner-freebsd-questions@freebsd.org Sat Jul 25 00:18:29 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 952DA37870A for ; Sat, 25 Jul 2020 00:18:29 +0000 (UTC) (envelope-from SRS0=ozwQ=BE=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4BD69c4mYtz4SqN for ; Sat, 25 Jul 2020 00:18:28 +0000 (UTC) (envelope-from SRS0=ozwQ=BE=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4BD69b1w9Hz2fjRM; Fri, 24 Jul 2020 17:18:27 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: Slowing network speed From: Doug Hardie In-Reply-To: Date: Fri, 24 Jul 2020 17:18:26 -0700 Cc: Lars Liedtke , User Questions Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200724123844.GA24036@doctor.nl2k.ab.ca> To: Patrick Mahan X-Mailer: Apple Mail (2.3445.104.15) X-Virus-Scanned: clamav-milter 0.101.4 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4BD69c4mYtz4SqN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=ozwQ=BE=mail.sermon-archive.info=doug@sermon-archive.info designates 71.177.216.148 as permitted sender) smtp.mailfrom=SRS0=ozwQ=BE=mail.sermon-archive.info=doug@sermon-archive.info X-Spamd-Result: default: False [-1.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FORGED_SENDER(0.30)[bc979@lafn.org,SRS0=ozwQ=BE=mail.sermon-archive.info=doug@sermon-archive.info]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; NEURAL_HAM_LONG(-0.84)[-0.836]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.34)[-0.339]; NEURAL_HAM_MEDIUM(-0.88)[-0.877]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; FROM_NEQ_ENVFROM(0.00)[bc979@lafn.org, SRS0=ozwQ=BE=mail.sermon-archive.info=doug@sermon-archive.info] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2020 00:18:29 -0000 > On 24 July 2020, at 16:59, Patrick Mahan wrote: >=20 > ping is not a good indicate of network speed since most ping packets = are > small. Network performance depends on many issue. Most notably the = total > amount of data being transmitted, what TCP congestion algorithm is in > effect, how much kernel buffer space, etc. >=20 > You can increase the size of the ping packet using the '-s' option, or = use > the ping sweep options (-G -g ) etc. See ping(8). >=20 > Interface packet status can be retrieved using 'netstat -I = ' > Other stats can be pulled using 'netstat -4 -x' (for IPv4 packet = buffer > using, delayed acks, retransmissions, etc). See netstat(8). >=20 > Traceroute is only semi-useful as it relies on ICMP error response = which > are throttled by many routers. >=20 > iperf requires that you have a remote port you can talk to to send and > receive traffic. I have found that mtr (in the ports) is a good diagnostic tool for = networks. It combines traceroute and ping into one function that works = a lot faster than traceroute. I use the mtr-nox11 port as it is purely = a command line tool. It gives you a good idea where in the network = bottlenecks are occurring. =20 -- Doug