文件名称:避免数据搬动-淘宝C1000K高性能服务器构建技术
文件大小:2.51MB
文件格式:PPT
更新时间:2024-05-12 13:32:26
c1000k 高性能 服务器 淘宝
避免数据搬动 使用更聪明的数据结构。 (vm)splice, sendfile: 减少内核和用户空间的数据搬动 。 readv/writev: 尽量gather read, scatter write。 合并你的数据,一次写入,cache line 64Byte, 页面是4K单位,IO操作的unit是页面。