Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2002 17:42:56 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        net@FreeBSD.org
Subject:   Lossless bandwidth limiter on an interface
Message-ID:  <XFMail.20020522174256.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I'm curious: what would be the best method of implementing a bandwith limiter
on an interface that is lossless?  I'm having to limit UDP with no back channel,
so I can't reply on TCP retransmits to make up for packets being dropped.
DUMMYNET drops packets that overflow it's queue size so it doesn't seem to work
out of the box.  Ideally, I would like applications sending packets to the
interface to block when the outgoing queue is full.  One idea I thought
about is trying to use netgraph to implement a network interface that does
this limiting and then hands the data off to a real network interface that
it is attached to, but I also don't want to have to add netgraph support to
a bunch of network drivers to get this to work either.

Suggestions?

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020522174256.jhb>