Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be pointless. Just let linux cache the data and don't worry about it.

If you must, cat all your database tables to null (i.e. read all the data in them) a few times, then you'll be sure they are in memory.

If you used a ramdisk you'll be paying double: once for the data, and again for the cache.



Raid1 idea was a suggestion of how to deal with system crashes, not to populate the buffer cache.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: