olsr.funkfeuer.at
Wednesday, August 29, 2007
  Another big step to kill superflous bloat
I rewrote the half of src/lq_packet.[ch] which deals with incoming packets. This was triggered with performance output of gcc procuced by Sven-Ola Tuecke at CCCamp07.
It kills lots of (more than) superflous malloc()s and the same number of (free()s). And it also kills some code.
And if someone wants to play around, I tagged the CVS with BEFORE_LQ_PACKET_PART_1 and AFTER_LQ_PACKET_PART_1.

BTW is *_PART_2 reserved for the sending side - a rewrite of this doesn't seem to save that much CPU power and it is much more complicated, but it is also worth.
 
Tuesday, August 28, 2007
  Update on the simulation/test hardware
Does any one find a reason below why I don't have bad hardware karma?

 
Saturday, August 25, 2007
  Ongoing Work
There is quite an action now:
- Sven- Ola Tuecke sent a patch to convert more plugins to the version 5 interface. As the changes were quite clear, I committed it.
- Hannes Gredler rewrote the route handling. I'm waiting for feedback and opinions before committing. Since Sven-Ola Tuecke integrated it the development FreiFunkFirmware, it should be pretty acceptable.
One issue remains (which is now in discussion on the olsr-dev@lists.olsr.org mailinglist): In his patch, Hannes has a pointer to the "struct interface" (which represents an network interface, e.g. "eth0" or "wlan0"). If an interface is deactivated ("down"), this struct is removed and the pointers are - thus - dangling. Sven-Ola wrote a patch to replace the pointer with the interface number and calls to the POSIX function "if_indextoname" to resolve the name (since that is the only purpose for the pointer apparently). But "Windows" ("POSIX compliant" if you really want to believe it's vendor) didn't has it on Windows XP. It has that only on Vista - if you belive their docs on http://msdn2.microsoft.com/en-us/library/bb408408.aspx.
- And Sven-Ola Tuecke also is working on the conversion of ioctl() to netlink sockets - at least for Linux. This has some minor issues since the Linux kernels netlink part is not so gracefully like the ioctl() interface.
 
Thursday, August 02, 2007
  Patch Update
I cvs-comitted several patches submitted via olsr-dev@olsr.org in the last days. To quote from the CHANGELOG:
---- snip ----
PATCHES by Sven-Ola Tücke to be found on from
http://download-master.berlin.freifunk.net/sven-ola/nylon/packages/olsrd/files/
- 110-olsrd-double-wlancard-neigh-hack.patch:
This is a hack for Nodes having to wifi cards with the same channel,
bssid, IP-Range etc. If two nodes can see each other by means of two
possible links (here: two wifi cards with equal config), a bug is triggered
with the Neigh-is-SYM detections. This small little hack prevents this.

- 112-olsrd-nameservice-fixemptyname.patch:
This is an addon to my lat/lon stuff which will prevent olsrd from
running (oops?) if no hostname is given and the nameservice plugin
is loaded.

- 113-olsrd-dyngwplain-pluginvers5.patch:
This updates the dyngwplain plugin to the new Plugin Iface

- 140-olsrd-arprefreshed.patch:
This is a new one. Opens a packet socket and listen to UDP(698), extract
the sender MAC and refreshes the ARP cache whith that. Should speedup
especially in cases, if you initially try to use a longer routing path which normally
triggers a "ARP-Lookup-Chain".

PATCH by Arnd Hannemann
olsr_makefile_make_use_of_exename.patch
- This patch makes sure that the EXENAME variable of Makefile.inc is used
in Makefile.
---- snip ----
And some minor cleanups (as I stumbled over them)
---- snip ----
- paving the way to activate -Wshadow, much mor todo
- const-ify parameters here and there
- use NULL for pointers (and not "0")
- Killed "extern" declarations in (not generated) .c files
---- snip ----

 
  Debian packages
Holger Levsen is building Debian packages. Status can be seen on http://buildd.debian.org/~jeroen/status/package.php?p=olsrd
 
olsr next generation development @ funkfeuer

Quick Nav

Links

Mercurial source code repository
funkfeuer.at
freifunk.net
olsr.org
olsr CVS

ARCHIVES
October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 /



Google
Locations of visitors to this page