Originally Posted by arvindk.monu
I am facing a problem ,my swap space is not working on my system.even when i am using heavy process and services.
I don't see any problem in those numbers. I think you are simply misunderstanding the reasons a Linux system uses swap space and expecting use of swap space when the system has not needed any.
Originally Posted by _bsd
as an experiment, you could ...
I wouldn't bet that experiment would produce any informative results and if it happened to produce such results, I'd bet against the OP understanding those results.
Given "memory pressure", which might or might not exist in the OP's system, Linux might displace certain kinds of memory use that can be read back later from the same file it came from originally. That is an important activity very similar to what a user thinks of as swapping, but it doesn't use any swap space.
Alternately, Linux might displace other kinds of memory use out to swap space.
Which of those it will do depends on which kind of memory use is present but not recently accessed. Swappiness affects that decision (which of those two kinds of memory to displace) in borderline cases where the two are roughly equal). A normal Swappiness value makes Linux prefer (in borderline cases) to displace memory use that doesn't take swap space. Swappiness 100 makes it treat the two equally, which is a bad idea, because displacing memory use back to the original file is in the long run half as expensive displacing memory to swap.
If none of the uses of "anonymous memory" are "stale" then changing swappiness would have no effect. Linux might choose to displace the kind of memory use that goes to the original file even if it is making the decision on an equal basis.