Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm planning on building my desktop computer to have a ramdisk. At the moment my pc has 4 gb ram, and I was thinking if it is possible to go beyond 4 gb and use the extra ram as a ramdisk.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Yes. It looks like you can: http://www.cyberciti.biz/faq/howto-create-linux-ram-disk-filesystem/ You would have to find the device names of the extra RAM and then follow that tutorial or one that is similar.

share|improve this answer
    
The default ramdisk size is 64M so you would need to use the ramdisk_size= kernel argument to increase it. –  psusi Jun 19 '12 at 3:13

You are better off letting the kernel manage the ram for you. It will allocate the ram to applications that need it ( up to 3GB per process ), and use any free ram to cache files automatically.

share|improve this answer

Your Answer

 
discard

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

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