performance of host identity protocol on performance of
play

Performance of Host Identity Protocol on Performance of Host - PowerPoint PPT Presentation

Performance of Host Identity Protocol on Performance of Host Identity Protocol on Lightweight Hardware Lightweight Hardware Andrey Khurri, Ekaterina Vorobyeva, Andrei Gurtov Helsinki Institute for Information Technology


  1. Performance of Host Identity Protocol on Performance of Host Identity Protocol on Lightweight Hardware Lightweight Hardware Andrey Khurri, Ekaterina Vorobyeva, Andrei Gurtov Helsinki Institute for Information Technology <firstname.lastname@hiit.fi> MobiArch'07 Kyoto, Japan August 27, 2007

  2. Outline Outline ● Host Identity Protocol (HIP) ● Nokia 770 specifications ● Network setup ● Basic HIP and network characteristics measured ● Measurement results & analysis ● Conclusions

  3. HIP Protocol Stack HIP Protocol Stack Application Layer Application Layer Transport Layer Transport Layer <IP address, port> <Host Identity, port> new name space Host Identity Layer Network Layer Network Layer <IP address> <IP address> Link Layer Link Layer Physical Layer Physical Layer

  4. HIP Base Exchange HIP Base Exchange Initiator Responder I1 < HIT i, HIT r > R1 < cookie, D-H, HI r, signature > I2 < solution, D-H, HI i, ESP, signature > R2 < ESP, signature> Mobile Terminal Server ESP protected traffic

  5. HIP Mobility HIP Mobility Mobile Client Server H I P a s s o c i a t i o n Address 1 UPDATE < LOCATOR, ESP_INFO, SEQ > UPDATE < ESP_INFO, SEQ, ACK, ECHO_REQUEST > > ACK, ECHO_RESPONSE < E T A D P U ESP protected traffic Address 2

  6. Nokia 770: technical specifications Nokia 770: technical specifications • Processor – a 220-MHz, ARM9-based Texas Instruments (TI) OMAP 1710 • Memory – 64 MB DDR RAM – internal Flash, RS-MMC (Reduced Size – MultiMediaCard) slot • Connectivity – WLAN – IEEE 802.11b/g – Bluetooth 1.2 • Power – a 1500-mAh BP-5L Li-Polymer battery • Operating System – Internet Tablet OS 2006 edition (embedded Debian) • GNOME-based graphical user interface • Linux 2.6.16 kernel

  7. Network Setup Network Setup Ubuntu 6.06 Dapper Drake Linux Kernel 2.6.16 Switch IEEE 802.11g Intel Pentium 4 CPU 3.00 GHz 1 GB RAM Tablet-to-PC Intel Pentium 1.6 GHz Embedded Debian Tablet-to-Tablet IBM R51 laptop Linux Kernel 2.6.16 Nokia Tablet 1 GB RAM Laptop-to-PC

  8. Basic Characteristics Basic Characteristics • Duration of HIP Base Exchange • Duration of Mobility Update • Round Trip Time • TCP Throughput • Power consumption

  9. Times Measured Times Measured Mobile terminal Server

  10. Duration of HIP handshake stages Duration of HIP handshake stages Tablet Laptop Average time (s) 1024-bit RSA keys 1536-bit DH Group Base Exchange stages and total BE time

  11. Duration of HIP handshake stages (2) Duration of HIP handshake stages (2) Average time (s) Tablet-to-Tablet PC-to-PC Base Exchange stages and total BE time

  12. Puzzle Difficulty Impact Puzzle Difficulty Impact Tablet Laptop Average Time (s) Puzzle Difficulty K (bits) T2 processing time dependence on K

  13. Influence of Diffie-Hellman Group ID Influence of Diffie-Hellman Group ID Tablet Average Time (s) Laptop DH Group (bits) T2 processing time with different DH Groups

  14. Duration of Mobility Update Duration of Mobility Update Time for Mobility Update (s) Tablet Laptop Number of measurements Average time: Tablet – 287 ms; Laptop – 100 ms

  15. Round Trip Time Round Trip Time Mean ± Standard deviation  ms  RTT IPv6 (64 B) IPv6 (116 B) IPv6/HIP (116 B) 2.223 ± 0.470 2.358 ± 0.425 2.936 ± 0.931 PC --> Tablet 1.901 ± 0.332 1.900 ± 1.235 2.748 ± 1.347 Tablet --> PC 1.026 ± 0.340 1.049 ± 0.312 1.177 ± 0.243 PC --> Laptop 1.065 ± 0.338 1.070 ± 0.427 1.207 ± 0.502 Laptop --> PC Average Round Trip Time of plain ICMP packets of different size and HIP packets

  16. Round Trip Time (cont'd) Round Trip Time (cont'd) Average time (ms) RTT over IP RTT over HIP Number of measurements PC as the initiator of the HIP Base Exchange

  17. TCP Throughput TCP Throughput Mean ± Standard deviation  Mbps  Throughput TCP TCP/HIP TCP + WPA TCP/HIP + WPA 4.86 ± 0.28 3.27 ± 0.08 4.84 ± 0.05 3.14 ± 0.03 Tablet --> PC 21.77 ± 0.23 21.16 ± 0.18 Laptop --> PC Average TCP throughput with Tablet and Laptop in different scenarios

  18. TCP Throughput (cont'd) TCP Throughput (cont'd) Laptop (plain TCP) Throughput (Mbps) Laptop (TCP/HIP) Tablet (plain TCP) Tablet (TCP/HIP) Number of measurements

  19. Power consumption Power consumption Applications/Mode Current (A) 1500 mAh HIP Base Exchange 0.36 ESP traffic ( iperf with HIP) 0.38 Plain TCP ( iperf without HIP) 0.38 Video stream from a server > 0.50 Local video 0.27 Audio stream from a server 0.40 – 0.50 Local audio 0.20 Browsing (active WLAN) 0.35 – 0.50 Passive WLAN 0.12 Activating screen 0.12 – 0.14 Standby mode < 0.01 Current consumption by applications

  20. Power consumption (cont'd) Power consumption (cont'd) • Almost no difference in power consumption between the HIP-enabled and non-HIP applications – Tablet's CPU is kept busy always upon data transmission over WLAN – regardless of the protocol and the application being used • If compared to the data throughput HIP does consume more energy than plain TCP/IP – IPsec data encryption requires a notably longer CPU utilization for a task to be completed – The more CPU time is needed the more total energy will be consumed for an operation by the mobile device

  21. Conclusions Conclusions • Unmodified HIP might be used in a number of scenarios with a lightweight device communicating via a single proxy server – a HIP association establishment requires 1.4 sec – duration of mobility update is 287 ms • HIP is too heavy for two mobile hosts and/or multiple parallel HIP associations – Two tablets need nearly two times more of CPU utilization (2.6 sec) • With the 768-bit DH Group HIP association establishment with a server might be reduced up to 0.35 sec • Surprisingly, tablet only achieves 4.86 Mbps in a IEEE 802.11g WLAN (Laptop achieves 21.77 Mbps over the same link)

  22. Conclusions (2) Conclusions (2) • WPA encryption has minor impact on the throughput. In contrast, ESP encryption involved with HIP reduces TCP throughput by 32% • HIP slightly increases the RTT that does not noticeably affect the applications • The use of HIP does not affect the speed of battery depletion • Energy cost per byte is higher with HIP due to reduced throughput • Applicability of the measurement results to a wide range of mobility and security protocols – most such protocols are based on similar public key and IPsec ESP operations like HIP

  23. Thank You! Thank You! Questions? Questions?

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend