[Olsr-users] olsrd bandwidth vs static routes

Joseph Chop (spam-protected)
Thu Nov 26 16:37:17 CET 2009


the only thing i can suspect is the code in ifnet.c

#ifdef linux
  /* Set TOS */

  if (setsockopt(ifp->olsr_socket, SOL_SOCKET, SO_PRIORITY, (char
*)&precedence, sizeof(precedence)) < 0) {
    perror("setsockopt(SO_PRIORITY)");
    olsr_syslog(OLSR_LOG_ERR, "OLSRD: setsockopt(SO_PRIORITY) error %m");
  }
  if (setsockopt(ifp->olsr_socket, SOL_IP, IP_TOS, (char *)&tos_bits,
sizeof(tos_bits)) < 0) {
    perror("setsockopt(IP_TOS)");
    olsr_syslog(OLSR_LOG_ERR, "setsockopt(IP_TOS) error %m");
  }
#endif

Perhaps this code affects the queuing system.  I'll experiment and get back
to you.  Thanks for your input.

On Thu, Nov 26, 2009 at 1:28 AM, Henning Rogge <
(spam-protected)> wrote:

> On Thu November 26 2009 04:18:52 Joseph Chop wrote:
> > I have two N800s configured for an ad-hoc network.  One address is
> > 192.168.0.1 and the other address is 192.168.0.2.  In the case of static
> > routes, I simply enter the command on host 192.168.0.1:
> >
> > ip route add 192.168.0.2 dev wlan0
> >
> > similarily I enter the following command 192.168.0.2:
> >
> > ip route add 192.168.0.1 dev wlan0
> >
> > I transfer using iperf by typing
> > iperf -s on one host and
> > iperf --t 60 -c 192.168.0.1 on the other host
> >
> > The nodes are about two feet from each other.  I've repeated the tests
> > several times, and even tested using ttcp and nuttcp to confirm the
> >  results.
> I am sure olsrd is not able to increase your bandwith. In an indoor setup
> there are lot's of strange things which can change the parameters of your
> setup. The only thing OLSRd is doing is setting routes.
>
> Henning Rogge
>
> --
> Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
> Kommunikation, Informationsverarbeitung und Ergonomie FKIE
> Kommunikationssysteme (KOM)
> Neuenahrer Straße 20, 53343 Wachtberg, Germany
> Telefon +49 228 9435-263,   Fax +49 228 9435 685
> mailto:(spam-protected) http://www.fkie.fraunhofer.de
> GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20091126/1b0db3e7/attachment.html>


More information about the Olsr-users mailing list