Lustre文件系统写处理方法与装置

By setting a preset buffer in the Lustre client kernel mode and asynchronously processing distributed lock requests, the problem of slow Checkpoint file writing speed is solved, achieving efficient data writing and system stability.

CN122111964BActive Publication Date: 2026-07-17CHINA UNICOM DIGITAL TECNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNICOM DIGITAL TECNOLOGY CO LTD
Filing Date
2026-04-29
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In AI model training scenarios, the slow writing speed of checkpoint files leads to low training efficiency. The existing data writing mechanism of the Lustre file system is time-consuming and cannot meet the low latency requirements of hundreds of microseconds.

Method used

In the Lustre client kernel mode, a preset buffer is set up. When the conditions for accelerated writing are met, the data to be written is copied to the preset buffer and a write success is returned immediately. The distributed lock requests are processed asynchronously in batches using a background thread, and the process is downgraded to a page-by-page write process to ensure system stability.

Benefits of technology

By reducing network round-trip latency for lock requests, data writing efficiency is significantly improved, low latency requirements are met, and the system maintains stable operation under memory pressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122111964B_ABST
    Figure CN122111964B_ABST
Patent Text Reader

Abstract

本申请提供一种Lustre文件系统写处理方法与装置,方法包括:响应于应用层发起的针对目标文件的写数据请求,检测当前是否满足加速写条件;若检测结果为是将待写入数据拷贝至Lustre客户端内核态的预设缓存区并向应用层返回写入成功,利用后台线程向元数据服务申请与待写入数据的文件偏移范围对应的分布式写锁,持锁后将待写入数据批量写入页面缓存;若检测结果为否将待写入数据以内存页为单位逐页写入页面缓存,包括利用后台线程向元数据服务申请与该页数据的文件偏移范围对应的分布式写锁,持锁后将该页数据写入页面缓存;页面缓存内的数据持久化存储至对象存储服务器。与相关技术相比,本申请避免了多次锁申请,提升了数据写入效率。
Need to check novelty before this filing date? Find Prior Art