From owner-freebsd-net@freebsd.org Thu Jun 11 19:48:23 2020 Return-Path: Delivered-To: freebsd-net@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 404CB33F652 for ; Thu, 11 Jun 2020 19:48:23 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from dss.incore.de (dss.incore.de [195.145.1.138]) (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 49jZCp1G6dz4JR2 for ; Thu, 11 Jun 2020 19:48:21 +0000 (UTC) (envelope-from longwitz@incore.de) Received: from inetmail.dmz (inetmail.dmz [10.3.0.3]) by dss.incore.de (Postfix) with ESMTP id 4A4A52BBDD for ; Thu, 11 Jun 2020 21:48:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at incore.de Received: from dss.incore.de ([10.3.0.3]) by inetmail.dmz (inetmail.dmz [10.3.0.3]) (amavisd-new, port 10024) with LMTP id nWz_b4bEqcZu for ; Thu, 11 Jun 2020 21:48:13 +0200 (CEST) Received: from mail.local.incore (fwintern.dmz [10.0.0.253]) by dss.incore.de (Postfix) with ESMTP id A3E7F2BBD8 for ; Thu, 11 Jun 2020 21:48:13 +0200 (CEST) Received: from bsdmhs.longwitz (unknown [192.168.99.6]) by mail.local.incore (Postfix) with ESMTP id 914FE187 for ; Thu, 11 Jun 2020 21:48:13 +0200 (CEST) Message-ID: <5EE28A7D.7090406@incore.de> Date: Thu, 11 Jun 2020 21:48:13 +0200 From: Andreas Longwitz User-Agent: Thunderbird 2.0.0.19 (X11/20090113) MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: pxeboot is very slow on servers sending gratuitous ARP probably caused by commit r317887 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49jZCp1G6dz4JR2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of longwitz@incore.de designates 195.145.1.138 as permitted sender) smtp.mailfrom=longwitz@incore.de X-Spamd-Result: default: False [-1.35 / 15.00]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.99)[-0.985]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.995]; DMARC_NA(0.00)[incore.de]; NEURAL_SPAM_SHORT(0.43)[0.427]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:195.145.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 19:48:23 -0000 After update from FreeBSD V10 Stable to FreeBSD 12 Stable (r360998) the load of a kernel in pxeboot via NFS is very slow because my server sends gratuitous ARP packets every 2 seconds. pxeboot from 11.1 REL (r321354) is ok. pxeboot from 11.2 REL (r335563) is very slow too. For every ARP the server sends the kernel download in pxeboot stops for two seconds and then continues after timeout of 2 seconds (because of work done in r329264). I am quite sure that commit r317887 changed things for ARP packets. pxe does not use udpsend/udpreceive anymore and the new code with undi interface does nothing to filter the ARP's. Andreas Longwitz