From: Ng Pheng Siong
Subject: Running CMUCL on a FreeBSD virtual server
Date: 
Message-ID: <atktrk$p13$1@reader01.singnet.com.sg>
(I posted the following to cmucl-help, but the message seems to have
dropped into a blackhole somewhere...)

I'm checking out FreeBSD virtual server providers, the objective being to
host a CMUCL-based web application on it.

(A FreeBSD virtual server is a FreeBSD "jail" set up as a complete FreeBSD
environment; multiple such jails run on one physical machine.

Or, the virtual server may be a "real" (or still jailed) FreeBSD
environment running in a VMware instance; again, multiple such instances
run on one physical machine.

On these virtual servers the resource limits are necessarily more stringent
than on real machines.

Renting a virtual server is a low-cost alternative to colocating a physical
one.)

Anyhow, on such a setup I'm testing, CMUCL segfaults upon start up,
probably because it is unable to allocate all the memory it wants.

Here's what top reports on my desktop, with CMUCL started successfully:

  PID USERNAME  PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  488 ngps        2   0  1268M 28496K select   0:04 21.61% 10.89% lisp

This is after .cmucl-init has loaded a bunch of stuff, before anything
else.

Googling around, I see "-lazy" command option to CMUCL which exists as a
workaround to Linux VM weaknesses.

Will "-lazy" help in my case? Is it difficult to port it to FreeBSD? Any
other suggestions?

TIA. Cheers.


-- 
Ng Pheng Siong <ยทยทยทยท@netmemetic.com> * http://www.netmemetic.com