Skip to content

Commit 8e110a4

Browse files
authored
Merge pull request #118 from liulanzheng/main
remove content about iscsi
2 parents 2b88f08 + b348208 commit 8e110a4

File tree

7 files changed

+9
-348
lines changed

7 files changed

+9
-348
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Accelerated Container Image is an open-source implementation of paper ["DADI: Block-Level Image Service for Agile and Elastic Application Deployment. USENIX ATC'20"](https://www.usenix.org/conference/atc20/presentation/li-huiba).
44

5-
DADI (Data Accelerator for Disaggregated Infrastructure) is a solution for container acceleration including remote image and other features which has been widely used in Alibaba and Alibaba Cloud. By now, it has been already integrated by **Alibaba Cloud Registry (ACR)**, and **Function Compute** _([FaaSNet: Scalable and Fast Provisioning of Custom Serverless Container Runtimes at Alibaba Cloud Function Compute. USENIX ATC'21](https://www.usenix.org/system/files/atc21-wang-ao.pdf))_ which enter **the Forrester leader quadrant**.
5+
DADI (Data Accelerator for Disaggregated Infrastructure) is a solution for container acceleration including remote image and other features which has been widely used in Alibaba and Alibaba Cloud. By now, it has been already integrated by **Alibaba Cloud Registry (ACR)**, and **Alibaba serverless services (FC / SAE / ECI, etc)**, which enter **the Forrester leader quadrant**.
66

77
At the heart of the acceleration is overlaybd, which is a new remote image format based on block device. Overlaybd backstore provides a merged view of a sequence of block-based layers in userspace and outputs as a virtual blocks device through [TCMU](https://www.kernel.org/doc/Documentation/target/tcmu-design.txt).
88
It can be used for container acceleration by supporting fetching image data on-demand without downloading and unpacking the whole image before a container running. With overlaybd image format, we can cold start a container instantly.
@@ -15,11 +15,11 @@ The key features are:
1515

1616
* **High Reliability**
1717

18-
Overlaybd outputs virtual block devices through iSCSI protocol, which is widely used and supported in most operation systems. Overlaybd backstore can recover from failures or crashes, which is difficult for FUSE-based image formats.
18+
Overlaybd outputs virtual block devices through TCMU, which is widely used and supported in most operation systems. Overlaybd backstore can recover from failures or crashes, which is difficult for FUSE-based image formats.
1919

2020
* **[Native Support for Writable](docs/WRITABLE.md)**
2121

22-
Overlaybd can be used as writable/container layer. The end-users can build their overlaybd images naturally without conversion.
22+
Overlaybd can be used as writable/container layer. It can be used as container layer for runtime instead of overlayfs upper layer, or used to build overlaybd images.
2323

2424
* **[Multiple File System Supported](docs/MULTI_FS_SUPPORT.md)**
2525

@@ -80,7 +80,7 @@ Zfile is a new compression file format to support seekable decompression, which
8080

8181
![io-path](docs/images/io-path.png "io-path")
8282

83-
Overlaybd connects with applications through a filesystem mounted on an virtual block device. Overlaybd is agnostic to the choice of filesystem so users can select one that best fits their needs. I/O requests go from applications to a regular filesystem such as ext4. From there they go to the loopback iSCSI device (through TCM_loopback) and then to the user space overlaybd backstore (through TCMU). Backend read operations are always on layer files. Some of the layer files may have already been downloaded, so these reads would hit local filesystem. Other reads will be directed to registry, or hit the registry cache. Write and trim operations are handled by overlaybd backstore which writes the data and index files of the writable layer to the local file system. For more details, see the [paper](https://www.usenix.org/conference/atc20/presentation/li-huiba).
83+
Overlaybd connects with applications through a filesystem mounted on an virtual block device. Overlaybd is agnostic to the choice of filesystem so users can select one that best fits their needs. I/O requests go from applications to a regular filesystem such as ext4. From there they go to the loopback device (through TCM_loopback) and then to the user space overlaybd backstore (through TCMU). Backend read operations are always on layer files. Some of the layer files may have already been downloaded, so these reads would hit local filesystem. Other reads will be directed to registry, or hit the registry cache. Write and trim operations are handled by overlaybd backstore which writes the data and index files of the writable layer to the local file system. For more details, see the [paper](https://www.usenix.org/conference/atc20/presentation/li-huiba).
8484

8585
## Licenses
8686

docs/EXAMPLES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ sudo bin/ctr rpull registry.hub.docker.com/overlaybd/redis:6.2.1_obd
8888
sudo ctr run --net-host --snapshotter=overlaybd --rm -t registry.hub.docker.com/overlaybd/redis:6.2.1_obd demo
8989
```
9090

91-
After container launched success, we could see a new iSCSI device (sdb) has been created, and its mount-point is the lowerdir of overlayfs.
91+
After container launched success, we could see a new block device (sdb) has been created, and its mount-point is the lowerdir of overlayfs.
9292
```bash
9393
$ sudo lsblk
9494
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

docs/images/io-path.png

3.55 KB
Loading

pkg/iscsi/errors.go

Lines changed: 0 additions & 92 deletions
This file was deleted.

pkg/iscsi/utils.go

Lines changed: 0 additions & 247 deletions
This file was deleted.

pkg/snapshot/overlay.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ type Opt func(config *SnapshotterConfig) error
172172
// |_ ${ID}/
173173
// | |_ fs/ # lowerdir or upperdir
174174
// | |_ work/ # workdir
175-
// | |_ block/ # iscsi-target block
176-
// | |_ config.v1.json # config for overlaybd target
177-
// | |_ init-debug.log # shows the debug log when creating iscsi target
175+
// | |_ block/ # tcmu block device
176+
// | |_ config.v1.json # config for overlaybd
177+
// | |_ init-debug.log # shows the debug log when creating overlaybd device
178178
// | |_ mountpoint # the block device will mount on this if the snapshot is based on overlaybd
179179
// | |_ writable_data # exists if the block is writable in active snapshotter
180180
// | |_ writable_index # exists if the block is writable in active snapshotter

0 commit comments

Comments
 (0)