LWN.net Logo

Constant UI responsiveness

Constant UI responsiveness

Posted Feb 28, 2009 10:15 UTC (Sat) by nlucas (subscriber, #33793)
In reply to: Constant UI responsiveness by nix
Parent article: CrunchBang Linux 8.10

I'm using those mini-PC boards, like the VIA mini-ATX boards (and others, like the Geode based) to boot into a vesafb system for POS (Point of Sale) software.

The application uses FreeType to display anti-aliased text, but without any special optimization techniques other than brute caching and double-buffering. It works well, but can't afford to do much more without more complex optimization techniques (and then the best way would probably be to start using X).

The target machines range from Geodes with the power equivalent of a Pentium MMX@266MHz to modern Celerons @2GHz, so it's bearable enough on the Geode and instant on the Celeron.

I also can't afford to optimize the code for a specific machine, so it's just compiled with generic optimizations.

This POS machines are not always well tested. They are made to be compact and sometimes they don't have enough cooling space. For eye candy we have a screen-saver using alpha-blending to show a flashlight passing on the screen. Some lower end machines lock solid because they heat too much, so we limit that screen-saver to no more than a 5-minutes run.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds