Huawei Cloud applies xen platform to many customer scenarios. This talk will introduce our optimizations on the xen platform to solve problems occuring in these scenarios. E.g 1. Redesign the implementation of kernel locks to improve the scalability of the Xen platform in large-scale server scenarios. 2. Develop LazyFPU and L3 cache affinity features to improve virtual machine performance in SAP HANA database service scenarios. 3. Develop HostNUMA and GuestNUMA features to enhance virtual machine performance in specvirt test and desktop cloud scenarios. 4. Shorten the time cost of concurrent life-cycle operations for large scales of virtual machines, to achieve quick change of classes in the cloud classroom.