[Bug 1443] PowerPC in_cksum() requires optimization

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Sep 1 07:52:48 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1443

--- Comment #10 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-09-01 02:52:42 CDT ---
Created attachment 1315
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1315
Header file derived from current FreeBSD

This version uses no inline assembler at all and works with -O2 and -O0.  A
simple performance test on a MPC5566 running at 132 MHz shows this (FTP
transfer to /dev/null and from /dev/zero):

A = FreeBSD derived with -O2
B = FreeBSD derived with -O0
C = current RTEMS with -O2
D = NetBSD derived with -O2

  | Upload MB/s | memcpy() % | in_cksum() % |
--+-------------+------------+--------------+
A |        6.28 |       11.9 |         16.0 |
B |        5.34 |       10.6 |         23.4 |
C |        6.24 |       11.5 |         18.5 |
D |        6.19 |       11.0 |         18.0 |

  | Download MB/s | memcpy() % | in_cksum() % |
--+---------------+------------+--------------+
A |          4.66 |       14.1 |         9.00 |
B |          3.97 |       12.4 |         15.5 |
C |          4.66 |       13.8 |         8.00 |
D |          4.69 |       14.3 |         7.50 |

Its hard to tell from this figures what is good or bad.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list