Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 1996 14:56:00 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        craigs@os.com, jab@rock.anchorage.net
Cc:        freebsd-hardware@freebsd.org, hackers@freebsd.org
Subject:   Re: Slow Etherlink
Message-ID:  <199609170456.OAA10729@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>One thing I will say about Linux is that it has superior screen display 
>performance.  So, if what you are complaining about is screen redraw 
>speed, Linux is much faster than FreeBSD.

Really?  Linux was 6-12 times slower last time I worked on speeding up
syscons.

>However, the redraw slowness 
>of FreeBSD does not show up under xterm.

Perhaps you are noticing the redraw fastness of FreeBSD.  Redraws for
running vi over ethernet connections _seem_ to be very slow because
there is a long pause after the data in the first packet is written.
The pause is actually caused by delayed ACKs and may be avoided using the
undocumented option TCP_ACK_HACK.  This option was standard in FreeBSD-2.0
and in FreeBSD-current up to just before the release of 2.0.5.  It was
disabled because it caused problems with T/TCP.  Linux has a similar
option CONFIG_TCP_NAGLE_OFF.

>Maybe it's the syscons driver, 
>try the other driver and see if that's faster.  ...

pcvt is much slower than syscons.

Bruce

Test notes and output:
---
The test simply writes 2000 bytes of printable characters 1000 times.
Other methods of writing to the screen are inherently slower (several
lines can be written in the time that it takes to format and parse one
escape sequence).

ISA ET4000: 2.4MB/sec read, 5.9MB/sec write
VLB ET4000/W32i: 6.8MB/sec read, 25.5MB/sec write
PCI S3/868: 3.5MB/sec read, 23.1MB/sec write
-o means stty flag -opost

No-scroll:

machine     video        O/S              where      real   user  sys    speed
---------   -------      --------------   ---------  -----  ----  -----  -----
DX2/66 VLB  ET4000/W32i  FreeBSD-rcurrent offscreen-o 1.18  0.01   1.16  1.69
DX2/66 VLB  ET4000/W32i  FreeBSD-rcurrent onscreen-o  1.19  0.00   1.18  1.68
486/33 ISA  ET4000       minix-1.6.25++   offscreen   2     0.01   1.45  1.37
486/33 ISA  ET4000       minix-1.6.25++   onscreen    2     0.01   1.60  1.24
DX2/66 VLB  ET4000/W32i  FreeBSD-bcurrent offscreen   1.62  0.00   1.59  1.23
DX2/66 VLB  ET4000/W32i  FreeBSD-bcurrent onscreen    1.62  0.02   1.58  1.23
486/33 ISA  ET4000       FreeBSD-bcurrent offscreen-o 2.28  0.03   2.24  0.88
486/33 ISA  ET4000       FreeBSD-bcurrent onscreen-o  2.34  0.01   2.26  0.85
486/33 ISA  ET4000       FreeBSD-current  offscreen-o 2.50  0.00   2.46  0.80
486/33 ISA  ET4000       FreeBSD-current  onscreen-o  2.55  0.02   2.49  0.78
486/33 ISA  ET4000       FreeBSD-bcurrent offscreen   3.17  0.00   3.15  0.63
486/33 ISA  ET4000       FreeBSD-bcurrent onscreen    3.23  0.03   3.11  0.62
486/33 ISA  ET4000       FreeBSD-current  offscreen   3.48  0.03   3.41  0.57
486/33 ISA  ET4000       FreeBSD-current  onscreen    3.55  0.02   3.45  0.56
486/33 ISA  ET4000       linux-1.1.36     offscreen  20.80  0.00  20.80  0.10
486/33 ISA  ET4000       linux-1.1.36     onscreen   38.34  0.02  38.38  0.05

Scroll:

machine     video        O/S              where      real   user  sys    speed
---------   -------      --------------   ---------  -----  ----  -----  -----
486/33 ISA  ET4000       minix-1.6.25++   offscreen   2     0.00   1.70  1.18
486/33 ISA  ET4000       minix-1.6.25++   onscreen    2     0.00   1.81  1.10
DX2/66 VLB  ET4000/W32i  FreeBSD-bcurrent offscreen-o 3.24  0.01   3.21  0.62
DX2/66 VLB  ET4000/W32i  FreeBSD-bcurrent onscreen-o  3.40  0.01   3.33  0.59
DX2/66 VLB  ET4000/W32i  FreeBSD-bcurrent offscreen   3.68  0.02   3.63  0.54
DX2/66 VLB  ET4000/W32i  FreeBSD-bcurrent onscreen    3.97  0.01   3.93  0.50
486/33 ISA  ET4000       FreeBSD-bcurrent offscreen-o 5.38  0.02   5.32  0.37
486/33 ISA  ET4000       FreeBSD-bcurrent onscreen-o  5.50  0.02   5.38  0.36
486/33 ISA  ET4000       FreeBSD-current  offscreen-o 5.71  0.02   5.64  0.35
486/33 ISA  ET4000       FreeBSD-current  onscreen-o  5.72  0.00   5.62  0.35
486/33 ISA  ET4000       FreeBSD-bcurrent offscreen   6.42  0.03   6.36  0.31
486/33 ISA  ET4000       FreeBSD-bcurrent onscreen    6.39  0.03   6.17  0.31
486/33 ISA  ET4000       FreeBSD-current  offscreen   6.68  0.02   6.62  0.30
486/33 ISA  ET4000       FreeBSD-current  onscreen    6.73  0.03   6.54  0.30
486/33 ISA  ET4000       linux-1.1.36     offscreen  23.56  0.03  23.60  0.08
486/33 ISA  ET4000       linux-1.1.36     onscreen   40.26  0.00  40.27  0.05



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609170456.OAA10729>