From nobody Fri Apr 07 22:17:09 2023 X-Original-To: freebsd-current@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 4PtXmL2Mfyz44GM2 for ; Fri, 7 Apr 2023 22:17:22 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (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 4PtXmL0bDPz3Qc3; Fri, 7 Apr 2023 22:17:22 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vs1-xe2f.google.com with SMTP id df34so37893704vsb.8; Fri, 07 Apr 2023 15:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680905841; x=1683497841; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yxKLykXxr6EvHO6Eu7VYDK86i+2ctKRWVbn4jASzndQ=; b=ZyANchWkCc/ssx724cVys36YkG30qbGOsTx9TyR+uBjBmpJY2TWhhojiizmJDSFqq0 4W5BqhlIL3cocrCsL1z518Y+rcMO0JH2bNQ7m/idPGhrxV27HDVWFhSdLm9+8qrq3NQ3 wKtoX/7tgWgUhALl5Fq/sPfPJRRyNn5iMr/r3MkkqI/GM01Z3NQAy0y2PFZ8VEMizRps 80R1ShPsrpUOXrjd1Sx6XoPwM2OUwLeP1tp+MS/uq9+alUhUwMRajH4aZHpJRypYj/MU JFsRfF7fBDuWTdDcEf39whb3yM5VsKeg6xqK1p7kxwgHzHW/ckJSM1Kf7pO91K7eFHMm xLSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680905841; x=1683497841; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yxKLykXxr6EvHO6Eu7VYDK86i+2ctKRWVbn4jASzndQ=; b=WPAuw7a743Lvy+c+ijnjE0WyXnTvl8tJOYyEdNocbaWqCxvwMM8ghXQJfXpjRzFyoq QDqHdYcBqX11oM08+F0pf88wTK07XLic1aPFWBwlSf0sRVXvZgWy+nn0pLsCThWuiCLO gvhb4LP7o80W+6t9Ol9nGRDmiC/pG7yYoQrI/EiVF/94669UmkqQ8U3+ldkm43GaJbZB OL5LCyWF0kDDQS1NLA1/+zLW9meMaeQF5IXGTBQnV12K1z0PDoQ8N7FGHjsK1fID7Uqo 2z+RqtS1RTAgOuOneMUXq8dzTB5xMtsAtPAThH32lbEqZgg6Lt+2v73ee1vwYcY5KT9A Q7CA== X-Gm-Message-State: AAQBX9emaGO7xtAbuO3eGBjl5e7TUbny9hDkTAi9JPci7G9FGRaMewSh GZn5LHPwmINwhlGto7P2eeAYu194dljwlZG7jax1zL1M X-Google-Smtp-Source: AKy350bw6uzsIw7RD61KnLQNsQ8u00b0HCXXx+ec8C6cueIGhjJy+t3D42IN/qL/nmKYyF3MLw0BzCEO/qEj3B+1Hws= X-Received: by 2002:a67:d29c:0:b0:42a:3f2b:d7d8 with SMTP id z28-20020a67d29c000000b0042a3f2bd7d8mr1883018vsi.4.1680905841189; Fri, 07 Apr 2023 15:17:21 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <202304072207.337M7Dim016129@gndrsh.dnsmgr.net> In-Reply-To: <202304072207.337M7Dim016129@gndrsh.dnsmgr.net> From: alan somers Date: Fri, 7 Apr 2023 16:17:09 -0600 Message-ID: Subject: Re: textdumps are too slow To: "Rodney W. Grimes" Cc: Alan Somers , Warner Losh , Poul-Henning Kamp , FreeBSD CURRENT Content-Type: multipart/alternative; boundary="00000000000090a87605f8c663f8" X-Rspamd-Queue-Id: 4PtXmL0bDPz3Qc3 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000090a87605f8c663f8 Content-Type: text/plain; charset="UTF-8" On Fri, Apr 7, 2023, 4:07 PM Rodney W. Grimes wrote: > > On Fri, Apr 7, 2023 at 12:08?PM Warner Losh wrote: > > > > > > > > > > > > On Fri, Apr 7, 2023 at 6:20?AM Poul-Henning Kamp > wrote: > > >> > > >> -------- > > >> Alan Somers writes: > > >> > On Fri, Apr 7, 2023 at 2:22=E2=80=AFAM Poul-Henning Kamp < > phk@phk.freebsd.dk> wrote: > > >> > > >> > > I would expect them to be limited by the serial console speed > before > > >> > > the video system speed ? > > >> > > > >> > That was my first guess, too. But my serial console is 115200 baud, > > >> > which is faster than the low performance server grade video card. > > >> > > >> Ok, that must truly be sucky hardware... > > > > > > > > > That's 10x slower than 1990s era VGA cards then... 115200 is 11k > characters a second, > > > and FreeBSD on 1990s era VGA cards was in excess of 1MB/s, faster if > not a pure ISA > > > card... Video hardware that's slower than *THAT* likely indicates a > big big problem in > > > our video stack. > > > > > > Warner > > > > While I'm logged into the video terminal in a normal login session, I > > measure about 28M characters/second. So maybe the slow speed is due > > to something inefficient in ddb(4). > > Do you mean to a physically connected vga display and usb/ps2 connected > keyboard, or do you mean a serially connected video terminal, or something > else like a console created by a BMC? > > One other thing that could be at issue is a console redirection via > serial port, that can make "VGA device" performance appear abismal. > > > -- > Rod Grimes > rgrimes@freebsd.org It's a BMC video console. I'm also using a BMC serial port, but during panic I measured the serial port as faster than the video port. > --00000000000090a87605f8c663f8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Apr 7, 2023, 4:07 PM Rodney W. Grimes <freebsd-rwg@gndrsh.dnsmgr.net<= /a>> wrote:
> On Fri, Apr 7, = 2023 at 12:08?PM Warner Losh <imp@bsdimp.com> wrote:
> >
> >
> >
> > On Fri, Apr 7, 2023 at 6:20?AM Poul-Henning Kamp <phk@phk.free= bsd.dk> wrote:
> >>
> >> --------
> >> Alan Somers writes:
> >> > On Fri, Apr 7, 2023 at 2:22=3DE2=3D80=3DAFAM Poul-Hennin= g Kamp <phk@phk.freebsd.dk> wrote:
> >>
> >> > > I would expect them to be limited by the serial con= sole speed before
> >> > > the video system speed ?
> >> >
> >> > That was my first guess, too.=C2=A0 But my serial consol= e is 115200 baud,
> >> > which is faster than the low performance server grade vi= deo card.
> >>
> >> Ok, that must truly be sucky hardware...
> >
> >
> > That's 10x slower than 1990s era VGA cards then... 115200 is = 11k characters a second,
> > and FreeBSD on 1990s era VGA cards was in excess of 1MB/s, faster= if not a pure ISA
> > card... Video hardware that's slower than *THAT* likely indic= ates a big big problem in
> > our video stack.
> >
> > Warner
>
> While I'm logged into the video terminal in a normal login session= , I
> measure about 28M characters/second.=C2=A0 So maybe the slow speed is = due
> to something inefficient in ddb(4).

Do you mean to a physically connected vga display and usb/ps2 connected
keyboard, or do you mean a serially connected video terminal, or something<= br> else like a console created by a BMC?

One other thing that could be at issue is a console redirection via
serial port, that can make "VGA device" performance appear abisma= l.


--
Rod Grimes=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rgrimes@freebsd.org
=

It's a BMC vi= deo console.=C2=A0 I'm also using a BMC serial port, but during panic I= measured the serial port as faster than the video port.


--00000000000090a87605f8c663f8--