mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-20 22:14:45 +01:00
As per [1], the default scan mode of scsi is sync. kata-agent already scans the SCSI buses [2], changing it to none can reduce the guest boot time. =Before this patch= [ 0.113828] [ T1] scsi host0: Virtio SCSI HBA [ 0.134006] [ T1] tun: Universal TUN/TAP device driver, 1.6 =After this patch= [ 0.105891] [ T1] scsi host0: Virtio SCSI HBA [ 0.107868] [ T1] tun: Universal TUN/TAP device driver, 1.6 It reduces about 17ms on arm64 for virtio-scsi. This patch changes the default kernel parameter: 1. If user specifies the scan mode, use that 2. If user doesn't specify it, and the block device is virtio-scsi, use "none" by default [1] https://lwn.net/Articles/201898/ [2] https://github.com/kata-containers/agent/blob/649d44117a/device.go#L322 Fixes: #2560 Signed-off-by: Jia He <justin.he@arm.com
Kata golang packages
This repository contains a number of packages in addition to the
virtcontainers package:
| Package name | Description |
|---|---|
katatestutils |
Unit test utilities. |
katautils |
Utilities. |
signals |
Signal handling functions. |