os-checker / dockerfiles

0 stars 0 forks source link

Github Action 总共有 22G 存储可用 #1

Open zjp-CN opened 1 month ago

zjp-CN commented 1 month ago
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        73G   51G   22G  70% /
devtmpfs        7.9G     0  7.9G   0% /dev
proc               0     0     0    - /proc
sysfs              0     0     0    - /sys
securityfs         0     0     0    - /sys/kernel/security
tmpfs           7.9G  172K  7.9G   1% /dev/shm
devpts             0     0     0    - /dev/pts
tmpfs           3.2G  1.1M  3.2G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
cgroup2            0     0     0    - /sys/fs/cgroup
pstore             0     0     0    - /sys/fs/pstore
bpf                0     0     0    - /sys/fs/bpf
systemd-1          -     -     -    - /proc/sys/fs/binfmt_misc
hugetlbfs          0     0     0    - /dev/hugepages
mqueue             0     0     0    - /dev/mqueue
debugfs            0     0     0    - /sys/kernel/debug
tracefs            0     0     0    - /sys/kernel/tracing
fusectl            0     0     0    - /sys/fs/fuse/connections
configfs           0     0     0    - /sys/kernel/config
ramfs              0     0     0    - /run/credentials/systemd-sysusers.service
/dev/loop0       64M   64M     0 100% /snap/core20/2318
/dev/loop1       88M   88M     0 100% /snap/lxd/29351
/dev/loop2       39M   39M     0 100% /snap/snapd/21759
/dev/sdb15      105M  6.1M   99M   6% /boot/efi
binfmt_misc        0     0     0    - /proc/sys/fs/binfmt_misc
/dev/sda1        74G  4.1G   66G   6% /mnt
tmpfs           1.6G   12K  1.6G   1% /run/user/1001
tmpfs           3.2G  1.1M  3.2G   1% /run/snapd/ns
nsfs               0     0     0    - /run/snapd/ns/lxd.mnt
Filesystem      Size  Used Avail Use% Mounted on
overlay          73G   51G   22G  70% /
proc               0     0     0    - /proc
tmpfs            64M     0   64M   0% /dev
devpts             0     0     0    - /dev/pts
sysfs              0     0     0    - /sys
cgroup             0     0     0    - /sys/fs/cgroup
mqueue             0     0     0    - /dev/mqueue
shm              64M     0   64M   0% /dev/shm
/dev/root        73G   51G   22G  70% /etc/resolv.conf
/dev/root        73G   51G   22G  70% /etc/hostname
/dev/root        73G   51G   22G  70% /etc/hosts
proc               0     0     0    - /proc/bus
proc               0     0     0    - /proc/fs
proc               0     0     0    - /proc/irq
proc               0     0     0    - /proc/sys
proc               0     0     0    - /proc/sysrq-trigger
tmpfs           7.9G     0  7.9G   0% /proc/acpi
tmpfs            64M     0   64M   0% /proc/kcore
tmpfs            64M     0   64M   0% /proc/keys
tmpfs            64M     0   64M   0% /proc/timer_list
tmpfs           7.9G     0  7.9G   0% /proc/scsi
tmpfs           7.9G     0  7.9G   0% /sys/firmware
zjp-CN commented 1 month ago

加入 mirai 容器之后(大小为 3G+),容器内和 CI 的可用空间在减小:

# 未拉取 mirai
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        73G   51G   22G  70% /

# 构建 mirai
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        73G   55G   19G  75% /

# 在一个小仓库上运行 mirai(下载了工具链、targets)
Filesystem      Size  Used Avail Use% Mounted on
overlay          73G   55G   18G  76% /
zjp-CN commented 1 month ago

在内存上,GA 服务器是充裕的,至少有 16G 可用:

               total        used        free      shared  buff/cache   available
Mem:            15Gi       747Mi        14Gi        13Mi       775Mi        14Gi
Swap:          4.0Gi       210Mi       3.8Gi