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

performance of host identity protocol on performance of
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 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

slide-2
SLIDE 2

Outline Outline

  • Host Identity Protocol (HIP)
  • Nokia 770 specifications
  • Network setup
  • Basic HIP and network characteristics measured
  • Measurement results & analysis
  • Conclusions
slide-3
SLIDE 3

HIP Protocol Stack HIP Protocol Stack

Physical Layer Link Layer Network Layer Transport Layer Application Layer Host Identity Layer <IP address, port> <IP address> <Host Identity, port> Physical Layer Link Layer Network Layer Transport Layer Application Layer <IP address> new name space

slide-4
SLIDE 4

HIP Base Exchange HIP Base Exchange

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

slide-5
SLIDE 5

HIP Mobility HIP Mobility

Mobile Client Server Address 1 ESP protected traffic H I P a s s

  • c

i a t i

  • n

Address 2

UPDATE < LOCATOR, ESP_INFO, SEQ > UPDATE < ESP_INFO, SEQ, ACK, ECHO_REQUEST> U P D A T E <

ACK, ECHO_RESPONSE

>

slide-6
SLIDE 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
slide-7
SLIDE 7

Network Setup Network Setup

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

slide-8
SLIDE 8

Basic Characteristics Basic Characteristics

  • Duration of HIP Base Exchange
  • Duration of Mobility Update
  • Round Trip Time
  • TCP Throughput
  • Power consumption
slide-9
SLIDE 9

Times Measured Times Measured

Mobile terminal Server

slide-10
SLIDE 10

Duration of HIP handshake stages Duration of HIP handshake stages

Base Exchange stages and total BE time Average time (s)

Tablet Laptop 1024-bit RSA keys 1536-bit DH Group

slide-11
SLIDE 11

Duration of HIP handshake stages (2) Duration of HIP handshake stages (2)

Tablet-to-Tablet PC-to-PC

Average time (s) Base Exchange stages and total BE time

slide-12
SLIDE 12

Puzzle Difficulty Impact Puzzle Difficulty Impact

T2 processing time dependence on K

Average Time (s)

Puzzle Difficulty K (bits) Tablet Laptop

slide-13
SLIDE 13

Influence of Diffie-Hellman Group ID Influence of Diffie-Hellman Group ID

Average Time (s)

DH Group (bits)

T2 processing time with different DH Groups

Tablet Laptop

slide-14
SLIDE 14

Duration of Mobility Update Duration of Mobility Update

Average time: Tablet – 287 ms; Laptop – 100 ms

Time for Mobility Update (s) Number of measurements

Tablet Laptop

slide-15
SLIDE 15

Round Trip Time Round Trip Time

RTT Mean±Standard deviationms IPv6 (64 B) IPv6 (116 B) IPv6/HIP (116 B) PC --> Tablet 2.223±0.470 2.358±0.425 2.936±0.931 Tablet --> PC 1.901±0.332 1.900±1.235 2.748±1.347 PC --> Laptop 1.026±0.340 1.049±0.312 1.177±0.243 Laptop --> PC 1.065±0.338 1.070±0.427 1.207±0.502

Average Round Trip Time of plain ICMP packets of different size and HIP packets

slide-16
SLIDE 16

Round Trip Time (cont'd) Round Trip Time (cont'd)

PC as the initiator of the HIP Base Exchange

Number of measurements Average time (ms)

RTT over IP RTT over HIP

slide-17
SLIDE 17

TCP Throughput TCP Throughput

Throughput

Mean±Standard deviationMbps TCP TCP/HIP TCP + WPA TCP/HIP + WPA Tablet --> PC 4.86±0.28 3.27±0.08 4.84±0.05 3.14±0.03 Laptop --> PC 21.77±0.23 21.16±0.18

Average TCP throughput with Tablet and Laptop in different scenarios

slide-18
SLIDE 18

TCP Throughput (cont'd) TCP Throughput (cont'd)

Throughput (Mbps) Number of measurements

Tablet (plain TCP) Tablet (TCP/HIP) Laptop (TCP/HIP) Laptop (plain TCP)

slide-19
SLIDE 19

Power consumption Power consumption

Applications/Mode Current (A)

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

1500 mAh

slide-20
SLIDE 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

  • peration by the mobile device
slide-21
SLIDE 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)

slide-22
SLIDE 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

slide-23
SLIDE 23

Thank You! Thank You! Questions? Questions?