Home arrow Support arrow Forums

Luminary Micro Forums

rocksoft

Expert Boarder

2008/08/12 16:43

Re:For sharing: Memory copy routine

Good results.

I also saw good improvements in my TCP/IP, particularly with IP fragment reassembly and TCP segment handling. Even though I try to avoid memory copies and attempt to make everything long word aligned it's difficult to avoid non-aligned transfers sometimes, that's where most of the speed gain comes from.

You might also want to try to rename the MEM_DataCopy label to "memcpy". I found a number of routines in the standard library I am using that rely on memcpy itself.

With the correct link order you can replace that too so the libraries use the version you supply. In my environment "v/f/s/printf" had a speed increase by doing this.

Regards,

Liam.

login or register to reply

      Topics Author Date
    thread link
For sharing: Memory copy routine
rocksoft 2008/07/24 10:19
    thread link
thread linkthread link Re:For sharing: Memory copy routine
jrmymllr 2008/08/11 13:36
    thread link
thread linkthread linkthread link Re:For sharing: Memory copy routine
rocksoft 2008/08/11 16:12
    thread link
thread linkthread linkthread linkthread link Re:For sharing: Memory copy routine
jrmymllr 2008/08/12 05:49
    thread link
thread linkthread linkthread linkthread linkthread link Re:For sharing: Memory copy routine
rocksoft 2008/08/12 06:03
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:For sharing: Memory copy routine
jrmymllr 2008/08/12 16:05
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:For sharing: Memory copy routine
rocksoft 2008/08/12 16:43
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:For sharing: Memory copy routine
ravaz 2008/08/13 07:30
    thread link
thread linkthread link Re:For sharing: Memory copy routine
Riveywood 2008/08/28 04:09
    thread link
thread linkthread linkthread link Re:For sharing: Memory copy routine
rocksoft 2008/08/28 05:48