When the kernel swaps stuff to disk, can this data be subsequently read by the process directly from swap? or it must absolutely be put back into physical ram (thus generating si so activity in vmstat)
I have a java process that seems to have alot of data in swap (https://paste.fedoraproject.org/542447/raw/) And when I execute it it's really slow, but I don't see any si so activity.
Upon restarting the process, it's very fast again, and smaps now lists 0 bytes in Swap.
Vmstat info: https://paste.fedoraproject.org/542453/raw/
Thank you,
vmstat 1 2or similar to include the relevant lines. The active/inactive is also mostly useless. I would suggest to take a look atsarnext.