From owner-freebsd-questions Mon Mar 30 15:24:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA20633 for freebsd-questions-outgoing; Mon, 30 Mar 1998 15:24:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from send1c.yahoomail.com (send1c.yahoomail.com [205.180.60.38]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA20546 for ; Mon, 30 Mar 1998 15:23:42 -0800 (PST) (envelope-from fbibsd@yahoo.com) Message-ID: <19980330232428.7604.rocketmail@send1c.yahoomail.com> Received: from [207.33.234.1] by send1c; Mon, 30 Mar 1998 15:24:28 PST Date: Mon, 30 Mar 1998 15:24:28 -0800 (PST) From: FBI BSD Subject: Embedded sys; eliminating swap, leaks, instability? To: freebsd-questions@FreeBSD.ORG Cc: fbibsd@yahoo.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi -- I'm trying to set up an embedded FreeBSD system which will boot from a Flash memory solid state disc, and run a customized system with various application and server processes in RAM. The system is expected to run for indefinitely long periods of time (e.g. many months) without reboot / restart. I plan to utilise 2.2-stable for the O/S. What mechanisms are available to make it so that the system doesn't swap (via strict prohibition, or 'in practice')? Are there significant limitations within the memory management / process management systems which I should be aware of in order to prevent resource loss, inefficiency, unreliability for very long uptimes? If I must have a swap device, then is it possible to use something like a MFS to reserve a memory area as the only 'swap device', with no disc backing store for it at all? Swapping to Flash memory would be very bad because (a) it is slow, and (b) it has a limited rewrite lifetime. I've seen on the hackers list various people talking of using FreeBSD for embedded 'diskless' (Flash / ROM only) applications, though I've never seen the issues of swaping and resource recycling addressed. Thanks in advance, Chris fbibsd@yahoo.com _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message