From nobody Wed Jul 26 02:38:29 2023 X-Original-To: freebsd-net@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 4R9dPc2F9Cz4pD0M for ; Wed, 26 Jul 2023 02:38:44 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 4R9dPZ5l9mz3vjn for ; Wed, 26 Jul 2023 02:38:42 +0000 (UTC) (envelope-from kevin.bowling@kev009.com) Authentication-Results: mx1.freebsd.org; dkim=none ("invalid DKIM record") header.d=kev009.com header.s=google header.b=RQdDsKlD; spf=pass (mx1.freebsd.org: domain of kevin.bowling@kev009.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=kevin.bowling@kev009.com; dmarc=none Received: by mail-io1-xd33.google.com with SMTP id ca18e2360f4ac-78360f61ba0so312910339f.1 for ; Tue, 25 Jul 2023 19:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kev009.com; s=google; t=1690339120; x=1690943920; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=I2ZTSyAGKeWn0VGUBzO+lN9Kym8nhkgCfd/pEZ8nraw=; b=RQdDsKlDT2JOSuARxMShMBX0Qcdoe0czsC97BjJiXEAsExud4WYejrtNmzD4cXoJtE STLaUe9efcNFQUC/hqb+SekcqwWvjpItoxb792nXgZf/s6/TY6mOm1bs19BYYRrKyLob 85NodVDUYSagjCFxr68FMUQ+nflqlOQ0YdYEY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690339120; x=1690943920; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I2ZTSyAGKeWn0VGUBzO+lN9Kym8nhkgCfd/pEZ8nraw=; b=DREfCDox5CablUwPziDMssmJuw/beeywqEev2r7WrDUQrSurJytNA0TZJZ+4ssEvzs Cq1fFHA7o9UwVL7u+yxlU7cnXQsw+dba3vcEFpjmHV7kyPBiCdSG03lZAGPPcdNlLGIg Z7R2u/fCCXXlPYZsXcK2nvc5MZ+lS5ZJL/24ArFmqvN3zofAg5XHZONs1anw7YubJxSz weE5c0TBXZdUo+kvl5iAf2gusSstpyFysAvBy5+DjwJ2+R9OXBGNjneQuAa4I2g/5kID ZQZRvrJo6zcIlwQIMQACrkx4xibbNRTDILekWIvGT99wtb4pFbT58Oa7hJtuPW8P76pi SDfw== X-Gm-Message-State: ABy/qLasup7cb8z/g8jBUUGu+OjoWd4jBF7/dis60qV8J8YQwQMnb/P5 NdERLbMSBfAYVhXZVp+LFokitZgBaIqzR2hAzrkEizrXKI5bNWd2EDQ= X-Google-Smtp-Source: APBJJlHff+GDomeFShMiQ7qpPwccdPo9TvIGorK4X8N/L7Ri737H6hYWCYa1I4We5Bs9mITS8ic/FjcBTx1QgpUHYfA= X-Received: by 2002:a05:6e02:1c01:b0:348:8050:5268 with SMTP id l1-20020a056e021c0100b0034880505268mr918196ilh.12.1690339120585; Tue, 25 Jul 2023 19:38:40 -0700 (PDT) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 From: Kevin Bowling Date: Tue, 25 Jul 2023 19:38:29 -0700 Message-ID: Subject: CFT: lem(4), em(4) e1000 Ethernet TSO testing To: FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d33:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_PERMFAIL(0.00)[kev009.com:s=google]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[kev009.com:~]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[kev009.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4R9dPZ5l9mz3vjn X-Spamd-Bar: --- Hi, I have been working through various bugs and have come to a point where TSO is working on systems I have available for testing. This results in higher throughput on resource constrained systems, and less CPU/power usage on unconstrained systems. As of this mail, you will need to manually apply https://reviews.freebsd.org/D41170 on top of main to use TSO6 on em(4). I plan to enable TSO by default for lem(4) and em(4) during the FreeBSD 14 release cycle, so I would appreciate testing to address any remaining issues. Below, a list of chipsets that will be exempt due to known issues. lem(4) exclusions: * <82544 (although it does seem ok to manually enable for emulations in qemu, virtualbox, etc) * 82547 em(4) exclusions.. These chips have a stability workaround for high throughput with rapid link-flap applied that results in the TSO engine not being able to run at line speed. Thus, TSO would not be enabled by default here: * Intel(R) I219-LM and I219-V * Intel(R) I219-LM and I219-V (2) * Intel(R) I219-LM and I219-V (3) * Intel(R) I219-LM and I219-V (4) * Intel(R) I219-LM and I219-V (5) Regards, Kevin Bowling