linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: Antonino Daplas <adaplas@pol.net>
Cc: James Simmons <jsimmons@infradead.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Fbdev development list 
	<linux-fbdev-devel@lists.sourceforge.net>
Subject: 2.5.66 fbdev performance (was Re: Re: FBdev updates)
Date: Fri, 28 Mar 2003 15:19:28 +0100	[thread overview]
Message-ID: <20030328141928.GB2051@vana.vc.cvut.cz> (raw)
In-Reply-To: <20030303203500.GA2916@vana.vc.cvut.cz>

Hello,
  I see a problem with new pixmap based code...
There is 25% slowdown for 8x16 8bpp videomode 
after upgrading from 2.5.63 to 2.5.66 :-(

Setup as usual, 1024x768, 100Hz, secondary
head doing nothing (i.e. no fbtv...), CPU
doing nothing except running this test.
P4 1.6GHz, MGA G550. Shown value is system
time in seconds needed to repaint screen 1000
times (avg. from 3 tests) (you can treat it 
as time in milliseconds needed to repaint 
screen once).

Although speedup for 12x22 font is very nice,
it looks to me that we paid too much for it.

Problem is in the new pixmap handling, especially
pixbuf.output - so now instead of memcpy we
call some function for copying each byte from
font to temporary buffer. As you can see,
"constant" portion of time, independent of
color depth, increased by 1sec for unaccelerated
and by 0.75sec for accelerated putcs.
It is 5% to 25% slowdown (5% for 32bpp unaccelerated,
25% for 8bpp accelerated).

And while we are still faster than 2.4.x, we were
even better...
				Petr

NOACCEL, 8x16
        2.4.19+fbtv  2.5.63+fbtv  2.5.63  2.5.66
8bpp    10.02         6.96         5.62    6.62
16bpp   20.05        13.25        10.62   11.63
24bpp   30.03        19.05        15.13   16.07
32bpp   45.00        25.74        20.54   21.62

ACCEL, 8x16
        2.4.19+fbtv  2.5.63+fbtv  2.5.63  2.5.66
8bpp     7.48         3.38         3.00    3.75
16bpp    7.50         3.38         3.01    3.76
24bpp    7.53         3.56         3.53    4.23
32bpp    8.95         4.37         4.33    5.05

NOACCEL, 12x22
        2.4.19+fbtv  2.5.63+fbtv  2.5.63  2.5.66
8bpp    11.54        13.35        10.93    8.96
16bpp   20.00        22.02        18.03   13.61
24bpp   30.03        35.83        29.53   18.07
32bpp   40.12        44.48        36.75   23.22

ACCEL, 12x22
        2.4.19+fbtv  2.5.63+fbtv  2.5.63  2.5.66
8bpp     8.57        14.87        12.90    5.72
16bpp    8.57        14.93        12.92    5.72
24bpp    8.56        15.13        13.10    6.20
32bpp    8.56        15.52        13.76    6.98



  parent reply	other threads:[~2003-03-28 14:08 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20  1:09 FBdev updates James Simmons
2003-02-20  1:17 ` Jeff Garzik
2003-02-20  1:22   ` James Simmons
2003-02-20 15:02 ` Dave Jones
2003-02-20 15:07   ` James Simmons
2003-02-20 18:29   ` Petr Vandrovec
2003-02-20 19:03     ` Jurriaan
2003-02-20 19:58     ` James Simmons
2003-02-20 22:00       ` [Linux-fbdev-devel] " Antonino Daplas
2003-02-21  9:09         ` Geert Uytterhoeven
2003-02-21 10:46           ` Antonino Daplas
2003-02-21 11:02             ` Geert Uytterhoeven
2003-02-21  1:45       ` David S. Miller
2003-02-21  9:04         ` [Linux-fbdev-devel] " Geert Uytterhoeven
2003-02-21  0:24     ` Antonino Daplas
2003-03-03 20:35       ` Petr Vandrovec
2003-03-03 21:25         ` Geert Uytterhoeven
2003-03-03 21:32         ` Antonino Daplas
2003-03-05 20:23           ` James Simmons
2003-03-06  1:18             ` Antonino Daplas
2003-03-04 21:29         ` Jurriaan
2003-03-04 21:46           ` Petr Vandrovec
2003-03-09 21:29           ` Petr Vandrovec
2003-03-09 22:27             ` Antonino Daplas
2003-03-09 22:54               ` Petr Vandrovec
2003-03-09 23:44                 ` Antonino Daplas
2003-03-11 15:31             ` James Simmons
2003-03-05 20:22         ` James Simmons
2003-03-06  7:35           ` Sven Luther
2003-03-06  8:05             ` Antonino Daplas
2003-03-06  8:25               ` Sven Luther
2003-03-28 14:19         ` Petr Vandrovec [this message]
2003-03-28 18:50           ` [Linux-fbdev-devel] 2.5.66 fbdev performance (was Re: Re: FBdev updates) Antonino Daplas
2003-02-20 15:10 ` FBdev updates Ivan Kokshaysky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030328141928.GB2051@vana.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=adaplas@pol.net \
    --cc=jsimmons@infradead.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).