Method and system for ai sequential load aggregation, parallelism selection and striping
By extracting load features and predicting patterns at the AI application layer, and combining this with cross-layer collaborative optimization at the intelligent storage layer, the parallelism and stripe layout of HDDs are dynamically adjusted, thus solving the I/O performance bottleneck of HDDs under AI loads and improving transmission efficiency and hard drive utilization efficiency.
Patent Information
- Application Number
- CN202611162174.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-03
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies have failed to effectively identify and optimize the input and output performance bottlenecks of HDDs under AI loads. In particular, they have failed to dynamically adjust parallelism and stripe layout in big data scenarios, resulting in insufficient I/O performance of mechanical structures and a lack of data semantic awareness in write buffer aggregation.
By generating prediction vectors through load feature extraction, data semantic annotation, and pattern prediction in the AI application layer, and combining them with load classification, parallelism decision-making, and stripe layout in the intelligent storage layer, cross-layer collaborative optimization is achieved, dynamically adjusting parallelism and stripe layout to match the lifecycle and access characteristics of different data.
It improves the transmission efficiency of large sequential AI workloads, shortens the write time in checkpoint scenarios, eliminates write glitches, optimizes hard drive power consumption and wear levels, and enables proactive prediction and efficient scheduling of the storage system.
Smart Images

Figure CN123177733A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of storage scheduling technology, and more specifically, to a method and system for aggregating AI sequential workloads, selecting parallelism, and striping layout. Background Technology
[0002] The content in this section only provides background information related to this invention and may not constitute prior art.
[0003] With the continuous growth of data scale in big data scenarios such as artificial intelligence training, hard disk drives (HDDs) remain the mainstream storage medium due to their advantages of large capacity and low cost. However, the input / output (I / O) performance bottleneck caused by their mechanical structure is becoming increasingly prominent. To improve HDD transmission performance, the industry has successively developed three mainstream optimization technologies: multi-actuator architecture, striped data layout, and write buffer aggregation.
[0004] In the realm of multi-actuator HDDs, Seagate's MACH.2 technology employs a dual independent actuator architecture, allowing a single hard drive to function as two logical unit numbers (LUNs), achieving sustained transfer rates close to the theoretical upper limit of the Serial Advanced Technology Attachment 3.0 (SATA 3.0) interface. Western Digital's similar products also utilize a platter partitioning and independent actuator control design, essentially representing hardware-level parallelism. The host can treat them as two independent drives, performing striping operations similar to Redundant Array of Independent Disks 0 (RAID 0). However, the parallelism of this type of technology is fixed by the hardware architecture and cannot be dynamically adjusted based on actual load characteristics.
[0005] In terms of data layout and striping, traditional RAID striping distributes data evenly across multiple physical disks, improving bandwidth through parallel I / O. Big data frameworks have proposed file layout optimization methods based on HDD region performance differences, adjusting data storage locations by modifying the file system block bitmap. While the solid-state drive (SSD) field has garbage collection (GC) optimization based on write order and flexible striping techniques, these are all designed for flash memory media characteristics and cannot directly adapt to the mechanical structure characteristics of HDDs. Existing striping solutions generally adopt fixed stripe sizes and polling distribution strategies, failing to consider HDD region performance gradients, data temperature differences, and the spatiotemporal locality of AI workloads, resulting in rigid stripe layouts.
[0006] Regarding write buffer aggregation, modern HDDs have built-in Dynamic Random Access Memory (DRAM) cache, a small portion of which is used as a write buffer, enabling microsecond-level response buffered writes. Existing Buffer-Controlled Writes (BCW) technology maintains sequential write mode by predicting write states and filling non-user data, but it is not optimized for the bursty characteristics of AI workloads. Write buffer aggregation lacks data semantic awareness and cannot distinguish AI data at different lifecycles.
[0007] Overall, existing technologies generally suffer from a lack of load awareness, failing to recognize the unique characteristics of AI workloads, such as periodic large-scale sequential writes, high-concurrency reads, and predictable lifecycles. At the same time, there is insufficient cross-layer collaboration between the application layer, file system layer, and device layer, and the I / O mode information of the AI framework cannot be transmitted to the storage layer for targeted optimization, making it difficult to fully unleash the performance potential of multi-executor HDDs. Summary of the Invention
[0008] The purpose of this invention is to provide a method and system for aggregating AI sequential workloads, selecting parallelism, and striping layouts to improve the aforementioned problems. To achieve the above objective, the technical solution adopted by this invention is as follows: In a first aspect, this application provides a method for aggregating AI sequential workloads, selecting parallelism, and striping layout, applied to a storage system comprising an AI application layer, an intelligent storage layer, and a device firmware layer. The method includes: In the AI application layer, the load feature extractor collects historical input-output trajectories, training configuration metadata, and runtime status to generate load feature vectors; the data semantic labeler performs semantic classification on the data to generate semantic labels; and the pattern predictor performs multi-engine joint analysis on the load feature vectors and semantic labels to generate predicted vectors of input-output patterns. In the intelligent storage layer, a load classifier receives load feature vectors, semantic labels, and prediction vectors to identify the load type. A parallelism decision tuple, combining disk health status, regional performance graphs, and input / output queue status, generates a decision tuple containing parallelism and execution domain modes. An aggregation strategy library receives the decision tuples and matches them with aggregation configurations corresponding to the load type, performing aggregation processing on the input data and outputting aggregated data blocks and time-series information. A stripe layout engine receives the data blocks and time-series information, combines them with regional performance graphs, and performs time-dimensional and spatial-dimensional stripe mapping respectively to generate a stripe layout scheme. In the device firmware layer, the multi-actuator coordinator receives decision tuples and configures the working mode of each actuator; the region-aware scheduler receives stripe layout schemes and allocates corresponding disk logical regions to perform data read and write operations; and the buffer optimizer receives aggregation configurations and allocates corresponding write buffer resources. Through a pre-defined cross-layer collaborative interface, load characteristic information, device status information, and scheduling control commands are exchanged between the AI application layer, the intelligent storage layer, and the device firmware layer.
[0009] Furthermore, multi-engine joint analysis is conducted, specifically including: The burst detection engine built into the pattern predictor identifies abnormal peaks in input and output traffic and matches them with preset intensity grading rules to obtain the burst intensity level. The pattern predictor identifies the periodic patterns of input and output behavior through its built-in pattern analysis engine, extracts the feature parameters of the input and output time series, and matches them with preset load type classification rules to obtain the load type. The trend prediction engine built into the pattern predictor performs time-series extrapolation calculations based on historical input-output trajectories to determine the time of occurrence of the next peak and the corresponding data scale of the input and output. The pattern predictor uses its built-in fusion decision engine to perform weighted fusion of burst intensity level, load type and data size, and then corrects the data according to preset confidence correction rules to generate a unified prediction vector.
[0010] Furthermore, the execution domain modes include merge mode, separate mode, and hybrid mode; The merged mode involves multiple executors working together to serve a single large sequential data stream; In the separate mode, each actuator independently serves different types of load data streams; The hybrid mode involves a portion of the actuators operating in a merged mode, while the remaining actuators operate in a separate mode.
[0011] Furthermore, the execution of spatial dimension strip mapping specifically includes: Based on the current load balancing status of the execution domain, allocate corresponding data blocks to each execution domain; obtain the current position of the disk head, and allocate the storage track with the shortest radial distance to the current position of the head to each data block; When the execution domain mode is merge mode, the data blocks are distributed in an interleaved manner on the disk areas corresponding to all execution domains; When the execution domain mode is in separate mode, the data blocks are placed independently in the disk area of the corresponding execution domain; When the execution domain mode is mixed mode, frequently accessed data is placed in an interleaved arrangement, while infrequently accessed data is placed independently.
[0012] Furthermore, during the generation of parallelism, logical parallelism and physical executors are decoupled. Decoupling includes: virtualizing a single executor into multiple logical access channels through time-slice round-robin scheduling; or merging multiple executors into a single wide-bandgap access channel through firmware collaborative scheduling.
[0013] Furthermore, the aggregation configuration corresponding to the load type is matched, and aggregation processing is performed on the input data, specifically including: The input data is divided into temporary buffer data, metadata index data, hot model parameter data, checkpoint data, and cold dataset based on semantic labels. Perform bypass pass-through processing on temporary buffered data and do not allocate write buffer resources; Perform mirroring redundancy processing on the metadata index data, and synchronously refresh the disk after the data is written; The thermal model parameter data is processed with memory-resident priority, and a refresh to disk is triggered at the end of each training iteration; The checkpoint data is pre-allocated write buffer space and refreshed to the disk according to the preset periodic interval. Perform compression and aggregation on cold datasets, and refresh them to disks in the background during idle periods of system input and output.
[0014] Furthermore, the aggregation strategy library executes aggregation processing in two modes: normal aggregation mode and predictive aggregation mode. In normal aggregation mode, aggregation processing is performed on the input data using an aggregation window of the basic size; In predictive aggregation mode, when a predictive signal of checkpoint load is received, the size of the aggregation window is pre-expanded to a preset size; the corresponding aggregation buffer space is pre-allocated, and aggregation processing is performed on the checkpoint data that is about to arrive.
[0015] Furthermore, the execution of the time-dimensional stripe mapping specifically includes: The checkpoint data is divided into multiple data fragments according to the order in which it was generated; The time window and corresponding data size for the next checkpoint load are determined based on the prediction vector. A sequence of consecutive disk logical regions is pre-allocated according to time order, so that the checkpoint data is written in a continuous arrangement along the track direction of the disk.
[0016] Furthermore, the regional performance map is constructed by dividing the storage space of the disk into multiple logical regions. The attribute parameters of each logical region include radial position, angular position, read bandwidth, write bandwidth, seek latency, rotational latency, and wear index. The logical regions are divided into outer ring region, middle ring region, and inner ring region along the radial direction of the disk, and into multiple access latency gradient regions corresponding to the position of the actuator arm along the angular direction of the disk.
[0017] Secondly, this application also provides a system for aggregating, selecting parallelism, and striping AI sequential loads, including: The AI application layer is used to collect historical input-output trajectories, training configuration metadata and runtime state through the load feature extractor to generate load feature vectors; to perform semantic classification on the data through the data semantic labeler to generate semantic labels; and to perform multi-engine joint analysis on the load feature vectors and semantic labels through the pattern predictor to generate predicted vectors of input-output patterns. The intelligent storage layer is used to receive load feature vectors, semantic labels, and prediction vectors through a load classifier to identify the load type; it uses a parallelism decision tuple that combines disk health status, regional performance graphs, and input / output queue status to generate decision tuples containing parallelism and execution domain modes; it receives decision tuples through an aggregation strategy library, matches them with aggregation configurations corresponding to the load type, performs aggregation processing on the input data, and outputs aggregated data blocks and time-series information; and it uses a stripe layout engine to receive data blocks and time-series information, combines them with regional performance graphs, and performs time-dimensional stripe mapping and spatial-dimensional stripe mapping respectively to generate a stripe layout scheme. The device firmware layer is used to receive decision tuples through the multi-actuator coordinator and configure the working mode of each actuator; to receive stripe layout schemes through the region-aware scheduler and allocate corresponding disk logical regions to perform data read and write operations; and to receive aggregation configurations through the buffer optimizer and allocate corresponding write buffer resources. Through a pre-defined cross-layer collaborative interface, load characteristic information, device status information, and scheduling control commands are exchanged between the AI application layer, the intelligent storage layer, and the device firmware layer.
[0018] The beneficial effects of this invention are as follows: This invention is applied to a storage system that includes an AI application layer, an intelligent storage layer, and a device firmware layer. Through a pre-set cross-layer collaborative interface, load characteristic information, device status information, and scheduling control commands are exchanged between the three layers. Relying on cross-layer collaboration, storage optimization is upgraded from passive response to proactive prediction.
[0019] At the AI application layer, a load feature extractor collects historical input / output trajectories, training configuration metadata, and runtime states to generate load feature vectors. A data semantic labeler completes data semantic classification and generates semantic labels. Then, a pattern predictor performs multi-engine joint analysis on the aforementioned vectors and labels to generate predictive vectors of input / output patterns, transforming the temporal predictability of AI load into a priori basis for storage scheduling.
[0020] In the intelligent storage layer, a load classifier receives multiple types of input and identifies the load type; a parallelism decision tuple, combining hard drive health status, regional performance graphs, and input / output queue status, generates decision tuples containing parallelism and execution domain modes, decoupling logical parallelism from physical executors and flexibly adapting to bandwidth-first or concurrency-first scenarios; an aggregation strategy library matches the corresponding load's aggregation configuration to complete data aggregation, setting aggregation strategies based on data lifecycle differences to improve sequential write efficiency; and a stripe layout engine, combined with regional performance graphs, performs time and spatial dimension stripe mapping, utilizing disk region performance gradients to optimize data placement and reduce seek latency.
[0021] At the device firmware layer, the executor operating mode is configured through a multi-executor coordinator, the region-aware scheduler allocates disk logical regions for read and write operations according to the layout scheme, and the buffer optimizer allocates corresponding write buffer resources to ensure that scheduling instructions are implemented. This improves the transmission efficiency of large-block sequential workloads in AI, shortens the write time in checkpoint scenarios, eliminates write glitches, and optimizes hard drive power consumption and wear levels. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of the architecture and components of the storage system in this invention; Figure 2 This is an architecture diagram of AI application layer processing and multi-engine prediction in this invention; Figure 3 This is a flowchart of the intelligent storage layer scheduling decision and aggregation layout in this invention; Figure 4 This is a schematic diagram of the device firmware layer control execution and resource allocation in this invention; Figure 5 This is a schematic diagram of cross-layer collaborative interface information interaction in this invention. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0024] like Figure 1 As shown in the embodiment of the present invention, a method for aggregation, parallelism selection, and stripe layout of AI sequential workloads is proposed and applied to a storage system comprising an AI application layer, an intelligent storage layer, and a device firmware layer. The method includes: In the AI application layer, a load feature extractor collects historical input / output trajectories, training configuration metadata, and runtime status to generate a load feature vector; a data semantic labeler performs semantic classification on the data to generate semantic labels; and a pattern predictor performs multi-engine joint analysis on the load feature vector and semantic labels to generate a predicted vector of the input / output pattern.
[0025] Specifically, such as Figure 2 As shown, the AI application layer, as the semantic awareness front end of this storage system, is deployed between the AI training framework and the storage protocol stack, and connects to mainstream AI development frameworks. Its core function is to transform the business semantics, operating rules and status information in the AI training process into structured signals that the storage system can recognize, providing prior basis for the scheduling decisions of the lower intelligent storage layer. This fundamentally solves the technical defects of traditional storage systems that passively respond to I / O (input / output) requests and cannot perceive the inherent timing rules of AI load.
[0026] In the AI application layer, a load feature extractor collects historical input / output trajectories, training configuration metadata, and runtime states to generate load feature vectors. As the data entry point for the AI application layer, the load feature extractor is mounted on the AI framework's I / O interface via a lightweight, non-intrusive probe, simultaneously collecting full runtime data from three dimensions.
[0027] One dimension is the historical input / output trajectory. The collected content covers time-series parameters such as I / O request size, request interval, read / write ratio, and data block ordering degree corresponding to the past N training iterations and checkpoint operations. The principle is that the AI training load has strong iterative repeatability, and the historical I / O trajectory is a direct carrier of the load behavior pattern. By continuously accumulating trajectory data, a stable behavior baseline can be built, which effectively avoids the limitation of the storage system making decisions based on a single I / O request, and realizes global optimization based on long-term behavior patterns.
[0028] Secondly, there's the training configuration metadata dimension. This includes static configuration information such as the number of model parameters, optimizer state volume, data parallelism, checkpoint retention period and strategy, and total dataset size. This type of information is directly read from the configuration file at the start of training and is highly deterministic prior information. The principle behind this is that the I / O scale of AI training is predetermined by the model structure and training strategy. For example, the amount of checkpoint writes is proportional to the number of parameters. Metadata allows for rapid estimation of the I / O scale, improving the upper limit of subsequent prediction accuracy.
[0029] Thirdly, there is the runtime state dimension, which collects real-time parameters such as the current epoch (training round) and iteration steps, the convergence trend of the loss function, GPU computational utilization, and memory usage. This type of information reflects the real-time stage of training and computational bottlenecks. The principle behind this is the strong coupling between I / O behavior and computational stages. For example, a decrease in GPU utilization is often accompanied by an I / O-intensive phase, enabling real-time perception of load changes and supporting timely dynamic scheduling. Based on these three types of collected data, the load feature extractor performs normalization and structuring processing to generate a standardized load feature vector, which serves as the unified input for subsequent modules.
[0030] Then, the data is semantically categorized using a data semantic annotator to generate semantic tags. The data semantic annotator is the core module for realizing semantically aware storage. It interfaces with the AI framework's data read / write interface, performing semantic recognition and classification annotation on the data content corresponding to each I / O request. The principle is that different data in the AI training process have drastically different lifecycles, access frequencies, and reliability requirements. For example, checkpoint data is written sequentially in batches, archived for a long time, and read infrequently, while hot model parameters require frequent iterative updates and low-latency reading. Existing storage systems use an indiscriminate processing strategy for all data, failing to match the optimal storage solution to the data characteristics. Based on the source interface of the I / O request, the data structure identifier, and context information, the data semantic annotator divides the data into five categories: temporary buffer data, metadata index data, hot model parameter data, checkpoint data, and cold datasets. It then attaches a corresponding semantic tag to each I / O request, and the tag is passed down to the intelligent storage layer along with the I / O request. This mechanism breaks the blind spot of the storage system in terms of data content perception, enabling the lower-level aggregation and layout scheduling to execute differentiated strategies based on data semantics, achieving precise matching of storage resources, avoiding unnecessary persistence optimization for short-lived temporary data, and ensuring the reliability of highly important metadata.
[0031] Finally, a pattern predictor performs multi-engine joint analysis on the load feature vector and semantic labels to generate predicted vectors for the input and output patterns. The I / O pattern predictor is the core decision-making output unit of the AI application layer. It transforms the temporal predictability of AI load into pre-emptive instructions for storage scheduling, upgrading storage optimization from a passive response mode to a proactive prediction mode. This eliminates performance jitter caused by sudden I / O at its source. Internally, it adopts a multi-engine parallel analysis and single-engine fusion output architecture, specifically including: The first step involves using the burst detection engine built into the pattern predictor to identify abnormal peaks in input and output traffic and match them with preset intensity grading rules to obtain the burst intensity level. The burst detection engine is designed for the traffic mutation characteristics of AI workloads. It monitors real-time I / O traffic sequences based on a sliding time window and uses a peak detection algorithm to identify abnormal fluctuations in traffic that deviate from the baseline, such as a surge in write traffic at the moment of checkpoint triggering or a surge in read traffic during the training startup phase. After identifying the peak, the engine matches it with preset low, medium, and high intensity grading rules based on two dimensions: the ratio of peak traffic to baseline traffic and the duration of the peak, and outputs the corresponding burst intensity level. The principle behind this is that the mechanical structure of HDDs has limited capacity to handle burst traffic. The higher the burst intensity, the easier it is to trigger write buffer exhaustion and seek jitter. Early identification of the burst level can guide the lower layers to expand buffer resources in advance, enabling the storage system to perceive the severity of I / O impacts in advance, reserve resources in advance, and avoid I / O latency spikes and training blockages caused by burst traffic.
[0032] The second step involves using the pattern analysis engine built into the pattern predictor to identify the periodic patterns of input and output behavior, extracting feature parameters from the input and output time series, and matching them with preset load type classification rules to obtain the load type. The pattern analysis engine focuses on recognizing periodic patterns in I / O behavior, performing autocorrelation analysis on historical I / O time series to extract feature parameters such as cycle length, read / write ratio within the cycle, and sequentiality ratio. Then, based on preset load type classification rules, it determines the type of the current load, including categories such as checkpoint writes, training data reads, and inference service access. The principle behind this is that AI training follows a fixed iteration-checkpoint cycle, and I / O behavior exhibits strong periodic repetition. Pattern recognition can accurately locate the current training stage and corresponding load attributes, achieving automatic load type identification without the need for manual configuration of storage strategies. This allows lower-level scheduling to match the optimal parameter combination for the corresponding load; for example, matching a high-bandwidth strategy for checkpoint loads and a high-concurrency strategy for training read loads.
[0033] The third step involves using the trend prediction engine built into the pattern predictor to perform time-series extrapolation calculations based on historical input-output trajectories to determine the timing of the next peak and the corresponding data scale. The trend prediction engine, based on a time-series prediction algorithm, uses accumulated historical I / O trajectories as samples and combines prior information such as checkpoint cycles and parameter quantities from the training configuration metadata to perform time-series extrapolation calculations. This accurately estimates the timing of the next I / O peak and the total data read / write scale of the corresponding peak. The principle behind this is that the I / O peak timing and scale trained by AI are highly predictable. Combined with extrapolation calculations based on prior configuration, extremely high prediction accuracy can be achieved. This provides the storage system with a clear time window and expected data volume, supporting lower-level pre-allocation buffers, pre-allocation disk areas, and other pre-preparation operations, achieving "layout before data arrives."
[0034] The fourth step involves using the built-in fusion decision engine of the pattern predictor to perform weighted fusion of burst intensity level, load type, and data size. After correction according to preset confidence correction rules, a unified prediction vector is generated. The fusion decision engine, as the aggregation output unit of multi-engine results, performs weighted fusion of burst intensity level, load type, peak time, and data size output from the aforementioned three engines. Simultaneously, it executes confidence correction rules based on historical prediction accuracy and current data confidence, adjusting the magnitude of predictions with high deviation probabilities. Finally, a standardized I / O pattern prediction vector is generated, containing four core fields: expected time of the next peak, estimated I / O data volume, predicted load type, and burst intensity level. The principle behind this is that the prediction results of a single engine have limitations; multi-dimensional result fusion can achieve error complementarity, while the confidence correction mechanism ensures the reliability of the prediction results, avoiding scheduling errors caused by erroneous predictions. It outputs a prediction signal with a unified format and controllable confidence, providing standardized input for the end-to-end scheduling of the lower-layer intelligent storage layer and achieving cross-layer collaborative information standardization.
[0035] Taking the training of a large model with 175B parameters as an example, the load feature extractor collects historical I / O trajectories showing a write peak every 1000 iterations. The training configuration metadata shows that the model has 175B parameters, the optimizer state volume is 1.6 times the number of parameters, and a checkpoint is saved every 1000 steps. The runtime status shows that it is currently at step 920, and the GPU utilization is stable at 95%. A standardized load feature vector is then generated. The data semantic labeler identifies the corresponding write requests as model parameter and optimizer state data, generating semantic labels for the checkpoint data. The I / O pattern predictor initiates multi-engine analysis: the burst detection engine identifies a historical checkpoint traffic peak 12 times the baseline, classifying it as a high-intensity burst; the pattern analysis engine identifies a 1000-step periodic pattern, determining the load type as checkpoint write; the trend prediction engine extrapolates that the next peak will appear in 80 steps, estimating a data volume of approximately 700GB; the fusion decision engine weights and fuses the results of the three engines, adjusting the confidence level based on a 92% historical prediction accuracy, ultimately outputting a prediction vector: 80 steps later, 700GB, CKPT (checkpoint), HIGH (burst intensity level). This prediction vector, passed down, drives the intelligent storage layer to initiate pre-allocation and buffer preparation in advance, ultimately reducing checkpoint write time by more than 60%, with no latency spikes throughout the process.
[0036] In summary, the AI application layer transforms the high-level semantic information of the AI framework into an executable scheduling basis for the storage system through three levels of processing: feature extraction, semantic annotation, and pattern prediction. This fundamentally solves the core defect of existing storage systems that lack awareness of AI load, and provides necessary prior information support for subsequent dynamic parallelism selection, semantic awareness aggregation, and spatiotemporal striping layout. It is the prerequisite for achieving full-stack collaborative storage optimization.
[0037] In the intelligent storage layer, a load classifier receives load feature vectors, semantic labels, and prediction vectors to identify the load type. A parallelism decision tuple, combining disk health status, regional performance graphs, and input / output queue status, generates a decision tuple containing parallelism and execution domain patterns. An aggregation strategy library receives the decision tuples and matches them with aggregation configurations corresponding to the load type, performing aggregation processing on the input data and outputting aggregated data blocks and time-series information. A stripe layout engine receives the data blocks and time-series information, combines them with the regional performance graph, and performs time-dimensional stripe mapping and spatial-dimensional stripe mapping respectively to generate a stripe layout scheme.
[0038] Specifically, such as Figure 3As shown, the intelligent storage layer is the core decision-making and scheduling layer of the storage system of this invention. Deployed between the host storage protocol stack and the device firmware layer, it receives the structured semantics and predictive information output by the AI application layer and drives the device firmware layer to perform fine-grained hardware scheduling. It is the central core for achieving load-adaptive storage optimization. This layer transforms the abstract business semantics of the upper layer into implementable storage execution strategies through end-to-end scheduling of load classification, parallelism decision-making, semantic aggregation, and stripe layout. This fundamentally solves the technical defects of existing storage systems, such as fixed parallelism, indiscriminate aggregation strategies, and rigid stripe layout.
[0039] First, the load classifier receives load feature vectors, semantic labels, and prediction vectors to identify the load type. As the entry processing unit of the intelligent storage layer, the load classifier uses the three types of information output from the AI application layer as joint input, and accurately determines the load type based on preset feature matching rules and classification logic. The principle lies in the significant distinguishability of I / O behavior characteristics among different types of AI loads. Combined with semantic labels and prediction priors passed from the upper layer, it can achieve zero-latency identification of subdivided types such as checkpoint writes, training data reads, and inference service accesses. Compared to traditional storage methods that rely solely on I / O size and sequence for coarse-grained backend discrimination, this module eliminates identification lag and misjudgment problems by leveraging cross-layer semantic information, providing accurate input for subsequent end-to-end scheduling and ensuring precise matching between downstream strategies and load characteristics.
[0040] Secondly, a parallelism decision tuple is generated by combining hard disk health status, regional performance maps, and input / output queue status, containing parallelism and execution domain patterns. The regional performance map is constructed by dividing the disk's storage space into multiple logical regions. Each logical region's attribute parameters include radial position, angular position, read bandwidth, write bandwidth, seek latency, rotational latency, and wear index. The logical regions are divided radially into outer, middle, and inner ring regions, and angularly into multiple access latency gradient regions corresponding to the actuator arm positions. The regional performance map is the core data foundation for parallelism decisions and subsequent stripe layout. It quantifies the performance differences and wear states of different physical locations on the disk through polar coordinate gridding, breaking the traditional storage limitation of treating the disk as a unified linear address space. This allows scheduling decisions to be executed based on real physical characteristics, achieving a balance between performance and lifespan optimization from a spatial perspective.
[0041] In the parallelism generation process, logical parallelism and physical executors are decoupled. This decoupling includes: virtualizing a single executor into multiple logical access channels through time-slice round-robin scheduling; or merging multiple executors into a single wide-bandwidth access channel through firmware-coordinated scheduling. This decoupling mechanism breaks through the limitation of fixed parallelism in multi-executor HDD hardware. Its principle lies in utilizing the high efficiency of HDD sequential access, simulating multiple logical concurrency on a single physical executor through time-slice round-robin, or achieving bandwidth aggregation through firmware-coordinated synchronous addressing of multiple executors. This allows the parallelism to be dynamically adjusted within the range of 1 to N channels, without being limited by the number of physical executors. Compared to the traditional dual-executor fixed 2-way parallelism scheme, this mechanism can flexibly adapt to the concurrency and bandwidth requirements of the load. In scenarios with large-block sequential writes, merging executors increases peak bandwidth; in high-concurrency, small-I / O scenarios, virtualization enhances concurrent processing capabilities, achieving elastic on-demand allocation of hardware resources.
[0042] The execution domain modes include merge mode, separate mode, and hybrid mode. In merge mode, multiple executors collaboratively serve a single large sequential data stream. In separate mode, each executor independently serves different types of load data streams. In hybrid mode, a portion of the executors operate in merge mode, while the remaining executors operate in separate mode. These three execution domain modes correspond to different load scenario requirements. Merge mode achieves double the bandwidth of a single stream through multi-executor collaborative addressing, adapting to large sequential write scenarios such as checkpoints, and significantly shortening the write time of large files. Separate mode allows each execution domain to independently serve different business streams, avoiding head seek interference between different loads, adapting to high-concurrency scenarios with mixed training reads and metadata access, and reducing I / O latency jitter. Hybrid mode balances bandwidth and concurrency requirements, achieving optimal overall performance under mixed multi-task loads. The parallelism decision maker incorporates a reinforcement learning decision model, constructs a state space based on current load characteristics, hard disk health status, and system resource utilization, uses selectable parallelism and domain modes as the action space, and uses throughput gain minus energy consumption penalty and wear penalty as the reward function. It outputs the optimal decision tuple in real time, enabling the scheduling strategy to continuously optimize as the load changes dynamically, avoiding the limitations of static configuration in terms of scenario adaptation.
[0043] Next, the system receives decision tuples through the aggregation strategy library, matches them with aggregation configurations corresponding to the load type, performs aggregation processing on the input data, and outputs aggregated data blocks and time-series information. Specifically, matching the aggregation configurations corresponding to the load type and performing aggregation processing on the input data includes: dividing the input data into temporary buffer data, metadata index data, hot model parameter data, checkpoint data, and cold datasets based on semantic labels; performing bypass pass-through processing on temporary buffer data, without allocating write buffer resources; performing mirror redundancy processing on metadata index data, synchronously refreshing to disk after data writing; performing memory-resident priority processing on hot model parameter data, triggering a refresh to disk at the end of each training iteration; performing pre-allocated write buffer space processing on checkpoint data, triggering a refresh to disk at preset periodic intervals; and performing compressed aggregation processing on cold datasets, refreshing to disk in the background during system input / output idle periods. This semantically aware differentiated aggregation mechanism breaks through the limitations of traditional indiscriminate write buffer aggregation. Its principle lies in the fact that data with different semantics have drastically different lifecycles, access frequencies, and reliability requirements, and precise allocation of buffer resources can be achieved by matching corresponding aggregation strategies. Temporary buffered data has a very short lifespan, and bypass pass-through can avoid unnecessary buffering overhead and reduce memory resource consumption; metadata index data is small in size but highly important, and mirror redundancy and synchronous refresh can ensure data reliability and avoid file system failures caused by metadata corruption; hot model parameters are frequently accessed, and memory resident priority can reduce disk access frequency and improve the execution efficiency of training iterations; checkpoint data is large in size and has obvious burst characteristics, and pre-allocated buffers can smooth write traffic and avoid disk performance jitter caused by sudden write pressure; cold datasets are accessed infrequently, and compression aggregation and background refresh can save disk storage space without affecting the running performance of front-end business.
[0044] The aggregation strategy library operates in two modes: normal aggregation and predictive aggregation. In normal aggregation, a base-sized aggregation window is used to process the input data. In predictive aggregation, upon receiving a pre-judgment signal indicating checkpoint load, the aggregation window size is pre-expanded to a preset size. A corresponding aggregation buffer is pre-allocated to process the data arriving at the upcoming checkpoint. This dual-mode aggregation mechanism relies on the upper-layer predictive signal for proactive buffer management. Its principle lies in the strong predictability of checkpoint load; pre-expanding the buffer window allows resource reservation before data arrival, avoiding the startup delay caused by reallocating buffers after data arrival, thus achieving zero-latency burst absorption. Compared to traditional passive buffer aggregation, predictive aggregation eliminates latency spikes in the initial stages of checkpoint burst writes, ensuring the training process does not need to block I / O. Furthermore, a larger aggregation window improves the sequentiality of written data, reduces disk seek times, and further enhances overall write efficiency.
[0045] Finally, the stripe layout engine receives data blocks and timing information, and combines them with regional performance maps to perform time-dimensional stripe mapping and spatial-dimensional stripe mapping respectively, generating a stripe layout scheme. Specifically, the execution of time-dimensional stripe mapping includes: dividing checkpoint data into multiple data shards according to the order of its generation; determining the time window and corresponding data size for the next checkpoint load based on the prediction vector; and pre-allocating a continuous sequence of disk logical regions according to the time order, ensuring that checkpoint data is continuously arranged along the disk track direction during writing. Time-dimensional striping leverages the predictability of AI load timing to establish a mapping relationship between data lifecycle and disk physical space. Its principle lies in writing checkpoint data to continuous tracks according to the generation sequence, achieving "write-as-sequence," avoiding the additional overhead of subsequent data processing. Simultaneously, continuously arranged data significantly reduces seek operations during reading. The pre-allocation mechanism can pre-lock high-bandwidth areas on the outer ring, ensuring the performance priority of core loads. Compared to traditional on-demand allocation, it avoids random writes caused by fragmented space, significantly improving the read / write performance of large sequential data blocks.
[0046] The execution of spatial dimension striping specifically includes: allocating corresponding data blocks to each execution domain based on the current load balancing status of the execution domain; obtaining the current position of the disk head and allocating the storage track with the shortest radial distance to the current position of the head to each data block; when the execution domain mode is merged, distributing data blocks in an interleaved manner across the disk areas corresponding to all execution domains; when the execution domain mode is split, placing data blocks independently within the disk areas of their respective execution domains; when the execution domain mode is hybrid, placing frequently accessed data in an interleaved manner and placing infrequently accessed data independently. Spatial dimension striping combines execution domain mode and real-time head position for dynamic layout. Its principle is to avoid overload of a single execution domain through load balancing, minimize seek distance by allocating tracks nearby, and simultaneously match the domain mode to select interleaved or independent layout, achieving an optimal balance between concurrency performance and bandwidth performance. In merged mode, RAID-0 interleaving can fully utilize the parallel bandwidth of multiple actuators to improve single-stream throughput; in separate mode, independent placement can achieve physical isolation of the load and avoid head contention between different service streams; in hybrid mode, the layout is based on data temperature differences, with hot data enjoying high bandwidth gain and cold data occupying independent resources without interference, balancing overall performance and resource utilization.
[0047] Taking a checkpoint scenario trained with a 175B parameter large model as an example, the load classifier of the intelligent storage layer receives load feature vectors, checkpoint semantic labels, and prediction vectors of "80 steps later, 700GB, CKPT, HIGH" from the AI application layer, quickly identifying the current load type as a checkpoint write. The parallelism decision maker queries the HDD health status as good, the regional performance map shows sufficient remaining capacity in the outer region, and the I / O queue is idle. Through reinforcement learning model decision output, a decision tuple with 4-way parallelism and merged execution domain mode is output. The 4-way parallelism is achieved through dual physical executors and 2-way time-slice round-robin virtualization. In merged mode, the two physical executors cooperate to serve a single stream to maximize bandwidth. After receiving the decision tuple, the aggregation strategy library switches to predictive aggregation mode, expands the aggregation window to 4 times the base size, pre-allocates 1GB of aggregation buffer space, and configures a periodic refresh strategy for checkpoint data. The stripe layout engine receives aggregated data blocks and timing information, and performs a two-dimensional spatiotemporal mapping based on the regional performance map: In the time dimension, it pre-allocates a sequence of continuous logical regions on the outer ring based on the estimated size of 700GB, and arranges data fragments in time slice order; in the spatial dimension, it adopts a RAID-0 interleaving method based on the merging mode, interleaving 2GB stripe units on the outer ring tracks of two execution domains, and matching the current head position to select the nearest starting track. The final generated stripe layout scheme is sent to the device firmware layer for execution. Through the end-to-end scheduling of this intelligent storage layer, the write time of a 700GB checkpoint can be reduced from about 45 minutes in the traditional mode to about 12 minutes, with no significant latency spikes throughout the process, disk seek times are reduced by more than 60%, and wear leveling control effectively extends the life of the hard drive.
[0048] It can be seen that the intelligent storage layer transforms upper-layer semantic information into a refined storage scheduling strategy through a four-level linkage mechanism of load classification, dynamic parallelism decision-making, semantic perception aggregation, and spatiotemporal two-dimensional strip layout. This achieves dynamic adaptation of storage resources to AI load characteristics and simultaneously optimizes parallelism, aggregation efficiency, and spatial layout. It solves the core defects of existing technologies such as rigid parallelism, blind aggregation strategies, and rigid strip layout, and improves HDD storage performance and resource utilization efficiency under large-block sequential AI loads.
[0049] In the device firmware layer, the multi-actuator coordinator receives decision tuples and configures the operating modes of each actuator; the region-aware scheduler receives stripe layout schemes and allocates corresponding disk logical regions for data read / write operations; the buffer optimizer receives aggregation configurations and allocates corresponding write buffer resources, such as... Figure 4 As shown.
[0050] Specifically, the device firmware layer (Hard Disk Drive Firmware) is deployed in the built-in controller of the multi-actuator hard drive. It is the final execution carrier of storage scheduling instructions, receiving control instructions from the intelligent storage layer and directly driving the hard drive's physical actuators and cache resources to complete fine-grained input / output (I / O) operations. Within the device firmware layer, the multi-actuator coordinator receives decision tuples and configures the operating modes of each actuator. The multi-executor coordinator is the core of actuator resource management at the firmware layer. It receives decision tuples (including parallelism and execution domain mode) output from the intelligent storage layer and dynamically adjusts the radial range and access timing of the disks handled by each actuator through firmware-level timing control and address mapping reconfiguration. It supports flexible switching between three modes: merging, separating, and hybrid. In merging mode, it synchronizes the seek timing of multiple actuators and coordinates services for a single stream to aggregate bandwidth. In separating mode, it isolates the address space and scheduling queue of each actuator to avoid head contention between different I / O streams. In hybrid mode, it groups and configures actuators to balance bandwidth and concurrency requirements. This mechanism breaks the limitation of fixed parallelism in multi-executor hard disk hardware, enabling actuator resources to be allocated elastically on demand and improving the hard disk's adaptability to different AI workloads.
[0051] The region-aware scheduler receives stripe layout schemes and allocates corresponding logical regions on the disks for data read and write operations. The region-aware scheduler is the core of physical space scheduling at the firmware layer. It receives stripe layout schemes that include both time and space mappings and precisely schedules I / O requests to the corresponding logical regions on the disks according to region allocation instructions. These logical regions are divided based on a region performance map, encompassing radial performance gradients (outer, middle, and inner rings) and angular access latency gradients. Each region is labeled with read / write bandwidth, seek latency, and wear index. During scheduling, the nearest track is selected based on the current head position to minimize seek overhead. Writing is performed in time-slice order to ensure physical track continuity. Hot data is scheduled to the outer high-speed region, and cold data is archived to the inner region. This mechanism fully utilizes the radial performance gradient of the HDD disk, improving core load read / write efficiency and extending the hard drive's lifespan through wear leveling.
[0052] The buffer optimizer receives the aggregation configuration and allocates corresponding write buffer resources. The buffer optimizer is a cache management unit at the firmware layer. It receives the aggregation configuration, which includes the aggregation window, refresh policy, and priority, and dynamically allocates write buffer resources for the hard drive's built-in DRAM cache accordingly. The module allocates independent buffer partitions for different semantic data, allocates large-capacity buffers for checkpoint data to absorb write peaks, configures synchronous refresh paths for metadata to ensure reliability, and enables bypass channels for temporary data to avoid resource waste. Simultaneously, in conjunction with predictive aggregation mode, it expands buffer partitions in advance upon receiving a predictive signal, achieving zero-latency absorption of burst traffic. This mechanism enables semantic on-demand allocation of write buffer resources, improves cache utilization efficiency, and eliminates latency spikes caused by burst writes.
[0053] Taking the 175B parameter large model checkpoint write scenario as an example, the multi-executor coordinator receives decision tuples in four parallel and merged modes and configures the dual physical actuators to work in a collaborative mode; the region-aware scheduler schedules the data to the outer continuous region for writing in time sequence according to the strip layout scheme; the buffer optimizer allocates the corresponding capacity of the aggregate buffer to carry the burst write traffic, which can ultimately reduce the checkpoint write time by more than 70% compared with the traditional mode, and there is no obvious performance jitter throughout the process.
[0054] Furthermore, load characteristic information, device status information, and scheduling control commands are exchanged between the AI application layer, intelligent storage layer, and device firmware layer through a pre-defined cross-layer collaborative interface, such as... Figure 5 As shown.
[0055] Specifically, this cross-layer collaborative interface is built on the command sets of CXL (Compute Express Link), PCIe (Peripheral Component Interconnect Express), and extended NVMe (Non-Volatile Memory Express), and is a standardized bidirectional information channel that runs through the three-layer architecture.
[0056] In the downlink, the AI application layer transmits load feature information such as load feature vectors, semantic labels, and I / O pattern prediction vectors to the intelligent storage layer through extended I / O semantic primitives such as ai_checkpoint_begin and ai_write_hint. The intelligent storage layer then issues scheduling control instructions such as parallelism decisions and stripe layout schemes to the device firmware layer. The principle is to break the semantic isolation barrier of the traditional storage protocol stack, transform the business priors of the AI framework into the pre-conditions for storage scheduling, and avoid the lag and misjudgment caused by the backend passively identifying I / O.
[0057] In the uplink, the device firmware layer feeds back device status information such as HDD (Hard Disk Drive) health status, regional performance map, and buffer operation status to the upper layer layer by layer. This provides real physical parameter support for the parallelism decision model and stripe layout calculation, making the scheduling decision fit the real-time operation characteristics of the hard drive. Taking a 175B parameter large model checkpoint write scenario as an example, the AI application layer sends a 700GB write volume and prediction information triggered after 80 steps through the interface. The intelligent storage layer generates a decision tuple in a 4-way parallel merging mode and synchronizes it to the firmware layer. The firmware layer synchronously feeds back the remaining space in the outer ring area and the position status of the read / write head. The three layers work together to complete the buffer pre-allocation and outer ring area pre-occupancy, ultimately shortening the checkpoint write time by about 73%, while eliminating performance spikes caused by sudden I / O, and improving the operational stability and resource utilization efficiency of AI training.
[0058] like Figure 1 As shown, based on the same inventive concept, this embodiment provides a system for the aggregation, parallelism selection, and stripe layout of AI sequential loads, including: The AI application layer is used to collect historical input-output trajectories, training configuration metadata and runtime state through the load feature extractor to generate load feature vectors; to perform semantic classification on the data through the data semantic labeler to generate semantic labels; and to perform multi-engine joint analysis on the load feature vectors and semantic labels through the pattern predictor to generate predicted vectors of input-output patterns. The intelligent storage layer is used to receive load feature vectors, semantic labels, and prediction vectors through a load classifier to identify the load type; it uses a parallelism decision tuple that combines disk health status, regional performance graphs, and input / output queue status to generate decision tuples containing parallelism and execution domain modes; it receives decision tuples through an aggregation strategy library, matches them with aggregation configurations corresponding to the load type, performs aggregation processing on the input data, and outputs aggregated data blocks and time-series information; and it uses a stripe layout engine to receive data blocks and time-series information, combines them with regional performance graphs, and performs time-dimensional stripe mapping and spatial-dimensional stripe mapping respectively to generate a stripe layout scheme. The device firmware layer is used to receive decision tuples through the multi-actuator coordinator and configure the working mode of each actuator; to receive stripe layout schemes through the region-aware scheduler and allocate corresponding disk logical regions to perform data read and write operations; and to receive aggregation configurations through the buffer optimizer and allocate corresponding write buffer resources. Through a pre-defined cross-layer collaborative interface, load characteristic information, device status information, and scheduling control commands are exchanged between the AI application layer, the intelligent storage layer, and the device firmware layer.
[0059] It should be noted that the specific methods by which each module performs operations in the system described in the above embodiments have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0060] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for aggregation, parallelism selection, and stripe layout of AI sequential loads, characterized in that, Applied to a storage system comprising an AI application layer, an intelligent storage layer, and a device firmware layer, the method includes the following steps: In the AI application layer, a load feature extractor collects historical input / output trajectories, training configuration metadata, and runtime status to generate a load feature vector; a data semantic labeler performs semantic classification on the data to generate semantic labels; and a pattern predictor performs multi-engine joint analysis on the load feature vector and the semantic labels to generate a predicted vector of the input / output pattern. In the intelligent storage layer, the load classifier receives the load feature vector, the semantic label, and the prediction vector to identify the load type; the parallelism decision-maker combines the hard disk health status, regional performance map, and input / output queue status to generate a decision tuple containing parallelism and execution domain mode; the aggregation strategy library receives the decision tuple and matches it with the aggregation configuration corresponding to the load type, performs aggregation processing on the input data, and outputs aggregated data blocks and time-series information; the stripe layout engine receives the data blocks and time-series information, combines them with the regional performance map, and performs time-dimensional stripe mapping and spatial-dimensional stripe mapping respectively to generate a stripe layout scheme. In the device firmware layer, the decision tuple is received by the multi-actuator coordinator to configure the working mode of each actuator; the stripe layout scheme is received by the region-aware scheduler to allocate the corresponding disk logical region for data read and write operations; and the aggregation configuration is received by the buffer optimizer to allocate the corresponding write buffer resources. The preset cross-layer collaboration interface facilitates the exchange of load characteristic information, device status information, and scheduling control commands between the AI application layer, the intelligent storage layer, and the device firmware layer.
2. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 1, characterized in that, The multi-engine joint analysis specifically includes: The burst detection engine built into the pattern predictor identifies abnormal peaks in input and output traffic and matches them with preset intensity grading rules to obtain the burst intensity level. The pattern predictor identifies the periodic patterns of input and output behavior through its built-in pattern analysis engine, extracts the feature parameters of the input and output time series, and matches them with preset load type classification rules to obtain the load type. The trend prediction engine built into the pattern predictor performs time-series extrapolation calculations based on the historical input-output trajectories to determine the occurrence time of the next peak and the corresponding data scale of the input and output. The pattern predictor uses a built-in fusion decision engine to perform weighted fusion of the burst intensity level, the load type, and the data size, and then corrects the data according to a preset confidence correction rule to generate a unified prediction vector.
3. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 1, characterized in that, The execution domain modes include merge mode, separate mode, and hybrid mode; The merging mode is a collaborative service provided by multiple actuators for a single large block of sequential data stream; The separation mode allows each actuator to independently serve different types of load data streams; The hybrid mode involves a portion of the actuators operating in the merged mode, while the remaining actuators operate in the separate mode.
4. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 1, characterized in that, The execution of the spatial dimension strip mapping specifically includes: Based on the current load balancing status of the execution domain, allocate corresponding data blocks to each execution domain; obtain the current position of the disk head, and allocate the storage track with the shortest radial distance to the current position of the disk head to each data block; When the execution domain mode is merge mode, the data blocks are distributed in an interleaved manner on the disk areas corresponding to all execution domains; When the execution domain mode is the separate mode, the data blocks are placed independently in the disk area of the corresponding execution domain; When the execution domain mode is a mixed mode, frequently accessed data is placed in an interleaved arrangement, while infrequently accessed data is placed independently.
5. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 1, characterized in that, In the process of generating the parallelism, the logical parallelism is decoupled from the physical executor; the decoupling includes: virtualizing a single executor into multiple logical access channels through time-slice round-robin scheduling; or merging multiple executors into a single wide-bandgap access channel through firmware collaborative scheduling.
6. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 1, characterized in that, The aggregation configuration corresponding to the load type is matched, and aggregation processing is performed on the input data, specifically including: Based on the semantic tags, the input data is divided into temporary buffer data, metadata index data, hot model parameter data, checkpoint data, and cold dataset; The temporary buffer data is bypassed and passed through without allocating write buffer resources. The metadata index data is subjected to mirror redundancy processing, and the data is synchronously refreshed to the disk after being written. The thermal model parameter data is processed with memory-resident priority, and a refresh to the disk is triggered at the end of each training iteration. The checkpoint data is pre-allocated write buffer space and refreshed to the disk according to a preset periodic interval. The cold dataset is compressed and aggregated, and then refreshed to the disk in the background during idle periods of system input and output.
7. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 6, characterized in that, The aggregation strategy library performs aggregation processing in two modes: normal aggregation mode and predictive aggregation mode. In the normal aggregation mode, an aggregation window of basic size is used to perform aggregation processing on the input data; In the predictive aggregation mode, when a prediction signal of checkpoint load is received, the size of the aggregation window is pre-expanded to a preset size; a corresponding aggregation buffer space is pre-allocated, and aggregation processing is performed on the checkpoint data that is about to arrive.
8. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 6, characterized in that, The execution of the time-dimensional strip mapping specifically includes: The checkpoint data is divided into multiple data fragments according to the time sequence of its generation. The time window and corresponding data size for the next checkpoint load are determined based on the prediction vector. A sequence of consecutive disk logical regions is pre-allocated according to time order, so that the checkpoint data is written in a continuous arrangement along the track direction of the disk.
9. The method for aggregation, parallelism selection, and stripe layout of AI sequential loads according to claim 1, characterized in that, The regional performance map is constructed by dividing the storage space of the disk into multiple logical regions; wherein, the attribute parameters of each logical region include radial position, angular position, read bandwidth, write bandwidth, seek latency, rotational latency, and wear index; the logical regions are divided into outer ring region, middle ring region, and inner ring region along the radial direction of the disk, and into multiple access latency gradient regions corresponding to the position of the actuator arm along the angular direction of the disk.
10. A system for aggregation, parallelism selection, and stripe layout of AI sequential workloads, based on the method for aggregation, parallelism selection, and stripe layout of AI sequential workloads as described in any one of claims 1 to 9, characterized in that, include: The AI application layer is used to collect historical input / output trajectories, training configuration metadata, and runtime status through the load feature extractor to generate load feature vectors. The data is semantically classified using a data semantic labeler to generate semantic labels; the load feature vector and the semantic labels are jointly analyzed by a pattern predictor using a multi-engine approach to generate a prediction vector for the input and output patterns. The intelligent storage layer is used to receive the load feature vector, the semantic label, and the prediction vector through a load classifier to identify the load type; to generate a decision tuple containing parallelism and execution domain mode through a parallelism decision tuple combining hard disk health status, regional performance map, and input / output queue status; to receive the decision tuple through an aggregation strategy library and match it with the aggregation configuration corresponding to the load type, perform aggregation processing on the input data, and output aggregated data blocks and time-series information; and to receive the data blocks and time-series information through a stripe layout engine, combine it with the regional performance map, and perform time-dimensional stripe mapping and spatial-dimensional stripe mapping respectively to generate a stripe layout scheme. The device firmware layer is used to receive the decision tuple through the multi-actuator coordinator, configure the working mode of each actuator; receive the stripe layout scheme through the region-aware scheduler, allocate the corresponding disk logical region to perform data read and write operations; and receive the aggregation configuration through the buffer optimizer and allocate the corresponding write buffer resources. The preset cross-layer collaboration interface facilitates the exchange of load characteristic information, device status information, and scheduling control commands between the AI application layer, the intelligent storage layer, and the device firmware layer.
