performance: the library is too slow for production use

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

Bug Description

The ROHC library was mainly designed with features in mind, not speed. While not very slow, the library is not ready for production environments. There is room for making the library more efficient.

This bug is for tracking changes that enhance the library speed.

Tags: library
Changed in rohc:
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Change target release from 1.3.0 to 1.4.0.

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

Check if using ASM for computing IP checksum is still a benefit. Do so for several targets: x86, x86_64, ARM, PPC...

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

Check if partial computing of IP checksum (remove old values, add new ones) is faster than computing the whole new checksum.

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

Check if -O3 improves speed without breaking the library.

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

Avoid memory allocation in critical paths.
Avoid payload copies if possible.

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

Use a hash for efficient search of contexts inside compressor: SipHash [https://en.wikipedia.org/wiki/SipHash] might be a great candidate.

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

Bench Clang vs. GCC

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

Bench the -fstack-protector-strong compiler option introduced by GCC 4.9.

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

Check if a LTO build improves speed without breaking the library.

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

Bench static vs. dynamic link.

summary: - The library is too slow for production use
+ performance: the library is too slow for production use
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

try with native versions of rohc_ntoh[32|16] and rohc_hton[32|16]

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.