On Wed, 2003-10-01 at 14:07, Ed Tomlinson wrote:
> On October 01, 2003 07:57 am, Toad wrote:
> > On Wed, Oct 01, 2003 at 07:44:35AM -0400, Ed Tomlinson wrote:
> > > Hi,
> > >
> > > I have noticed something funny in the ocm stats.  My box with a node
> > > up 14 hours (6214) has 242 connections transmitting data and has
> > > 324M of data queued on them.  My output bandwidth is limited to
> > > 10k/s.  The servlet/nodeinfo/performance/general tells me I am
> > > using about 8k/s.  So either the ocm lies about what is queued OR
> > > most of those connections are stalled...  It may well be a stalling
> > > problem - if I limit the send queue size to a couple of mins of
> > > traffic (by QRing) servlet/nodeinfo/performance/general shows
> > > dropping bandwidth over time.

My output bandwidth is supposed to be limited to 5.4k/s, but actual
measurement at my firewall shows 12k/s.  When freenet is off, 
the measurement is about 0.5k/s.  With latest CVS.  This is ADSL.
The maximum observed rate over a minute occured on Sep 1, 17k/s.
More typical peak values are 15k/s.

To measure, I run this in an emacs shell window and save the file:
while true; do echo $(date; grep eth0 /proc/net/dev); sleep 60; done

For the servlet claim, I used data from this line "Current upstream
bandwidth usage 3284 bytes/second (60%)":

Over the last 20 hours, the servlet claim averaged 3404 bytes/sec 
(over 21 samples), i.e. about 244,880,000 bytes.

The actual output was 11559 bytes/sec over 20 hours, 
i.e. about 832,248,000 bytes.

When bandwidth limiting was "working", the actual output was
averaging around 7k/sec.  I chose 5.4k/s to achieve around the
desired 6-8k/sec.

The last sample from the servlet says
"Data waiting to be transmitted/received 79 MiB/2,940 KiB".

netstat shows 13 connections with persistent input queues,
and 9 with persistent output queues.

-- Ed Huff

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to