From owner-freebsd-hackers@freebsd.org Tue Feb 25 22:59:11 2020 Return-Path: Delivered-To: freebsd-hackers@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 BDCA42431F6 for ; Tue, 25 Feb 2020 22:59:11 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48RvWL19Cnz4J6d for ; Tue, 25 Feb 2020 22:59:10 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 066232431F0; Tue, 25 Feb 2020 22:59:10 +0000 (UTC) Delivered-To: hackers@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 059182431EF for ; Tue, 25 Feb 2020 22:59:10 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48RvWH1V35z4J3c; Tue, 25 Feb 2020 22:59:07 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm1-x341.google.com with SMTP id t14so996124wmi.5; Tue, 25 Feb 2020 14:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ShEHJrB19w7wQz5DKMuVX2ZnohFqgyxDhngbBMAsXLk=; b=HrditgUC9Wbn6e0PredZcIpriC2YbkN0P/JVSkxgu8U2EFvn3OxmCLa8DyC03a8PT2 pnFr0ap7FXABky//PT+olFzpd1TPxxGPiK8gyYADlQVbAq/oyCkYdlgumfw7o8SN7mcv lgnGc1b2UX/rUPKSkf5Jllr26EwarwolibH6046m2/8IuCuhUgvSMGqXDyKnZvvYT5SC 40R7vloW+3ZY0iUFKNbXqV415q/l/KjadERdQqL9iZ37cCK9obJxhGRMoNb0ltxs9dt6 O+rKmgyDjN3FTjmoe1VaPe8q5QbYkZdYrM0qJCcaqy0uTpdayhDsotqqlyXs5TziUuto DtPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ShEHJrB19w7wQz5DKMuVX2ZnohFqgyxDhngbBMAsXLk=; b=LW0kWOUh3MauNd48UE1K6kJFc5fEl9ZPrzK0CqN4m5LMsxQPXrcDk03gCcMwfCfLDP L/hNMiqJNZvVyb/Z+BotiOVfaiPEotH3lWL5HxMj4o08xrACRa7z9pzBV9gEInDuLies KDsVSHT5NlmDszzuSttkxoMWKyjHYoD2szS8hU97VxB7Uh8uX15hLUlsZuiQFwYmGZON 5jaAkVsuu3bIwL9IvYrfKKa4P/iEdxO5W2KFaY7Zbioy2yN0J93650NM+UaJFE5K+CuM DCom+m/oIwZJHZuzMpIX96JrEMTIml6C0pOx696cUFSAOADSGrZy0nbXncgJMEW44/am JYtQ== X-Gm-Message-State: APjAAAV+nOJveFaWXRUBwhcYzyEWXDwvdtNbguTpOeAZOEetsC3hcd7z VQyq9P6QQd2HVuOAVehemZ87FNNDnLrLNSxi+fHzfQ== X-Google-Smtp-Source: APXvYqzqWa4ZvuJHIA0SXJUWTcvngUg/aCSIbRqSjax8794kVqRDKF9AHMKvQoewTGra82+zHqcWU1TIO5thvQn4JWk= X-Received: by 2002:a1c:e483:: with SMTP id b125mr1425859wmh.187.1582671545294; Tue, 25 Feb 2020 14:59:05 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a5d:6b02:0:0:0:0:0 with HTTP; Tue, 25 Feb 2020 14:59:04 -0800 (PST) In-Reply-To: <79AD3725-FDCC-4045-A620-EDB25D88FA65@lists.zabbadoz.net> References: <20200224032300.00006290@gmail.com> <8F7B8958-5295-4A26-82E9-94C7A62ED8A1@longcount.org> <20200226.055717.1795667435522458112.hrs@FreeBSD.org> <15F7FD1E-3957-4D9E-922F-394D50445BA8@lists.zabbadoz.net> <79AD3725-FDCC-4045-A620-EDB25D88FA65@lists.zabbadoz.net> From: Mateusz Guzik Date: Tue, 25 Feb 2020 23:59:04 +0100 Message-ID: Subject: Re: Slow PXE boot To: "Bjoern A. Zeeb" Cc: Hiroki Sato , micchie.gml@gmail.com, hackers@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48RvWH1V35z4J3c X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=HrditgUC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mjguzik@gmail.com designates 2a00:1450:4864:20::341 as permitted sender) smtp.mailfrom=mjguzik@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (2.74), ipnet: 2a00:1450::/32(-2.41), asn: 15169(-1.67), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2020 22:59:11 -0000 If memory serves the slowdown occured past the rewrite, so bisecting wont get you far. I don't know what the difference is internally though. On 2/25/20, Bjoern A. Zeeb wrote: > On 25 Feb 2020, at 21:02, Bjoern A. Zeeb wrote: > >> On 25 Feb 2020, at 20:57, Hiroki Sato wrote: >> >> Hi, >> >>> Michio Honda wrote >>> in >>> : >>> >>> mi> Hi, >>> mi> >>> mi> I had a similar problem before, and the solution was the use of >>> pxeboot >>> mi> file taken from FreeBSD 10 as suggested by Hiroki. >>> >>> I could not reproduce this by using my boxes after all, but >>> replacing >>> pxeboot with the older one was useful to gain the normal speed at >>> that time probably because of difference between new (11 or later) >>> loader's nfs client and the old one. It was a problem sending a lot >>> of duplicated packets for some reason, not just a matter of the >>> buffer size. And the server side was Linux. >>> >>> Have anyone else also experienced this kind of very slow PXE >>> booting? >>> It may be specific to using a Linux NFS server. >> >> I see it on zoo all day long for ages. I=E2=80=99ll go back and try an = old >> pxeboot; if that really speeds things up massively I might even be >> willing to debug this a bit more. > > I found a pxeboot from FreeBSD 7 and while it did not entirely work the > kernel was loaded in seconds rather than minutes (felt). > > I guess it=E2=80=99s time to dig into the changes from back then.. > > /bz > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > --=20 Mateusz Guzik