rohctunnel: cannot see compression/decompression statistics

Bug #414032 reported by Didier Barvaux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.2.x
Fix Released
Low
Didier Barvaux
Rohc-main
Fix Released
Low
Didier Barvaux

Bug Description

Josephine Kakande reported on the mailing list that the rohctunnel tool does not outputs the compression and decompression statistics on file descriptors 3 and 4 as it should. See the complete thread for more details: https://lists.launchpad.net/rohc/msg00019.html

Tags: tunnel-tool
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Bug is confirmed. The statistics messages are not displayed immediately: one have to wait some time or stop the rochtunnel tool.

Changed in rohc:
assignee: nobody → Didier Barvaux (didier-barvaux)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

The bug also affects the 1.2.x branch.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

The bug should be fixed in trunk for 1.3.0 release.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Analysis:
The system bufferizes the messages for performance reasons, so they are not written to the files immediately. One have to wait some time or stop the rochtunnel tool for the messages to be flushed in the log files.

Solution:
The problem may be definitively corrected by forcing the system to flush the statistics messages to disk after every new line.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Same analysis and solution for trunk as for branch 1.2.x.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.