From nobody Fri Oct 14 02:11:06 2022 X-Original-To: freebsd-hackers@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 4MpVHW0r7Dz4fGpb for ; Fri, 14 Oct 2022 02:11:19 +0000 (UTC) (envelope-from zlei.huang@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 4MpVHV1xTjz3DMd for ; Fri, 14 Oct 2022 02:11:18 +0000 (UTC) (envelope-from zlei.huang@gmail.com) Received: by mail-pj1-x1033.google.com with SMTP id 70so3619184pjo.4 for ; Thu, 13 Oct 2022 19:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:to:references:message-id:subject:mime-version:from:from:to:cc :subject:date:message-id:reply-to; bh=WYEVdkoZPqrMso85CBSLUmubrzI6Oyb2NfEevvhQi2Q=; b=pXL8VkhAUhc9Suj5GrCSCBCl9KHPDpg9c8VIjPvs94Qt0bSm8aKlK76eIEhMB3qTRC R3yNfgJNuiwzvzwkjLRpacrFcTFGkEtuxheDkg6HNfUitArgqUJZTYqPYSwcn2l5XKVZ /kpmyO5+upUXc4VTbUwvnacIDfLS69TDYbEIvxmfgECLcOj8Y5N0Bxah1R+slzc9ol2a 6fjagDz/pztsb0WQeivKQSd5TN4hPabSP/jziORjuokXECbAR8VI3b7ltzj7Q8kTWq7Y 7aG4QHOF4O4hfePS9eK4lnNEJoL1jkmODyooSo863fE9DlYt/sk0S5AZLgnq07mFAYKt GQJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=date:to:references:message-id:subject:mime-version:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WYEVdkoZPqrMso85CBSLUmubrzI6Oyb2NfEevvhQi2Q=; b=LEVbVbflfsRFdSgtwdpwzzXG4voud6Zm9+SKthl3oGUYQYSvjKL/IR3OFIqwSu9AcB otP82wgwSu5vtTvaO99kUU7OBfLAb4sn3SzYqCKGBlCVX0kWh9CqWFvNNgK/QZoMzf6k ephsWAPGSeAEZ5a9ZG24C7tGulJidKgnFZSGUBINA3o2Oto4IRvhR71qHtXTkohJRi3Q 7oVzcAivs1lIDi9m4snZfW8bcXPMnG3dfoHv7lgStW1ze1HbN1JhLPCqaSaThvVr1kaH 9nYITCIN2wE+nsNJO9OLDt1DoiD3+YutXQALhUkDrWcq5dZy8v4sSktvpD9U+x2+WDXg 2/Rw== X-Gm-Message-State: ACrzQf2SVKxEEYXihcEZvTeFu5CXvw5SyV8FH01yubTPzLrmA6iYzctz UL3jdTsQqq4umq5ImRvUk+rz0v3xEUIJNQyu X-Google-Smtp-Source: AMsMyM5jsJj7pHFCirBTTmbJbPMK3riBp2gyRb36VumLXOvjCr/vI5gryevRRjeRp2+huhFKckat8Q== X-Received: by 2002:a17:902:e545:b0:182:6c84:7fc0 with SMTP id n5-20020a170902e54500b001826c847fc0mr2762134plf.144.1665713476804; Thu, 13 Oct 2022 19:11:16 -0700 (PDT) Received: from ?IPv6:fd03:a1b3:1819::8001? ([2001:19f0:6001:9db:98f0:9fe0:3545:10]) by smtp.gmail.com with ESMTPSA id 21-20020a630f55000000b00469e09532e0sm359654pgp.18.2022.10.13.19.11.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Oct 2022 19:11:16 -0700 (PDT) From: Zhenlei Huang Content-Type: multipart/alternative; boundary="Apple-Mail=_1B9F8BDB-791D-4B91-BEA9-AD06384BD454" List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Fwd: is this FreeBSD problem or HP switch Message-Id: References: <7E97376C-7FCC-46E9-9626-A9D260B01793@gmail.com> To: freebsd-hackers@freebsd.org Date: Fri, 14 Oct 2022 10:11:06 +0800 X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4MpVHV1xTjz3DMd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=pXL8VkhA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of zlei.huang@gmail.com designates 2607:f8b0:4864:20::1033 as permitted sender) smtp.mailfrom=zlei.huang@gmail.com X-Spamd-Result: default: False [-2.48 / 15.00]; URI_COUNT_ODD(1.00)[5]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.99)[-0.987]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1033:from]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_1B9F8BDB-791D-4B91-BEA9-AD06384BD454 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Sorry for missing CC > Begin forwarded message: >=20 > From: Zhenlei Huang > Subject: Re: is this FreeBSD problem or HP switch > Date: October 14, 2022 at 10:08:13 AM GMT+8 > To: Jason Bacon >=20 >=20 >=20 >> On Oct 14, 2022, at 8:11 AM, Jason Bacon > wrote: >>=20 >> On 10/13/22 17:48, Wojciech Puchar wrote: >>> i have HP-2530-24G switch in home and 3 VLANs. >>> there was no traffic on 2 of them, one vlan have full bandwitch = traffic from computer A to computer B - at 1000Mbit/s >>> At this time ping from computer C to computer A (computer C have = 100Mbit/s card) was random between 1 and 1000ms. >>> Just limiting artifically speed to 950Mbit/s solved the problem. >>> Is this because switch behaves that way or can it be a FreeBSD = problem (all computers runs FreeBSD) >>=20 >> I saw an issue some years ago where one of my FreeBSD servers was = overwhelming a Cisco switch while pushing files out to HTCondor nodes, = causing it to drop packets. Our networks guru confirmed the problem by = monitoring the switch. Since no handshaking was possible, I worked = around it by throttling the interface on the FreeBSD box, using ipfw if = I recall correctly. >>=20 >> --=20 >> Life is a game. Play hard. Play fair. Have fun. >>=20 >>=20 >=20 >=20 > Modern x86 hardware can easily saturate Gigabit network. Probably it = is not the issue of the box, or the OS ( FreeBSD in the context ). > There's an old post about ICMP packet drops on the HPE community, = https://community.hpe.com/t5/aruba-provision-based/hp-procuvre-2530-icmp-p= acket-lost/td-p/6347333 = . Although I can not conclude it is the = problem of switch, but you can try connection the two FreeBSD box = directly with crossover ethernet cable and repeat the test. >=20 > Also the statistics reported by switch / OS are extremely useful in = production ( when excluding some suspicious objects is not an option ). >=20 > Best regards, > Zhenlei --Apple-Mail=_1B9F8BDB-791D-4B91-BEA9-AD06384BD454 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Sorry= for missing CC

Begin forwarded = message:

From: = Zhenlei Huang <zlei.huang@gmail.com>
Subject: = Re: is this = FreeBSD problem or HP switch
Date: = October 14, 2022 at 10:08:13 AM = GMT+8
To: = Jason Bacon <bacon4000@gmail.com>



On Oct = 14, 2022, at 8:11 AM, Jason Bacon <bacon4000@gmail.com>= wrote:

On 10/13/22 17:48, Wojciech Puchar wrote:
i have HP-2530-24G = switch in home and 3 VLANs.
there was no traffic on 2 of = them, one vlan have full bandwitch traffic from computer A to computer B = - at 1000Mbit/s
At this time ping from computer C to = computer A (computer C have 100Mbit/s card) was random between 1 and = 1000ms.
Just limiting artifically speed to 950Mbit/s = solved the problem.
Is this because switch behaves that = way or can it be a FreeBSD problem (all computers runs FreeBSD)

I saw an issue some years ago = where one of my FreeBSD servers was overwhelming a Cisco switch while = pushing files out to HTCondor nodes, causing it to drop packets. =  Our networks guru confirmed the problem by monitoring the switch. =  Since no handshaking was possible, I worked around it by = throttling the interface on the FreeBSD box, using ipfw if I recall = correctly.

--
Life is a = game.  Play hard.  Play fair.  Have fun.



Modern x86 hardware can = easily saturate Gigabit network. Probably it is not the issue of the = box, or the OS ( FreeBSD in the context ).
There's = an old post about ICMP packet drops on the HPE community, https://community.hpe.com/t5/aruba-provision-based/hp-procuvre-= 2530-icmp-packet-lost/td-p/6347333 . Although I can not = conclude it is the problem of switch, but you can try connection the two = FreeBSD box directly with crossover ethernet cable and repeat the = test.

Also the = statistics reported by switch / OS are extremely useful in production ( = when excluding some suspicious objects is not an option ).

Best regards,
Zhenlei

= --Apple-Mail=_1B9F8BDB-791D-4B91-BEA9-AD06384BD454--