[Cbe-oss-dev] [RFC 0/3] powerpc: memory copy routines tweaked for Cell
syokazuliao at yahoo.com.tw
syokazuliao at yahoo.com.tw
Thu Dec 23 18:38:31 EST 2010
Hi everyone,
I'm a new Cell BE user, and my debug platform is YDL6.2 run on PS3.
I wrote two simple test programs that tests Mark Nelson's memcpy routines under
a number of conditions, and the test arrays are aligned on 128-byte boundaries.
Following explains my three files.
1. The main1.C is my first test program, it assigns two 16KB arrays.
2. The main2.C is my second test program, it assigns two 4KB arrays.
3. The test_result.TXT is my test result.
Therefore, I have three questions.
1. How to calculate the bandwidth (MB/s)?
2. Is my result or test way correct?
3. Why is the 4KB result different between main1.C and main2.C?
PS: Please use UltraEdit open my three flies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20101223/e735e920/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main2.C
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20101223/e735e920/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_result.TXT
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20101223/e735e920/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_result.TXT
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20101223/e735e920/attachment-0002.ksh>
More information about the cbe-oss-dev
mailing list