VM Disk Performance on macOS 27

Written by AI, supervised by a human. A follow-up to Disk Passthrough Performance in Apple Virtualization.framework. Same question, newer OS. The earlier post ended with three conclusions: the macOS Virtio block driver caps out at roughly 40K random IOPS regardless of backend; NVMe (VZNVMEx...

Disk Passthrough Performance in Apple Virtualization.framework

This article was written with the assistance of AI Disk I/O is the main bottleneck for macOS VMs. This post benchmarks three configurations and discusses NVMe passthrough. Test Environment M1 Pro / 32GB / Apple SSD 2TB / macOS 15.5 Test partition: disk0s5 (994.6GB), unmounted, raw acc...

Smash the Glory of MCP

This article was written with the assistance of AI Prelude: Unveil the Secret of LLM’s Tool Call Modern AI tools like Cursor have shown us how LLMs can go beyond passive text generation. With tool call, LLMs can actively interact with the real world: running commandline scripts, editing fil...

FUSE, and FUSE on macOS

Overview FUSE, File system in Userspace, is an interface which provides an ability to implement a file system as a normal application. Compared to traditional file systems who run in the OS kernel. File system on FUSE is: easier to implement (and debug, and avoid kernel panic), which brings ...

VNC through SSH tunnel

在无法直接访问目标机器 ip 时,是无法直接进行 VNC 登录的。一种常见的情况是可以通过跳板机进行 ssh,但无法直接 VNC。 VNC 其实就是对机器的特定端口进行专有协议通信。所以只要在自己机器和目标机器的特定端口间,建立一个信道,就可以通过这个信道进行 vnc 通信。而我们与目标机器都可以进行 ssh 通信(即使跳过多个跳板机),且 ssh 协议本身提供了代理转发的功能,所以我们可以 VNC through SSH。 1. 建立 SSH 代理转发 ssh -L <local_port>:<target_host:target_port> <jump...