[Gllug] Grub on lvm

Hari Sekhon hpsekhon at googlemail.com
Fri Jan 9 12:25:54 UTC 2009


James Hawtin wrote:
> On Fri, Jan 09, 2009 at 11:37:23AM +0000, Jose Luis Martinez wrote:
>   
>> 2009/1/9 Hari Sekhon <hpsekhon at googlemail.com>:
>>     
>>> But then you're trading /tmp disk for ram, not the best thing to do in
>>> all cases...
>>>       
>> Which cases?
>>
>> RAM is cheap, around ?10 per GByte.  If one is having RAM constraints
>> throwing an extra 1 GB RAM module at the problem is not going to break
>> the bank balance, in the case of /tmp it will really boost your
>> performance (you could go as far as puting other parts of your
>> filesystem in RAM if you really need to avoid slow disk accesses).
>>     
>
> I may be wrong but is there any reason why the ram disk has to remain
> resident in memory? Or could it end up being swapped out like anything else?
> In which case it is a choise of allocating tmp+swap space or considating it
> with just swap. 
>
> James
>   
Using ram for swap is a bit silly... you would be better off disabling 
swap and keeping it as ram as there are less layers to process to store 
things in the same place.

If you have lots of ram and slots to spare in your boxen then by all 
means use ram for /tmp is an interesting trade off.

-h

-- 
Hari Sekhon
Always open to interesting opportunities
http://www.linkedin.com/in/harisekhon

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list