All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fbdev: Improve performance of fbdev console
@ 2022-02-17 10:34 ` Thomas Zimmermann
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Zimmermann @ 2022-02-17 10:34 UTC (permalink / raw)
  To: daniel, deller, javierm, geert; +Cc: dri-devel, linux-fbdev, Thomas Zimmermann

Optimize performance of the fbdev console for the common case of
software-based clearing and image blitting.

The commit descripton of each patch contains resuls os a simple
microbenchmark. I also tested the full patchset's effect on the
console output by printing directory listings (i7-4790, FullHD,
simpledrm, kernel with debugging).

  > time find /usr/share/doc -type f

In the unoptimized case:

  real    0m6.173s
  user    0m0.044s
  sys     0m6.107s

With optimizations applied:

  real    0m4.754s
  user    0m0.044s
  sys     0m4.698s

In the optimized case, printing the directory listing is ~25% faster
than before.

Thomas Zimmermann (2):
  fbdev: Improve performance of sys_fillrect()
  fbdev: Improve performance of sys_imageblit()

 drivers/video/fbdev/core/sysfillrect.c | 16 ++------
 drivers/video/fbdev/core/sysimgblt.c   | 51 ++++++++++++++++++++------
 2 files changed, 42 insertions(+), 25 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-02-18 14:09 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 10:34 [PATCH 0/2] fbdev: Improve performance of fbdev console Thomas Zimmermann
2022-02-17 10:34 ` Thomas Zimmermann
2022-02-17 10:34 ` [PATCH 1/2] fbdev: Improve performance of sys_fillrect() Thomas Zimmermann
2022-02-17 10:34   ` Thomas Zimmermann
2022-02-18  9:09   ` Javier Martinez Canillas
2022-02-18  9:09     ` Javier Martinez Canillas
2022-02-18  9:35   ` Sam Ravnborg
2022-02-18  9:35     ` Sam Ravnborg
2022-02-17 10:34 ` [PATCH 2/2] fbdev: Improve performance of sys_imageblit() Thomas Zimmermann
2022-02-17 10:34   ` Thomas Zimmermann
2022-02-17 11:05   ` Gerd Hoffmann
2022-02-17 11:05     ` Gerd Hoffmann
2022-02-17 12:08     ` Thomas Zimmermann
2022-02-17 12:08       ` Thomas Zimmermann
2022-02-18  9:24   ` Javier Martinez Canillas
2022-02-18  9:24     ` Javier Martinez Canillas
2022-02-18 10:14   ` Sam Ravnborg
2022-02-18 10:14     ` Sam Ravnborg
2022-02-18 14:09     ` Thomas Zimmermann
2022-02-18 14:09       ` Thomas Zimmermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.