[Pixman] Remove cache prefetch code (2nd)

Liu Xinyun xinyun.liu at intel.com
Sat Sep 25 00:07:16 PDT 2010


Hi Soren,

This attachment is the regenerated patch to remove cache prefetch code. Please review it. Thank you!

Here is some test result. They all show that without cache prefetch, the performance has increased more than 5%.


CPU: Intel Atom N270 at 1.6GHz
OS: MeeGo (32 bits)

old: 0.19.5-with-cache-prefetch
new: 0.19.5-without-cache-prefetch
Speedups
========
image-rgba                    poppler-0    17125.68 (17279.58 0.92%) -> 14765.36 (15926.49 3.54%):  1.16x speedup
image-rgba                  ocitysmap-0    9008.25 (9040.41 7.50%) -> 8277.94 (8343.09 5.44%):  1.09x speedup
image-rgba          xfce4-terminal-a1-0    18020.76 (18230.68 0.97%) -> 16703.77 (16712.42 1.22%):  1.08x speedup
image-rgba         gnome-terminal-vim-0    25081.38 (25133.38 0.24%) -> 23407.47 (23652.98 0.54%):  1.07x speedup
image-rgba          firefox-talos-gfx-0    57916.97 (57973.20 0.11%) -> 54556.64 (54624.55 0.39%):  1.06x speedup
image-rgba       firefox-planet-gnome-0    102377.47 (103496.63 0.70%) -> 96816.65 (97075.54 0.15%):  1.06x speedup
image-rgba         swfdec-giant-steps-0    12376.24 (12616.84 1.02%) -> 11705.30 (11825.20 1.06%):  1.06x speedup


Test 1:                                                                                                   
old: 0.18.4-origin
new: 0.18.4-disable-cache-prefetch
Speedups
========
image-rgba                    poppler-0    17590.75 (17597.01 1.30%) -> 15414.85 (16345.44 2.89%):  1.14x speedup
image-rgba          xfce4-terminal-a1-0    18429.77 (18471.36 1.03%) -> 16648.99 (16725.68 1.18%):  1.11x speedup
image-rgba         gnome-terminal-vim-0    25272.76 (25366.13 0.18%) -> 22993.57 (23060.22 0.52%):  1.10x speedup
image-rgba                  ocitysmap-0    9079.30 (9128.50 6.54%) -> 8410.53 (8452.60 8.02%):  1.08x speedup
image-rgba         swfdec-giant-steps-0    12436.80 (12473.41 0.39%) -> 11701.41 (11760.38 0.90%):  1.06x speedup
image-rgba       firefox-planet-gnome-0    103749.15 (103983.13 0.19%) -> 98310.02 (98522.71 0.35%):  1.06x speedup

Test 2:
old: 0.18.4-origin
new: 0.18.4-disable-cache-prefetch
Speedups
========
image-rgba         gnome-terminal-vim-0    25068.39 (25095.11 0.06%) -> 23302.54 (23317.50 0.56%):  1.08x speedup
image-rgba                  ocitysmap-0    8984.46 (8988.04 8.44%) -> 8416.64 (8489.40 6.91%):  1.07x speedup
image-rgba          firefox-talos-gfx-0    58330.34 (58361.84 0.23%) -> 54657.10 (55473.39 1.72%):  1.07x speedup
image-rgba                    poppler-0    17265.62 (17437.80 0.84%) -> 16257.05 (16341.86 0.75%):  1.06x speedup
image-rgba       firefox-planet-gnome-0    104102.19 (104150.67 0.12%) -> 98324.84 (98402.02 0.32%):  1.06x speedup

CPU: Intel Core(TM)2 Duo CPU T9600 at 2.80GHz     
OS: Ubuntu 10.04 (64bits)

old: 0.19.5-with-cache-prefetch
new: 0.19.5-without-cache-prefetch
Speedups
========
image-rgba                  ocitysmap-0    2671.46 (2691.82 8.55%) -> 2296.20 (2307.26 5.77%):  1.16x speedup
image-rgba         swfdec-giant-steps-0    1614.55 (1615.18 1.68%) -> 1532.84 (1538.52 0.72%):  1.05x speedup


Regards,
Liu, Xinyun

> Liu Xinyun <xinyun.liu at intel.com> writes:
> 
> > OK. here is the work to clear all cache prefetch. Please review
> > it. 3x
> 
> This patch looks good to me. If you can resend it with a better commit
> message, including the benchmark results, I'll apply it.
> 
> 
> Thanks,
> Soren


More information about the Pixman mailing list