I'm going to move about 1 to 3GB of data in RAM to another location in RAM.
(Repeat several times)
When I Used Buffer.MemoryCopy function in the Parallel.For loop, the CPU Load was too high, and it took a long time
I'm already using 8-90% of the CPU Load because I'm performing other calculation in the program. so it seems to wait for resources, and I think it's taking a long time.
I've also looked for ways like DMA, but it seems to be only possible when communicating with peripherals.
Does anyone know how to minimize CPU Load or move data inside RAM to another location at a high speed??
(Repeat several times)
When I Used Buffer.MemoryCopy function in the Parallel.For loop, the CPU Load was too high, and it took a long time
I'm already using 8-90% of the CPU Load because I'm performing other calculation in the program. so it seems to wait for resources, and I think it's taking a long time.
I've also looked for ways like DMA, but it seems to be only possible when communicating with peripherals.
Does anyone know how to minimize CPU Load or move data inside RAM to another location at a high speed??