The invention discloses a multi-task external memory mode diagram
processing method based on I / O scheduling, includes streaming partitioning graph data to obtain
graph partition, evenly placing graphpartition in multiple
external storage devices, selecting target
external storage devices from multiple
external storage devices based on I / O scheduling, and taking
graph partition in the target external storage device that has not been accessed by graph
processing task as designated partition; Judging whether the synchronization field of the designated partition is not mapped into the memory according to the synchronization field of the designated partition, if so, mapping the designated partition from the external storage device into the memory, and updating the synchronization field of thedesignated partition; Otherwise, the
graph partition data is accessed directly through the address information mapped to memory by the specified partition. Through I / O scheduling, the invention selects the external storage device with the least number of tasks to access, thereby controlling the sequence of accessing the data of the external storage diagram partition and balancing the I / O pressure.By setting the synchronization field to realize the
data sharing of graph partition, the repeated loading of the same graph partition is reduced, so as to reduce the total I / O bandwidth and improve I / O efficiency.