最近与几个大佬闲聊之际，发现很多人都在不约而同地吐槽 Azure 的效能。综合的来的意见不外乎是云盘 I/O 过慢（HDD/SDD 一样卡）、主机响应迟钝没反应、运行更新耗时大半天，期间 CPU 效能满载或时处于半宕机状态等等糟心体验，还贵。贵，是毋庸置疑的，毕竟产品品牌定位就是高端货，不可能做到灵车的价格。但我想说的是很多时候产品本身并无问题，只是食用姿势不对。
Swap in Linux is the equivalent of virtual memory in Windows – a space on a disk that is used when the system runs out of RAM. For some reason unknown, many cloud instances are deployed without any swap.
On a cloud instance with a slow disk, running the dreaded
apt update && apt upgrade could take an eternity. But what if I tell you it may actually not be a disk IOPS issue?
For some legacy reasons, my main hypervisor has been Hyper-V running on a Windows Server. And contrary to popular belief, Linux actually supports Secure Boot and UEFI boot pretty well, and so you can create Generation 2 VM that runs Linux OS just fine. However, after installing the OS, you might have noticed that Hyper-V doesn’t talk to the guest VM very well – features such as shutdown or reset do not work. That is because the Linux kernel does not include Hyper-V drivers and agents. This is akin to VMware’s vmtools for the ESXi platform.
The folks over at JetBrains have provided a free programming font family, dubbed JetBrains Mono. It is open source and is highly optimized for coding, console sessions and configuration file editing views. Personally, I find it to be more legible than Google’s Source Code Pro or Ubuntu Mono. It is now my default monospaced font, but your mileage may vary.