> -----Original Message-----
> From: owner-ccp...@jiscmail.ac.uk [mailto:owner-ccp...@jiscmail.ac.uk]
On
> Behalf Of Adam Ralph
> Sent: 24 August 2009 15:25
> To: CCP4BB@JISCMAIL.AC.UK
> Subject: Re: [ccp4bb] Linux flavour and hard disks

> You also need a swap partition,
> this should be 2 to 3 times the memory size. Maybe somebody knows the
> optimum size.

Hi, here: https://help.ubuntu.com/community/SwapFaq
it explains that 1 to 2 times memory size is optimal.  However note that
this calculation assumes you are going to use the "hibernate to disk"
feature which allows you to restart the machine in exactly the state it
was when you last hibernated (and which obviously needs to use an amount
of disk space equal to the memory size).  First, this assumes that you
are actually going to use "hibernate to disk" (it's clearly very handy
for laptops, but probably irrelevant for servers which are rarely turned
off).  Second it assumes that the "hibernate to disk" feature does
actually use the swap partition for this purpose: I believe some systems
use a dedicated hibernate partition, so then you wouldn't need to
allocate extra swap space.  So in some cases you could reduce the swap
partition to 1 times memory size.

It's hardly worth arguing about anyway, the difference in disk usage is
likely to be < 1% of the total, so probably most people won't even
consider the options and just go with the default!

Cheers

-- Ian


Disclaimer
This communication is confidential and may contain privileged information 
intended solely for the named addressee(s). It may not be used or disclosed 
except for the purpose for which it has been sent. If you are not the intended 
recipient you must not review, use, disclose, copy, distribute or take any 
action in reliance upon it. If you have received this communication in error, 
please notify Astex Therapeutics Ltd by emailing 
i.tic...@astex-therapeutics.com and destroy all copies of the message and any 
attached documents. 
Astex Therapeutics Ltd monitors, controls and protects all its messaging 
traffic in compliance with its corporate email policy. The Company accepts no 
liability or responsibility for any onward transmission or use of emails and 
attachments having left the Astex Therapeutics domain.  Unless expressly 
stated, opinions in this message are those of the individual sender and not of 
Astex Therapeutics Ltd. The recipient should check this email and any 
attachments for the presence of computer viruses. Astex Therapeutics Ltd 
accepts no liability for damage caused by any virus transmitted by this email. 
E-mail is susceptible to data corruption, interception, unauthorized amendment, 
and tampering, Astex Therapeutics Ltd only send and receive e-mails on the 
basis that the Company is not liable for any such alteration or any 
consequences thereof.
Astex Therapeutics Ltd., Registered in England at 436 Cambridge Science Park, 
Cambridge CB4 0QA under number 3751674

Reply via email to