From owner-freebsd-hackers@freebsd.org Tue Feb 25 20:34:04 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 9F37623E6D1 for ; Tue, 25 Feb 2020 20:34:04 +0000 (UTC) (envelope-from micchie.gml@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48RrHw0jVsz3xPy for ; Tue, 25 Feb 2020 20:34:04 +0000 (UTC) (envelope-from micchie.gml@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id C556023E6D0; Tue, 25 Feb 2020 20:34:03 +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 C505B23E6CF for ; Tue, 25 Feb 2020 20:34:03 +0000 (UTC) (envelope-from micchie.gml@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 48RrHt5FJ2z3xMV for ; Tue, 25 Feb 2020 20:34:02 +0000 (UTC) (envelope-from micchie.gml@gmail.com) Received: by mail-il1-x130.google.com with SMTP id l4so385116ilj.1 for ; Tue, 25 Feb 2020 12:34:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=aAPL233TUKph/pi7u8NiHHAHWtQIV2By3uGYpjdSChE=; b=sB0qevLPhIWn6YUgEkJcGQnPyqueu1RIHQulovqvhsHkkyF09Y89GAqi63JKfbU1C6 j30OsM+/e28O7mRyP+AKkFQCYOdbT8F78SAVhqVcDDyEocp7SUnuZicmMvCkxWX5SUwG gUHrQoSGmnt/wHxuL47zjZA+Di1xXZTzYSP+oFu7XD7d/FbwJeyeTlLWk5J0loylkfUX eL/UPbat5nXOJlM00lxj/4nz7s/GteS3ja0Hi88wPbXu15pGnJsJ3s6PDEfMRfcm13AZ Le8u7A4u2UlBgdKS+tmMIeZFa5Dw36YIirvRRiGLnuSNvlNrDTOb7K4i5pRDDZpbT2EU gVmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=aAPL233TUKph/pi7u8NiHHAHWtQIV2By3uGYpjdSChE=; b=F138N1c9uTxQFZjhlwOJKxAWhynfmerG9XwpnRvIzk4h8JhP5EC9HeD6xWnqitB9PR 4z2GIeeJjs3DoMalvwqEo2/fGVU70oht9DaOiLywLIQ/Fu2pnNhA9z5WyiqdkzRLJ6nW MYYHw0R8q0EfmTrEzqu4Rhz1tL8ZNBKkENmznI4WVvSbGNjTjABrB0N5yaAFpYitIuG3 JZf8ZTempBj2j3+tcZdJnUMM5FcczZCQs7Ngfgg2JDe+JG1+049IKFQP99ekqRnkQabg OAR6VLdxPI61te+neHOyiKoOpseawzS1euXdtS+RkeSu8V+/kbKMZE7kcM9ktBBdc288 rPGQ== X-Gm-Message-State: APjAAAUaStGVg5Y7tawNdFoGmlaPdAnIlWQAf+/9mE37z5KcTztiwT3e J1+ygNcPIWFzg5hCHD+5pAN3nBWK2IaGeqrHe0liIXcB X-Google-Smtp-Source: APXvYqx28poCKPUs3XIrLiupNGzIM0nZvyl4tfG32cD4eYMsEn24tfTdej60/8KlKkGDlM9ODx20MgRDT8Q0lm0NCqM= X-Received: by 2002:a92:50f:: with SMTP id q15mr491209ile.47.1582662840912; Tue, 25 Feb 2020 12:34:00 -0800 (PST) MIME-Version: 1.0 References: <20200224032300.00006290@gmail.com> <8F7B8958-5295-4A26-82E9-94C7A62ED8A1@longcount.org> In-Reply-To: <8F7B8958-5295-4A26-82E9-94C7A62ED8A1@longcount.org> From: Michio Honda Date: Tue, 25 Feb 2020 20:33:48 +0000 Message-ID: Subject: Re: Slow PXE boot To: hackers@freebsd.org X-Rspamd-Queue-Id: 48RrHt5FJ2z3xMV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=sB0qevLP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of micchiegml@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=micchiegml@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)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-8.45), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[0.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 20:34:04 -0000 Hi, I had a similar problem before, and the solution was the use of pxeboot file taken from FreeBSD 10 as suggested by Hiroki. Cheers, - Michio On Mon, Feb 24, 2020 at 1:48 PM Mark Saad wrote: > Domagoj > I regularly boot 11.3-Stable and 12.1-Stable amd64 on servers with > 64gb, 128gb , and occasional more . I do t have that issue . Can you take= a > peak at the switch your boxes are attached to ; It sounds like a device i= s > running at 100mb 1/2 duplex . I remember the realtec nics doing this when > set to auto . > > --- > Mark Saad | nonesuch@longcount.org > > > On Feb 23, 2020, at 9:23 PM, Domagoj Smol=C4=8Di=C4=87 > wrote: > > > > =EF=BB=BFYo Crew! > > > > During PXE boot, from server (11.3-RELEASE-p5 i386) with 1 GB RAM, > client with: > > 4 GB RAM booted kernel in ~2 min > > 8 GB RAM booted kernel in ~20 min (at least) > > So all below is tested with 2 different clients, each with NIC of > different manufacturer (Realtec & Intel) > > > > I've read on forums that if client has much, much more RAM than server, > this happens. > > Suggestion was to to set loader(8) tunable hw.memtest.tests to 0, so > client would skip RAM test. > > > > PXE boot is served to clients from /PXE, so ... > > Setting hw.memtest.tests=3D"0" in /PXE/boot/loader.conf, yielded no > results! > > > > By the way, for some reason, hw.memtest.tests tunable DOESN'T exist in > man pages! > > I had to look in source code to confirm it still exists. > > > > > > Next, I've tried: > > # echo 'nfs.read_size=3D"16384"' > /PXE/boot/loader.conf > > Changing value to ANY value other than default 1024, completely halt= s > client's kernel loading at 'Loading kernel...'! > > > > > > Lastly, I've tried tactic used with UFS's stage 2 /boot/boot, to skip > stage 3 loader completely and to directly load kernel instead. > > So in dhcpd.conf, I've replaced: > > filename "boot/pxeboot"; > > with: > > filename "boot/kernel/kernel"; > > > > Result: > > Attempt to pull GENERIC kernel directly, resulted in: "NBP is too bi= g > to fit in free base memory" > > Maybe I should try to compile custom minimal kernel 'ident PXE' ... > > It is unbelievable how many problems do I have ... > > > > > > > > Domagoj Smol=C4=8Di=C4=87 > > _______________________________________________ > > 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" > _______________________________________________ > 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= " >