16
Container-Based Testbed for ICN Hitoshi Asaeda <[email protected]> National Institute of Information and Communications Technology (NICT) APAN 37 th Meeting, Bandung, Indonesia, Jan. 22, 2014.

Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda National Institute of Information and Communications Technology (NICT) APAN

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Container-Based Testbed for ICN

Hitoshi Asaeda <[email protected]>

National Institute of Information and Communications Technology (NICT)

APAN 37th Meeting, Bandung, Indonesia, Jan. 22, 2014.

Page 2: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Information-Centric Networking (ICN)

•  Efficient content access without depending on server/content location –  From IP address based communications to content ID based communications –  From server based communications to content based communication

•  Better performance to retrieve contents –  From server distribution to content (or cache/repository) distribution –  Content retrieval from closest cache

•  Flexible data forwarding –  Naturally support one-to-many or many-to-many transmission

•  ICN proposals and projects –  CCN/NDN (USA)

•  In-network cache •  Router extension

–  NetInf → SEIL (EU) •  Multi-layer overlay

–  PSIRP → PURSUIT (EU) •  Overlay + Rendezvous Point and Topology Manager

2

Page 3: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Content-Centric Networking (CCN)

•  Content-Centric Networking (CCN) –  V. Jacobson, et.al, “Networking Named Content”, Proc. ACM

CoNEXT 2009, December 2009, Rome, Italy. –  From IP address based, end-to-end communications, to

content ID based, content-centric communications •  Many users retrieve identical contents •  Closest data (or copies) are not always on origin servers

–  Content you want to obtain may be near you –  Accessing origin servers is not the fundamental requirement

•  CCNx: Prototype implementation –  Available on: http://www.ccnx.org/

3

Page 4: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Content Name and Data Format

Content Name

Selector

Nonce

Content Name

Signature

Signed Info

Data

Interest Data

Example of Content Name: /news.com/events/2013/10/01/festival.img

4

Page 5: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

CB

D E

F G J

festival.img

User A User B

Interest (request) Data (content data)

Router

Caching router

A

•  CCN’s concept •  Name-based routing

•  Content name for data retrieval / transmission

•  ID / Location independent content access

•  In-network cache •  Performance improvement •  Resource (or cost) reduction

5

In-Network Cache

Page 6: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Functional Components for ICN •  Naming

–  Global unique content IDs –  Content / cache resolver (or discovery mechanism)

•  In-network cache –  From network’s perspective:on-path caching / off-path caching –  From application’s perspective:content type based algorithm

•  Name-based routing –  Proactive vs. reactive –  Intra-domain vs. Inter-domain

•  Transmission –  From end-to-end reliability to cache transmission reliability –  One-to-one / one-to-many / many-to-many

•  Security –  From server based authentication to content or cache based authentication –  Cache protection / integrity

•  Mobility

•  Prototype implementation

6

Large scale testbed

Page 7: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Container-Based Unified Testbed •  Container-Based Unified Testbed

–  Design •  Testbed node: VM (detailed later) •  User node: Linux Container (LXC) based logical space

–  Concept •  ICN (basically, CCN/NDN based) experiments

–  All required components (e.g., compiler, library, CCNx, etc.) for ICN experiments pre-installed/configured on VM

–  Save hardware resources and operational costs (by eliminating install/set up common components per user)

»  But not prohibit to install original components under user space •  It supports two types of experiments

–  User level experiment (e.g., I want to use CCNx, measure CCNx’s performance, develop some ICN applications on top of CCNx, etc.)

–  Developer level experiment (e.g., I develop new routing daemon, so want to measure its performance over the testbed, etc.)

•  Developers own “user node” having private IP address space –  Possible to measure routing architecture

7

Page 8: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Requirements for Testbed Node

•  Node requirement –  PC or workstation

•  VMware vShpere (ESXi) or Linux running VMware player •  Intel i5 / i7 / Xeon, 8GB (or higher) memory

–  VM •  Ubuntu Server 12.04.3 LTS 64-bit or later

–  Linux Kernel 3.8 –  LXC 1.0 (alpha or later)

•  Network requirement –  Internet connectivity

•  One (or more) global IP address –  IPv6-only IF will work

–  Private network •  Virtual Ethernet (veth) •  GRE tunnel

8

Page 9: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Container Configuration

VMware ESXi

brg0

VM1 VM2

eth0

ether0

User container

(lxc1)

lxcbr0 (10.0.0.0/24)

eth0 veth2

User container

(lxc2) eth0

veth3

Common container (lxc0) eth0

eth1 veth1

veth0

brg0

eth0

User container

(lxc1)

lxcbr0 (10.0.1.0/24)

eth0 veth2

User container

(lxc2) eth0

veth3

Common container (lxc0) eth0

eth1 veth1

veth0

9

Page 10: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Shared Filesystem

VM1

/bin /sbin /lib /usr /etc/alternatives

Mount  (RO)

User container

(lxc1)

/home /var /etc

User container

(lxc2)

/home /var /etc

Common container (lxc0)

CCNx

Blackadder Click

VM2

/home /var, /etc

NLSR

...  

10

Page 11: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Experiments on Different Container Spaces

11

VM

LXC1 LXCx

VM

LXC1 LXCy

Host

LXC1 LXCz

OS  Level

Container  Level

LXC1 LXC1

LXCx LXC1

LXC0

Common  Containers LXC0

User1  Space

User2’s  Containers

LXC0

LXC0

LXC0

LXC0

...

...

...

...

...

...

... ...

ccnd

ccnd

ccnd ccnd

ccnd

ccnd

ccnd

ccnd

ccnd ccnd

ccnd

ccnd

ccnd ccnd

ccnd

ccnd LXCn

User2  Space

User1’s  Containers

Common  Space

Page 12: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Status

•  Current status –  Basic design and implementation (ver.0.1) –  Ver.0.1 release (2013.11)

–  Initial deployment in AsiaFI community(6 site) –  Primary experiment in the testbed

•  Next steps –  Ver.0.2 release (planned on June 2014)

12

Page 13: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

ICN Testbed in AsiaFI Community Sites

13

User ccnd

Common ccnd eth0

NICT  HQ  (JP)

Keio  Univ.  (JP)

Waseda  Univ.  (JP)

SNU  (KR)

Tsinghua  Univ.  (CN)

Path-­‐B Path-­‐A

Path-­‐C

Path-­‐D

User ccnd

Common ccnd eth0

User ccnd

Common ccnd eth0

User ccnd

Common ccnd eth0

User ccnd

Common ccnd eth0

Korea  Univ.  (KR)

User ccnd

Common ccnd eth0

Page 14: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Experiments (Path A/B)

14

0    

10    

20    

30    

40    

50    

60    

70    

80    

90    

1   5   10  

File  Dow

nloa

d  Time  (Sec)

File  Size  (M  Bytes)

TCP/IP  (SCP)  from  SNU  to  PC  

ccngeYile  on  Path-­‐A  (from  publisher)  

ccngeYile  on  Path-­‐A  (from  in-­‐network  cache)  

ccngeYile  on  Path-­‐B  (from  publisher)  

ccngeYile  on  Path-­‐B  (from  in-­‐network)  

Page 15: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Experiments (Path C/D)

15

0    

20    

40    

60    

80    

100    

120    

1   5   10  

File  Dow

nloa

d  Time  (Sec)

File  Size  (M  Bytes)

TCP/IP  (SCP)  from  Waseda  U.  to  Tsinghua  U.  

ccngeYile  on  Path-­‐C  (from  publisher)  

ccngeYile  on  Path-­‐C  (from  in-­‐network  cache)  

ccngeYile  on  Path-­‐D  (from  publisher)  

ccngeYile  on  Path-­‐D  (from  in-­‐network)  

Page 16: Container-Based Testbed for ICNContainer-Based Testbed for ICN Hitoshi Asaeda  National Institute of Information and Communications Technology (NICT) APAN

Call for Participation

•  Our next testbed (ver.0.2) release will be around the end of June 2014 –  Alpha release would be around the middle of May

•  JGN-X connection will be around the end of Dec. 2014 •  If you are interested in participating in our ICN testbed

(ver.0.2), please contact to;

Hitoshi Asaeda <[email protected]>

16

Thank you