Date: Tue, 19 Mar 1996 12:16:39 -0700 (MST) From: Terry Lambert <terry@lambert.org> To: msmith@atrad.adelaide.edu.au (Michael Smith) Cc: amigus@cs.mun.ca, questions@freebsd.org Subject: Re: Diskless FreeBSD Message-ID: <199603191916.MAA24438@phaeton.artisoft.com> In-Reply-To: <199603190627.QAA29799@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 19, 96 04:57:24 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> Make sure you preallocate the swapfile. > > # dd if=/dev/zero of=<swapfile> bs=1048576 count=20 > > gets you a 20M swapfile. This should only be necessary for local swap to a file. Over the net, zero fill of empty pages for default page contents should be acceptable. Of course, if you don't preallocate, and it needs to allocate more disk blocks because of swap writes than are available, then you are screwed. You will need to have the swapfile there for each machine *and* allocated, as long as the machine is running. I haven't seen a bootp mod to allocate at boot time, but I suppose it is possible. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603191916.MAA24438>