I also want to load faster on boot. If possible, can I shift all temp file hard disk operation to RAM?
I think that Ubuntu already does a great job with RAM management. I only have 1024 RAM memory, not very fast RAM too, but my swap space is rarely used for system operations, and I do not have issues with a faster boot or usual system operations. The problems I have are generated by my CPU, which is kind of ancient, but even so it gets the job done with honor :) .
If you really want to optimize Ubuntu for speed and RAM management you could install first a few extra packages with Synaptic Package Manager or in the terminal emulator:
Go to the line saying:
Once there, remove the '#' to uncomment line GRUB_TERMINAL=console and get a faster boot in a non-graphical console. The result should look like this:
Save the file located in /etc/default/grub and close it. Very important, update grub immediately after that using this code:
Finally, change your swappiness value from 60 to 10 as follows:
Edit sysctl.conf file by typing in the terminal this code:
Once the file is opened, go right to the end of the file and add your swappiness and cache parameters. If there are similar lines in there and vm.swappiness is already 10, you don't need to do anything, otherwise you have to add the following lines right at the end of the file:
do you mean that not all your RAM is recognized? the only reason I can think of that could happen is that you might be using the 32 bit version of Ubuntu, if so use the 64 bit.
If you want a faster boot time you are talking about read speeds of the hard drives. I would advise a SSD that will make a big difference in boot time. but I cannot imagine that you can do something with your ram to speed up boot since everything stored on ram is lost when you power off.
maybe there is a way to store temp files in ram, I have never heard about it. but I wonder whether the read speed of the temp files is limiting your system.