3 ms·
> You take a one time large hit in performance to page out some data as opposed to many small continual hits in performance going across the interconnect betwee
by jemfinch 16y ago
> You take a one time large hit in performance to page out some data as opposed to many small continual hits in performance going across the interconnect between nodes.
You misunderstand the OP. He's not saying "Just put it in Node 1 and access it from there." He's saying to swap it out to Node 1, and then when it is needed in Node 0 again, swap it back to Node 0. That's certainly cheaper than swapping to disk and back.
- illumin8 16y agoI see, so he's essentially proposing a memory to memory swap functionality as opposed to just memory to disk. It sounds like a workable solution, although it would require some engineering in the kernel paging algorithms. You'd also need to make changes to the scheduler so that you could intelligently schedule threads on the node where their memory is. It sounds doable, but it seems that this is a lot of work for kernel engineers to do that could be done by software that is NUMA aware.