1 / 9

Guidelines for the order of Information Elements draft-irino-ipfix-ie-order-03

Guidelines for the order of Information Elements draft-irino-ipfix-ie-order-03. Hitoshi Irino NTT Network System Laboratories. Purpose of the last draft Optimize performance of collectors. My idea for increasing performance

Download Presentation

Guidelines for the order of Information Elements draft-irino-ipfix-ie-order-03

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Guidelines for the order of Information Elements draft-irino-ipfix-ie-order-03 Hitoshi IrinoNTT Network System Laboratories

  2. Purpose of the last draft Optimize performance of collectors. My idea for increasing performance Based on processing multiple fields (IEs) placed in a suggested order at a time. In new draft The rule is now easier. Idea extended to apply to not only Collectors but also Exporters. Unsolved(Could anyone implement this idea?) last draft & last meeting • Feedback I was gave • The rule is complex. • It need to specific conditions (restrictions) to improve performance • Can everybody implement this idea?

  3. Current 03 draft • My basic idea is unchanged; however… • I changed these points. • Purpose • Before: optimize performance of Collectors. • Current proposal: optimize performance of Collecting Processes and Exporting Processes. • Order rule • Delete size classification to make the rule easier • Before: 3 steps • IEs are classified into 3 kind of sizes and placed in the order. • IE groups are placed in the order in each size. • IEs are placed in the order in each groups. • Current proposal: 2 steps • IE groups are placed in order. • IEs are placed in the order in each group.

  4. Ideas of new order and increasing performance • Idea about performance: • If processes can process multiple fields at a time, their performance can be higher. • Idea about order: • MPs, EPs and CPs place fields (IEs) in the same order, so it is highly likely multiple fields can be processed at one time. • Fields in observed packets are placed in orders of protocol header. Therefore, the suggested order of IEs, which refers order of packet header fields, is recommended in this draft

  5. Example of using same order in MP, EP, CP Flow Keys: sourceIPv4Address, destinationIPv4Address, sourceTransportPort, destinationTransportPort Good (ideal) case: Same suggested order, which refers order of packet header fields used in the cache in Exporter and IPFIX data records • If the referential order, which refers to the order of packet fields, is defined, it could, in some cases, lead to increased performance. • If a referential order is undefined, there is no possibility of increased performance. v IHL TOS Total Length ID F Offset TTL Protocol IP Checksum Source IPv4 Address Source IPv4 Address sourceIPv4Address sourceIPv4Address Destination IPv4 Address Destination IPv4 Address destinationIPv4Address destinationIPv4Address Source Port Destination Port Source Port Destination Port sourceTransportPort dstTransportPort sourceTransportPort dstTransportPort UDP Length UDP Checksum Exporter Observation Point ObservedPackets IPFIX Data Records MeteringProcess ExportingProcess CollectingProcess storage cache v IHL TOS Total Length ID F Offset TTL Protocol IP Checksum dstTransportPort Source IPv4 Address sourceIPv4Address sourceTransportPort Destination IPv4 Address Destination IPv4 Address Source IPv4 Address sourceTransportPort destination destinationIPv4Address Source Port Destination Port Destination Port Source Port IPv4Address dstTransportPort sourceIPv4Address UDP Length UDP Checksum Bad case: Different order used in the cache in Exporter and IPFIX data records

  6. Suggested Order in current draft The head of Flow Record IEs in these groups are highly likely to be used as Scope in Option TemplatesGive these groups the highest preference in the suggested order. IEs are placed in description order of IPFIX-INFO in each group Group 1 (ID) Group 2 (MP/EP Configuration) Group 6 (Sub-IP Header) IEs are placed in the referring order of packet header Group 4 (IP Header) IEs in these groups are highly likely to be used as Flow KeysGive these groups higher preference in the suggested order Group 5 (Transport Header) Group 7 (Derived Packet) Group 8 (Min Max) IEs are placed in description order of IPFIX-INFO in each group Group 11 (Misc Flow Properties) Other groups.Give these groups the lowest preference in the suggested order Group 9 (Flow Timestamp) Group 3 (MP/EP Counter) Group 10 (Flow Counter) The tail of Flow Record

  7. Appendix: supplementary material

  8. Numbers of IEs in each group in each size classification • Almost all fixed-length IEs belongs group 4-6, which corresponds to packet headers • It is highly likely that fixed-length IEs will be concentrated when IEs are placed in the suggested order, which refers to the order of packet header fields.

  9. Example Constant-fixed-length IE Reduced-size-encoding applicable to IE 1. NetFlow v5 Format 2. Order of 02 draft 3. Order of 03 draft sourceIPv4Address(8) sourceIPv4Address(8) ingressInterface(10) egressInterface(14) destinationIPv4Address(12) destinationIPv4Address(12) ipClass(5) protocol(4) source ipNextHopIPv4Address(15) ipNextHopIPv4Address(15) IPv4Address(8) destination ingressInterface(10) egressInterface(14) srcTranspotPort(7) dstTransportPort(11) IPv4Address(12) srcv4PrefLen dstv4PrefLen packetDeltaCount(2) srcv4PrefLen dstv4PrefLen protocol(4) ipClass(5) srcTranspotPort(7) dstTransportPort(11) octetDeltaCount(1) tcpCtrl(6) padding(210) ipNextHopIPv4Address(15) flowStartSysUpTIme(22) ingressInterface(10) egressInterface(14) bgpSrcAsNum(16) bgpDstAsNum(17) flowEndSysUpTime(21) bgpSrcAsNum(16) bgpDstAsNum(17) tcpCtrl(6) Padding(210) srcTransportPort(7) dstTransportPort(11) flowStartSysUpTIme(22) flowStartSysUpTIme(22) pad(210) tcpCtrl(6) protocol(4) ipClass(5) flowEndSysUpTime(21) flowEndSysUpTime(21) bgpSrcAsNum(16) bgpDstAsNum(17) octetDeltaCount(1) octetDeltaCount(1) srcv4PrefLen dstv4PrefLen padding(210) packetDeltaCount(2) packetDeltaCount(2) Constant Fixed Length IEs are concentrated.

More Related