Hi Rob,
Thanks for responding. I do realize the differences between swap in Linux v/s RAMDisk - the real question that I am really trying to get an answer for is - does it matter if I don't create RAMDisk in Linux?
The reason for asking that question is two fold - 1) if the kernel is doing a good job of when to use RAM v/s when to use disk space - then why bother? (Of course I am assuming that the kernel+PI combine to know when to use temporary RAM v/s when to use disk space for swap - that could be a completely wrong assumption to begin with) and 2) if I have a M.2 PCIe3x4 SSD that theoretically does I/O at 32Gbps, then will it hurt/help/no difference to create RAMDisk (again, the speed with the M.2 SSD is theoretically fast - not sure how fast when compared to DDR4-SDRAM).
The other question about which processes use swap/RAMDisk is more to understand real life performance v/s benchmark. It is my understanding after reading a lot about benchmarking process in PI - that there is more weightage given to swap area performance. However, I don't know how that stacks up with what my workflow entails. If most of my processes are CPU/IO intensive, I might not worry too much about RAMDisk v/s disk swap space - just leave it as is. But if my processes are truly swap space intensive, then I will try to figure out if having a RAMDisk makes more sense or not.
Thanks,
Dhaval