Date: Fri, 7 Apr 2023 16:17:09 -0600 From: alan somers <asomers@gmail.com> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: Alan Somers <asomers@freebsd.org>, Warner Losh <imp@bsdimp.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: textdumps are too slow Message-ID: <CAOtMX2joLPsbDawpKD1L95L3m6tuTuLsN%2BC6d0oHzQ3stk4o1Q@mail.gmail.com> In-Reply-To: <202304072207.337M7Dim016129@gndrsh.dnsmgr.net> References: <CAOtMX2gbpy4AXXScbEsc5ho3cv7M%2BT8aVuwyak-PeSdzPqOd_g@mail.gmail.com> <202304072207.337M7Dim016129@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000090a87605f8c663f8 Content-Type: text/plain; charset="UTF-8" On Fri, Apr 7, 2023, 4:07 PM Rodney W. Grimes <freebsd-rwg@gndrsh.dnsmgr.net> 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.freebsd.dk> > 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 <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, Apr 7, 2023, 4:07 PM Rodney W. Grimes <<a h= ref=3D"mailto:freebsd-rwg@gndrsh.dnsmgr.net">freebsd-rwg@gndrsh.dnsmgr.net<= /a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0= 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> On Fri, Apr 7, = 2023 at 12:08?PM Warner Losh <<a href=3D"mailto:imp@bsdimp.com" target= =3D"_blank" rel=3D"noreferrer">imp@bsdimp.com</a>> wrote:<br> > ><br> > ><br> > ><br> > > On Fri, Apr 7, 2023 at 6:20?AM Poul-Henning Kamp <<a href=3D"m= ailto:phk@phk.freebsd.dk" target=3D"_blank" rel=3D"noreferrer">phk@phk.free= bsd.dk</a>> wrote:<br> > >><br> > >> --------<br> > >> Alan Somers writes:<br> > >> > On Fri, Apr 7, 2023 at 2:22=3DE2=3D80=3DAFAM Poul-Hennin= g Kamp <<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank" rel=3D"n= oreferrer">phk@phk.freebsd.dk</a>> wrote:<br> > >><br> > >> > > I would expect them to be limited by the serial con= sole speed before<br> > >> > > the video system speed ?<br> > >> ><br> > >> > That was my first guess, too.=C2=A0 But my serial consol= e is 115200 baud,<br> > >> > which is faster than the low performance server grade vi= deo card.<br> > >><br> > >> Ok, that must truly be sucky hardware...<br> > ><br> > ><br> > > That's 10x slower than 1990s era VGA cards then... 115200 is = 11k characters a second,<br> > > and FreeBSD on 1990s era VGA cards was in excess of 1MB/s, faster= if not a pure ISA<br> > > card... Video hardware that's slower than *THAT* likely indic= ates a big big problem in<br> > > our video stack.<br> > ><br> > > Warner<br> > <br> > While I'm logged into the video terminal in a normal login session= , I<br> > measure about 28M characters/second.=C2=A0 So maybe the slow speed is = due<br> > to something inefficient in ddb(4).<br> <br> Do you mean to a physically connected vga display and usb/ps2 connected<br> keyboard, or do you mean a serially connected video terminal, or something<= br> else like a console created by a BMC?<br> <br> One other thing that could be at issue is a console redirection via<br> serial port, that can make "VGA device" performance appear abisma= l.<br> <br> <br> -- <br> 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=A0<a href=3D"mailto:rgrimes@freebsd.org= " target=3D"_blank" rel=3D"noreferrer">rgrimes@freebsd.org</a></blockquote>= </div></div><div dir=3D"auto"><br></div><div dir=3D"auto">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.</div><div dir=3D"a= uto"><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex"><br> </blockquote></div></div></div> --00000000000090a87605f8c663f8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2joLPsbDawpKD1L95L3m6tuTuLsN%2BC6d0oHzQ3stk4o1Q>