2015年9月18日 星期五
using tmpfs
We have big memory in nowadays computers, so we can use it to accelerate. But sometimes we have to deal with data which may larger than our memory, then I did a little test whether the tmpfs can larger than our memory size. One can mount a tmpfs bigger than free space, but when it is filled with data, it would cause error. And the answer to deal with data larger than memory is having a big swap space to increasing the free space, which is composed by main memory and swap space. So the scheme is having big swap space, then you can use tmpfs happily every time, but notice that if the power failed, all your results would be gone.
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言