Date: Wed, 16 Jan 2008 12:04:23 +0200 From: Nikos Vassiliadis <nvass@teledomenet.gr> To: freebsd-net@freebsd.org Cc: Michael MacLeod <mikemacleod@gmail.com>, Julian Elischer <julian@elischer.org> Subject: Re: Multilink PPP Download Speeds With Round-Robin Packets Message-ID: <200801161204.23905.nvass@teledomenet.gr> In-Reply-To: <e8f0b580801152344p3e6f6d45v4561f882f15443b9@mail.gmail.com> References: <e8f0b580801152214j63af04c0t693f4ed035d75b51@mail.gmail.com> <478DAF82.8010702@elischer.org> <e8f0b580801152344p3e6f6d45v4561f882f15443b9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 16 January 2008 09:44:05 Michael MacLeod wrote: > On Jan 16, 2008 2:17 AM, Julian Elischer <julian@elischer.org> wrote: > > 1/ when downloading, does the load on each incoming interface > > (I assume you have one ethernet to each modem) match? > > This is a pretty rough way to estimate it, but starting/stopping > tcpdump on each of the interfaces at the same time suggests the load > is balanced down each link pretty evenly. There's a lot of inbound > traffic right now, as a friend is sending me a file right now. Most of > the other tools I'm used to working with to watch traffic only want to > work on the tun0 interface created by ppp. use "netstat -I xl0 -w 1", "netstat -I xl1 -w 1" and "netstat -I tun0 -w 1" or "systat -ifstat" for an interactive terminal display. > > 2/ do the IP stats show a lot of out-of order packets? > > (netstat -s -ptcp I think) > > in fact ip reassembly problems might be of interest. > > (netstat -s -pip (?)) > > 3/are there many retransmissions? > > # netstat -s -ptcp > tcp: > 144824 packets sent > 88543 data packets (117925386 bytes) > 34 data packets (45103 bytes) retransmitted > 6 data packets unnecessarily retransmitted > 0 resends initiated by MTU discovery > 49084 ack-only packets (1022 delayed) > 0 URG only packets > 0 window probe packets > 7156 window update packets > 42 control packets > 140315 packets received > 42211 acks (for 117742680 bytes) > 7009 duplicate acks > 0 acks for unsent data > 90610 packets (117590676 bytes) received in-sequence > 5665 completely duplicate packets (0 bytes) > 0 old duplicate packets > 0 packets with some dup. data (0 bytes duped) > 45 out-of-order packets (64530 bytes) > 0 packets (0 bytes) of data after window > 0 window probes > 640 window update packets > 0 packets received after close > 0 discarded for bad checksums > 0 discarded for bad header offset fields > 0 discarded because packet too short > < snip > > > # netstat -s -pip > ip: > 2143677 total packets received > 0 bad header checksums > 0 with size smaller than minimum > 0 with data size < data length > 0 with ip length > max ip packet size > 0 with header length < data size > 0 with data length < header length > 0 with bad options > 0 with incorrect version number > 0 fragments received > 0 fragments dropped (dup or out of space) > 0 fragments dropped after timeout > 0 packets reassembled ok > 149764 packets for this host > 0 packets for unknown/unsupported protocol > 1986854 packets forwarded (0 packets fast forwarded) > 651 packets not forwardable > 0 packets received for unknown multicast group > 0 redirects sent > 156851 packets sent from this host > 0 packets sent with fabricated ip header > 0 output packets dropped due to no bufs, etc. > 0 output packets discarded due to no route > 0 output datagrams fragmented > 0 fragments created > 0 datagrams that can't be fragmented > 0 tunneling packets that can't find gif > 0 datagrams with bad address in header > > So it looks like the connection is pretty decent, though admittedly I > haven't seen what these stats should look like on a non-multilink ppp > connection. However, empirically my VoIP traffic doesn't suffer from > jitter or choppiness, so I'm going to go out on a limb and say the > connection is pretty decent. Though it seems that most of the traffic is forwarded and thus the FreeBSD host will not get much TCP. So, you wouldn't know much of the retransmissions happening. You could use 2-3 instances of "fetch ftp://somewhere/something" in parallel to fully utilize your DSL lines from your FreeBSD box. [snip] > > 5/ have you tried mpd? (in ports (multilink ppp daemon).) > > it may have different operating characteristics.. (it does it all > > in the kernel using netgraph). Sounds like you need to fix it > > at the other end but mpd might trigger different behaviour > > in the router. > > I looked into mpd first. I tried several of the ports (mpd, mpd4, and > mpd5) all without much success. There isn't much documentation for mpd > (at least compared to the standard userland ppp). No, mpd is adequately documented. /usr/local/share/doc/mpd* > Also, both of the > individuals who I know have successfully used multilink ppp and > TekSavvy are using userland ppp. I'd be happy to use mpd, except that > I'm *almost* there with userland ppp, and I'm guessing it's something > I've overlooked or misconfigered somewhere and once I find and correct > it, it'll work like a charm. If you are willing to try mpd, you can find a multilink PPPoE setup here: http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/157110.html You can use the above example with mpd4. HTH, Nikos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801161204.23905.nvass>