Hi,
I currently use ps3vram for swapping and set swappiness to 100. This fills nearly the whole vram while doing desktop work and gives me more usable memory.
I think this sitation is not optimal, because a lot of memory is used by the buffer cache, while programs are being swapped out. As the subject suggests, I like to know if it is possible to use the vram as a file-system cache.
During my research, I found a lot of possibilties to do that. First there is fs-cache, which is currently only available for nfs filesystems and needs a rather large kernel patch. Also this would require to loop-mount the hard-disk via nfs ...
Second, a new simple filesystem which does some "copy on read" and write-through in combination with a stackable filesystem (unionfs/aufs) would be possible.
Third, "enhance" the kernel memory management to use mmaped vram for buffer pages.
Maybe there are some more (simpler ones)?
What is your opinion?
Thanks
Egon