gnunet-developers
[Top][All Lists]
Advanced

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

[GNUnet-developers] network load broken?


From: Wayne Scott
Subject: [GNUnet-developers] network load broken?
Date: Mon, 13 May 2002 09:30:39 -0500 (EST)

I updated from CVS this morning and started running:

NETWORK:current 232288 Bps, rxdiff=3548865 3548865, txdiff=632328 632328, 
maxnet=8000,
    elapsedtime=18
NETWORK:current 144284 Bps, rxdiff=3748946 3748946, txdiff=723874 723874, 
maxnet=8000,
    elapsedtime=31

I wish!!!

This is over a modem.

Is this the problem:

              if (rxnew != last_net_results[ifnum][0]){
                rxdiff+=rxnew-last_net_results[ifnum][0];
                last_net_results[ifnum][0]=rxnew;
              }
?
Why is the += there?

In fact why are rxnew and rxdiff static???
The only thing that needs to be saved is last_net_results, right?

-Wayne

PS: I could be totally wrong, I only spent a minute looking at the
code...



reply via email to

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