On Mon, 8 Jul 2002, Matthew Dillon wrote: >:Thus spake Terry Lambert <[EMAIL PROTECTED]>: >:> Erik Trulsson wrote: >:> > Minimal swap if you want to be able to catch core dumps: Physical RAM >:> > size + 64K >: >:I've caught many core dumps with swap == RAM. Am I just getting >:lucky, or am I losing 64K of the image? >: >:> Crash dumps good. >: >:I beg to differ. ;-) > > You only need as much as physical ram. e.g. 1G of ram, 1G on the > dump device (which can be the swap partition).
Allocating swap = physical RAM doesn't buy you any expansion though. I always try to do at least twice physical RAM so that if I ever double the RAM in my machine I'm still able to catch crash dumps. It's not worth having to repartition the drive to add more swap every time I add more RAM when a 120GB 7.2k drive is ~$170. What's 2GB of swap on a 120GB disk or even a 40GB disk for that matter? Brandon D. Valentine -- http://www.geekpunk.net [EMAIL PROTECTED] ++[>++++++<-]>[<++++++>-]<.>++++[>+++++<-]>[<+++++>-]<+.+++++++..++ +.>>+++++[<++++++>-]<++.<<+++++++++++++++.>.+++.------.--------.>+. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message