lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Re: Download indicator hogs my bandwidth


From: Ilya Zakharevich
Subject: lynx-dev Re: Download indicator hogs my bandwidth
Date: Tue, 24 Jul 2001 18:57:26 -0400
User-agent: Mutt/1.2.5i

Background: I (?) coded the download indicator so that it updates the
screen 5 times per second (falling back to 1/sec if there is only a
second-granularity clock).  As the typescript at
http://www.page-crafters.com/lynx/ shows, each update involves around
40 bytes sent to a TTY.  This leads to circa 2K bauds of bandwidth
required (in the Bytes/second mode, let me note that it should be much
less in the KB/second mode).

Since the user reports his 20K+ baud bandwidth is taken, this means
that the code is called more often than 5 times per second.  A faulty
code in the get-the-time logic?

A simple sanity check: as typescript indicates, the update happens
when the download gets circa 4K larger.  Is the download happening at
16KB/sec, or larger?  If it is 16K/sec, then *it is* no more 2K baud
taken.  If it is larger, there is a fault in the get-the-time code.

Hope this helps,
Ilya

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]