33
Experimentation with CCN Daniel Camara, Frederic Urbani, Mathieu Lacage, Thierry Turletti, Walid Dabbous INRIA, Planète Sept, 13th 2012 Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 1 / 11

CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Embed Size (px)

DESCRIPTION

Simulation Platform for Content Centric Networks Protocols Development Daniel Câmara, Frederic Urbani, Mathieu Lacage, Thierry Turletti, Walid Dabbous (INRIA Sophia Antipolis, France)

Citation preview

Page 1: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Experimentation withCCN

Daniel Camara, Frederic Urbani,Mathieu Lacage, Thierry Turletti, Walid Dabbous

INRIA, Planète

Sept, 13th 2012

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 1 / 11

Page 2: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Idealized ProtocolEvaluation

Analytical

analysis

In the

wild

Simulator Testbed

Small

scale

field

Large

scale

field

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 2 / 11

Page 3: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

A Development Tool

Development of Production Code:� Debugging� Validation� Automated Testing (fast, deterministic)

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 3 / 11

Page 4: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

A Development Tool

Development of Production Code:

� Debugging� Validation� Automated Testing (fast, deterministic)

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 3 / 11

Page 5: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

A Development Tool

Development of Production Code:� Debugging

� Validation� Automated Testing (fast, deterministic)

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 3 / 11

Page 6: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

A Development Tool

Development of Production Code:� Debugging� Validation

� Automated Testing (fast, deterministic)

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 3 / 11

Page 7: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

A Development Tool

Development of Production Code:� Debugging� Validation� Automated Testing (fast, deterministic)

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 3 / 11

Page 8: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Testbeds ?

No:� Deployment too slow and unreliable� Not completely deterministic� Distributed debugging is hard� Distributed tracing is hard

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 4 / 11

Page 9: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Testbeds ?

No:

� Deployment too slow and unreliable� Not completely deterministic� Distributed debugging is hard� Distributed tracing is hard

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 4 / 11

Page 10: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Testbeds ?

No:� Deployment too slow and unreliable

� Not completely deterministic� Distributed debugging is hard� Distributed tracing is hard

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 4 / 11

Page 11: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Testbeds ?

No:� Deployment too slow and unreliable� Not completely deterministic

� Distributed debugging is hard� Distributed tracing is hard

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 4 / 11

Page 12: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Testbeds ?

No:� Deployment too slow and unreliable� Not completely deterministic� Distributed debugging is hard

� Distributed tracing is hard

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 4 / 11

Page 13: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Testbeds ?

No:� Deployment too slow and unreliable� Not completely deterministic� Distributed debugging is hard� Distributed tracing is hard

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 4 / 11

Page 14: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Traditional Simulators ?

No:� Not the real code

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 5 / 11

Page 15: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Traditional Simulators ?

No:

� Not the real code

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 5 / 11

Page 16: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Traditional Simulators ?

No:� Not the real code

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 5 / 11

Page 17: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes� Easy whole-system debugging� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 18: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:

� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes� Easy whole-system debugging� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 19: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3

� Trivial to deploy multiple network nodes� Easy whole-system debugging� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 20: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes

� Easy whole-system debugging� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 21: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes� Easy whole-system debugging

� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 22: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes� Easy whole-system debugging� Easy whole-system tracing and analysis

� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 23: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes� Easy whole-system debugging� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack

� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 24: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Proposed Solution

Simulate the CCNx code before deployment:� Reuse existing layer 1/2/3/4 models from ns-3� Trivial to deploy multiple network nodes� Easy whole-system debugging� Easy whole-system tracing and analysis� Optionally reuse kernel layer 3/4 stack� Much better scalability than testbeds/VMs

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 6 / 11

Page 25: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

How do I use it ?

Roughly:� Download/install ns-3� Download/install ns-3 DCE module� Recompile CCNx with magic option� Write simulation script� Run� Analyse traces

The details: http://goo.gl/yfgwZ

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 7 / 11

Page 26: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

How do I use it ?Roughly:

� Download/install ns-3� Download/install ns-3 DCE module� Recompile CCNx with magic option� Write simulation script� Run� Analyse traces

The details: http://goo.gl/yfgwZ

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 7 / 11

Page 27: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

How do I use it ?Roughly:

� Download/install ns-3� Download/install ns-3 DCE module� Recompile CCNx with magic option� Write simulation script� Run� Analyse traces

The details: http://goo.gl/yfgwZ

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 7 / 11

Page 28: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

What we would like tolearn

If you tried DCE/CCNx:� What sucks about it ?� How can we improve it ?� How can we write more test scripts for CCNx ?

If you did not try it:� Why ?� What is missing to make you try it ?

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 8 / 11

Page 29: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

What we would like tolearn

If you tried DCE/CCNx:� What sucks about it ?� How can we improve it ?� How can we write more test scripts for CCNx ?

If you did not try it:� Why ?� What is missing to make you try it ?

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 8 / 11

Page 30: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

What we would like tolearn

If you tried DCE/CCNx:� What sucks about it ?� How can we improve it ?� How can we write more test scripts for CCNx ?

If you did not try it:� Why ?� What is missing to make you try it ?

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 8 / 11

Page 31: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Thank you!

Contact:� [email protected][email protected][email protected]

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 9 / 11

Page 32: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Related Work

NDN over ONL NEPI ccnSim CCNPL-Sim DCE ndnSimType testbed testbed sim sim sim simReal code + + - - + -Scalability – – +++ ? + ++Deployment – + ++ ++ + ++Debugger - - + + + +Tracing – + + + + +

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 10 / 11

Page 33: CCNxCon2012: Session 6: Simulation Platform for Content Centric Networks Protocols Development

Scalability

Memory:� Fixed, 1MB/node ccnx� Fixed, 0.02MB/node ns-3 TCP/IP� Fixed, 0.5MB/node linux TCP/IP� Linear in number of bytes of packets in flight

CPU:� Real time limit: 20 nodes, 200K file transfer

Camara,Urbani (INRIA) Experimentation/CCN Sept 2012 11 / 11