What is the problem you're trying to solve
snapshotter is devmapper and base_image_size is 20G, pull one image, unpack the first layer, see
|
if err := mkfs(ctx, s.config.FileSystemType, dmsetup.GetFullDevicePath(deviceName)); err != nil { |
mkfs.ext4 takes about 9s on cloud volume, while it takes 1s on local volume.
Describe the solution you'd like
I got this: kubernetes/kubernetes#30752 (comment)
remove lazy_itable_init=0,lazy_journal_init=0, mkfs.ext4 takes about 2s on cloud volume.
Additional context
No response
What is the problem you're trying to solve
snapshotterisdevmapperandbase_image_sizeis20G, pull one image, unpack the first layer, seecontainerd/snapshots/devmapper/snapshotter.go
Line 415 in 0855725
mkfs.ext4takes about 9s on cloud volume, while it takes 1s on local volume.Describe the solution you'd like
I got this: kubernetes/kubernetes#30752 (comment)
remove
lazy_itable_init=0,lazy_journal_init=0,mkfs.ext4takes about 2s on cloud volume.Additional context
No response