Re: RFC: Optimizing putcs()
From: Antonino Daplas <hidden>
Date: 2002-08-07 00:13:26
On Wed, 2002-08-07 at 04:08, Geert Uytterhoeven wrote:
Just for reference, did you run this benchmark on 2.4.x as well?
Gr{oetje,eeting}s,Sort of. The functions in fbcon-cfb*.c are already very fast, because fbcon and character drawing are tightly integrated together, and fbcon_cfb8_putcs() is very, very efficient, processing 4 bits per iteration, instead of 1. I'm getting numbers like this: real 0m2.098s user 0m0.000s sys 0m2.070s which was faster(!) than my hardware implementation of putcs, and 5x faster than 2.5. Since I'm using an i810 with Video in System RAM, direct framebuffer access does not carry much overhead. I just have to beat fbcon-cfb8, so I thought of placing text data in offscreen graphics memory to take full advantage of hardware blitting. At high bit depths (32 bpp), 2.5 with an offscreen buffer is as fast as 2.4. Tony ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf