2022-01-20

podman性能对比

1. 使用containerd启动103 个容器 nerdctl run -d busybox "top"  

[root@localhost home]# nerdctl ps|wc -l

103

[root@localhost home]# free -h

              total        used        free      shared  buff/cache  available

Mem:          3.6G        2.8G        238M        17M        566M        538M

Swap:          3.7G        32M        3.7G

2.  podman run -d busybox "top" 启动103个容器 

[root@localhost home]# podman ps |wc -l

103

[root@localhost home]# free -h

              total        used        free      shared  buff/cache  available

Mem:          3.6G        1.2G        1.7G        23M        695M        2.1G

Swap:          3.7G          0B        3.7G

3. docker run -d busybox "top" 启动103个容器  

[root@localhost ~]# docker ps|wc -l

103

[root@localhost ~]# free -h

              total        used        free      shared  buff/cache  available

Mem:          3.6G        2.0G        523M        18M        1.1G        1.3G

Swap:          3.7G          0B        3.7G

[root@localhost ~]# docker version  20.10.13

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容