Giter VIP home page Giter VIP logo

Comments (2)

bebopagogo avatar bebopagogo commented on June 23, 2024

The "debugstats.py" is an incomplete file that is not functional. I will add comments to that effect. It was supposed to provide an example of how to process the NORM debug output which can be (as a sort of "hack" approach) optionally redirected to a local "ProtoPipe" (Unix domain socket on Unix systems and named pipe on Windows) but it looks like the code it references was not ever added to the source code repository.

I plan to provide NORM API calls that can access the statistics that are output in the debug output since parsing the text debug log output is not a good practice.

from norm.

honglei avatar honglei commented on June 23, 2024

function NormGetTxRate is missing in pynorm/session.py, users need a way to find out the status of sender. When sending files, NORM_TX_OBJECT_PURGED is never emitted, is it correct?

Proto Info: ProtoDebug>SetDebugLevel: debug level changed from 1 to 12
Sending file out.txt
Proto Debug: NormSession::SenderQueueFlush() node>3232367303, flush queued (flush_count:1)...
Proto Debug: NormSession::SenderQueueFlush() starting flush timeout: 0.532600 sec ....
TX_OBJECT_SENT
TX_QUEUE_EMPTY
Proto Debug: NormSession::OnFlushTimeout() deactivating flush_timer ....
Proto Debug: NormSession::SenderQueueFlush() node>3232367303, flush queued (flush_count:2)...
Proto Debug: NormSession::SenderQueueFlush() starting flush timeout: 0.532600 sec ....
Proto Debug: NormSession::SenderHandleAckMessage() node>3232367303 sender received ACK from node>3232243457 rtt>0.001276
Proto Debug: NormSession::SenderHandleCCFeedback() cc feedback recvd at time 1657007064.0.523851  ccRate:  153.516 ccRtt:0.001276 ccLoss:0.000005 ccFlags:20
Proto Debug: NormSession::OnProbeTimeout() node>3232367303 decreased to new grtt to: 0.246600 sec
GRTT_UPDATED

from norm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.