Subject: Re: First snapshot of graphics mode console driver available
To: Ignatios Souvatzis <is@beverly.kleinbus.org>
From: Bang Jun-Young <bjy@mogua.org>
List: tech-kern
Date: 01/28/2001 14:03:45
Ignatios Souvatzis wrote:
> I still see a factor of two.
> >
> > $ time ls -l /usr/bin
> > real 0m1.153s
> > user 0m0.102s
> > sys  0m0.787s
> 
> > > wscons:
> > >         $ time ls -l /usr/bin
> > >         real 0m0.462s

You are right, but basically it's due to limit of graphics display
speed. In graphics mode, VGA deals with pixel data which is 8 times 
larger than text data (plus extra time-consuming in()/out()'s). 

This morning I got another 10% speed improvement by extending display 
buffer size to 0x18000:

$ time ls -l /usr/bin
real 0m1.030s
user 0m0.011s
sys  0m0.704s

Note that it was obtained with a pretty old and slow Cyrix 6x86 machine.
With Athlon 900 I could hardly notice the difference (0.79s vs. 0.46s).

Now I'm working on merging UTF-8 code into wscons. Coming soon...

Jun-Young

--
Bang Jun-Young <bjy@mogua.org>