对我的机器有效,opencore 0.8.5,对比如下:
log show --last boot | grep "trims took"
设置:0
2022-10-07 08:56:29.373283+0800 0x77 Default 0x0 0 0 kernel: (apfs) spaceman_scan_free_blocks:3293: disk3 scan took 6.544456 s, trims took 6.421964 s
2022-10-07 08:56:35.069653+0800 0x83c Default 0x0 0 0 kernel: (apfs) spaceman_scan_free_blocks:3293: disk2 scan took 0.217750 s, trims took 0.144279 s
设置:-1
log show --last boot | grep "trims took"
2022-10-07 09:16:16.757951+0800 0x2c3 Default 0x0 0 0 kernel: (apfs) spaceman_scan_free_blocks:3293: disk3 scan took 0.000000 s, trims took 0.000000 s
2022-10-07 09:16:23.515184+0800 0x84f Default 0x0 0 0 kernel: (apfs) spaceman_scan_free_blocks:3293: disk2 scan took 0.000000 s, trims took 0.000000 s |