aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 44529f174df959162949d0aa360c13b5aac1f0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 1.  Introduction

![nStack_Architecture](resources/nStack_Architecture.png "nStack_Architecture")

DMM (Dual Mode, Multi-protocol, Multi-instance) is a framework between applications
and transport layer of networking stack. This framework can host different types of
networking stack instances operating on different domains (kernel/user-space)  with
different protocol suites (TCP/IP, RDMA, or others). Application can use different type of
protocol stack implementations based on functional/performance requirements.

# 2.  History
Emerging applications are bringing extremely high-performance requirements to the
network system. Eg. AR/VR, IOT etc. And many of them come with their unique demand
of QOS/SLA. Some applications need low latency network, some need high reliability etc.
Though such performance targets should be required for the complete communication system,
the transport layer protocols play a key role and there are relatively bigger challenges,
because traditionally the TCP-based transport layer exploits the “best-effort” principle
and provides no performance guarantees by its nature. However, as Internet applications rapidly
grow and diversify, all-powerful or one-fits-all protocol or algorithm become less feasible.
Thus, the traditional single-instance TCP-based network stack bears great challenges when
serving many applications with different QoS/SLA requirements  simultaneously on the
same platform. Also moving the networking stack out of the kernel is an obvious trend in both
the industry and literature. Technologies, e.g. DPDK, improve performance of network
stack, by bypassing the kernel, avoiding context-switching and data copies, as well as providing
a complete set of packet-processing acceleration libraries. Keeping above trends in mind,the
DMM/nStack provides a framework where, system operators can plug in dedicated types of
networking stack instances according to performance and/or functional requirements from
the user space applications. Application doesn't have to worry about change their transport
layer API. A lightweight nStack management daemon is responsible for maintaining the stack
instances and the app/socket-to-stack-mappings, which are provided via the orchestration
/management interface. So DMM provide a framework which can hide all the complexity of
different transport layer protocol and also provide the flexibility to choose a protocol stack
from manybased on functional/performance requirements.
# 3.  Quick Start
Refer doc/Build_DMM.md 

# 4.  Involved
 * [Bi-Weekly DMM Metting.](https://wiki.fd.io/view/DMM/Meettng)
 * [Join the DMM Mailing List.](https://lists.fd.io/g/dmm-dev)
 * [Join fdio-dmm IRC channel.](https://wiki.fd.io/view/IRC)
 * [Browse the code.](https://git.fd.io/dmm/tree/)
 * [18.07 Release Plan](https://wiki.fd.io/view/Projects/dmm/Release_Plans/Release_Plan_18.07)
 
# 5. More Information
- https://wiki.fd.io/view/DMM
- https://wiki.fd.io/view/Project_Proposals/DMM
- Enabling “Protocol Routing”: Revisiting Transport Layer Protocol Design in Internet
Communications(http://ieeexplore.ieee.org/document/8114687/)