1

I have Linux server running about 6 game servers. I have 3 GB total of RAM but I use only about 500 MB. Is there a way to cache one of my game servers (all the files - even not actually used maps etc. - about 1,5 GB) to RAM?

The reason I want to do this is because my Linux server is virtual and the hard drives ar very slow, so there is really big IO wait time.

IO: http://i.stack.imgur.com/7HLhB.png

1

You could simply read each file? That would put them in the cache, so long as nothing else needs that space after you 'read' them.

I think you can accomplish this by just greping each file that you want cached, or use it on the directory with the recursive option to cache every file in said directory.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.