[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] Speed up lwIP
From: |
Goldschmidt Simon |
Subject: |
[lwip-devel] Speed up lwIP |
Date: |
Fri, 4 May 2007 09:15:00 +0200 |
Hi all,
Talking about lwIP performance on this list, I have 2 issues which
I think could speed up lwIP (at least for me, they did):
- create a #define MEMCPY(dst,src,len) (defined to memcpy(dst,src,len)
as default) to be able to easily provide a faster memcpy than the one
included in the C library. Especially if src or dst are not aligned,
writing my own memcpy gave me much better performance. I could define
memcpy to my own version, but in my opinion, that's a dirty hack.
- (only for little endian processors and spectial MACs):
include some kind of define to tell the stack not to convert items in
protocol headers from host to network order if the MAC can do this.
This requires a rather advanced MAC, but still I think it's important
that we support this in order not to slow down MACs that have
accelerating
features.
Any comments?
Simon
- [lwip-devel] Speed up lwIP,
Goldschmidt Simon <=