← Back to team overview

rohc team mailing list archive

Re: [Question #263736]: App stats problem

 

Question #263736 on rohc changed:
https://answers.launchpad.net/rohc/+question/263736

    Status: Open => Answered

Didier Barvaux proposed the following answer:
Hello,

> Is it possible to send again the patch? He is no more available.

http://pastebin.com/6MPpKEfD


> Moreover, i try to use sniffer app. Im able to see in the terminal the
> numer of packets received, but im not able to see the statistics
> concerning the compression. I opened the syslog, and i just can see
> the number of context used... Is it normal?

The statistics are recorded in logs when you send SIGUSR1 to the process:
  # killall -USR1 rohc_sniffer

Then search in the logs several lines with stats info:

dump ROHC sniffer statistics...
general:
  total packets: 371000 packets
  bad packets: 0 packets (0%)
  loss (estim.):
    0 packets among 0 bursts (0%)
    packets per burst: max 0, avg 0, min 0
  mis-ordered packets (estim.): 0 packets (0%)
  duplicated packets (estim.): 0 packets (0%)
compression gain:
  pre-compress: 1296 MB
  post-compress: 316 MB
  compress ratio: 24% of total, ie. 76% of gain
  used and re-used contexts: 131658
packets per profile:
  Uncompressed profile: 9205 packets (2%)
  IP/UDP/RTP profile: 0 packets (0%)
  IP/UDP profile: 10026 packets (2%)
  IP-only profile: 2 packets (0%)
  IP/TCP profile: 351766 packets (94%)
  IP/UDP-Lite profile: 0 packets (0%)
packets per mode:
  U-mode: 370999 packets (100%)
  O-mode: 0 packets (0%)
  R-mode: 0 packets (0%)
packets per state:
  IR state: 167241 packets (45%)
  FO state: 877 packets (0%)
  SO state: 202881 packets (54%)
packets per packet type:
  packet type IR: 167241 packets (45%)
  packet type IR-DYN: 97 packets (0%)
  packet type UO-0: 168 packets (0%)
  packet type UO-1: 0 packets (0%)
  packet type RTP/UO-1-ID: 0 packets (0%)
  packet type RTP/UO-1-TS: 0 packets (0%)
  packet type RTP/UO-1: 0 packets (0%)
  packet type UOR-2: 41 packets (0%)
  packet type RTP/UOR-2: 0 packets (0%)
  packet type UOR-2-ID: 0 packets (0%)
  packet type UOR-2-TS: 0 packets (0%)
  packet type Uncomp/Normal: 0 packets (0%)
  packet type TCP/co_common: 12516 packets (3%)
  packet type TCP/rnd_1: 7 packets (0%)
  packet type TCP/rnd_2: 0 packets (0%)
  packet type TCP/rnd_3: 5 packets (0%)
  packet type TCP/rnd_4: 0 packets (0%)
  packet type TCP/rnd_5: 0 packets (0%)
  packet type TCP/rnd_6: 0 packets (0%)
  packet type TCP/rnd_7: 16 packets (0%)
  packet type TCP/rnd_8: 1 packets (0%)
  packet type TCP/seq_1: 39343 packets (10%)
  packet type TCP/seq_2: 0 packets (0%)
  packet type TCP/seq_3: 1346 packets (0%)
  packet type TCP/seq_4: 0 packets (0%)
  packet type TCP/seq_5: 126501 packets (34%)
  packet type TCP/seq_6: 0 packets (0%)
  packet type TCP/seq_7: 21024 packets (5%)
  packet type TCP/seq_8: 2693 packets (0%)
all ROHC sniffer statistics dumped


Regards,
Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.