Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I do not like how tmpfs behaves with swap and will allow memory to be exhausted before using the swap on physical disk (yes swappiness can be adjusted but it's still affecting the rest of the OS by exhausting resources).

Instead I would like to create a dynamic ramdisk with a defined upper limit that is then extended into a physical drive via the concept of a logical volume.

ie. /tmphybrid = 0-512mb ram + 0-2048mb harddrive

Possible? Possible with ramdisk being dynamic and not completely allocated to start with?

share|improve this question
    
How precisely would this differ from just using a HDD and letting the OS cache things? (The only thing I can think of is preloading the RAM drive with files). –  Hennes Jan 8 '13 at 16:13
    
This question has already been answered. superuser.com/questions/255060/… –  Josh Campbell Jan 8 '13 at 17:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.