Thread Previous • Date Previous • Date Next • Thread Next |
Question #635408 on rohc changed: https://answers.launchpad.net/rohc/+question/635408 Status: Open => Needs information Didier Barvaux requested more information: Hello, Here are my first findings with latest ROHC library version. I made some measurements on structures weights: W-LSB size for window width 4 = 88 bytes generic_tmp_vars size = 56 bytes ip_header_info size = 70304 bytes ipv4_header_info size = 96 bytes ipv6_header_info size = 70264 bytes list_comp size = 70224 bytes rohc_list_item size = 2072 bytes -> 16 items = 33152 bytes rohc_list size = 144 bytes -> 257 lists = 37008 bytes compression context: main = 160 bytes IP-only = 141080 bytes IP/UDP = 141100 bytes So, you're right, the contexts are large. This is the IPv6 part that is large. Especially the part that handles the list of IPv6 extension headers. I decreased the number of lists (257 -> 7) and the number of list items (16 -> 1). Here are the new results: W-LSB size for window width 4 = 88 bytes generic_tmp_vars size = 56 bytes ip_header_info size = 3224 bytes ipv4_header_info size = 96 bytes ipv6_header_info size = 3184 bytes list_comp size = 3144 bytes rohc_list_item size = 2072 bytes -> 1 items = 2072 bytes rohc_list size = 144 bytes -> 7 lists = 1008 bytes compression context: main = 160 bytes IP-only = 6920 bytes IP/UDP = 6940 bytes Do you need IPv6 support? If yes, do you need support for IPv6 extension headers? Regards, Didier -- You received this question notification because your team ROHC Team is an answer contact for rohc.
Thread Previous • Date Previous • Date Next • Thread Next |