[clfswm-devel] clfswm in different environments

Desmond O. Chang dochang at gmail.com
Fri Feb 25 08:15:58 UTC 2011


On Tue, Feb 22, 2011 at 20:11, Philippe Brochard
<pbrochard at common-lisp.net> wrote:
> Maybe you have to clear all .fas and .lib files built with the old
> clisp. You may have to do the same with the directory ~/.cache/common-lisp/...
> before building clx and clfswm.
> In all cases, when something goes wrong with CLX, start with a fresh
> source directory and clear your cache.

I think I know why.  The fas files compiled with new clx cannot be
used with portable clx and vice versa.  Is it a bug?

> SBCL takes a lot more memory than clisp. _Maybe_ you have some swap
> problems. Can you search the cpu and memory used by clfswm with sbcl?

I use 'ps -eo pid,%cpu,%mem,rsz,cmd|grep sbcl' to get the following

# after startup
 1729  4.7  6.7 33972 sbcl --eval (asdf:load-system :clfswm) --eval
(clfswm:main) --eval (quit)
# after freezing
 1729  1.9  8.5 43176 sbcl --eval (asdf:load-system :clfswm) --eval
(clfswm:main) --eval (quit)

> Also, Flash is known to use 100% of the cpu.
> What hardware are you running clfswm on?

# lshw -short
H/W path               Device       Class       Description
===========================================================
                                    system      HP 520 Notebook
PC(GH632AA#AB2) (GH632AA#AB2)
/0                                  bus         30D5
/0/0                                memory      128KiB BIOS
/0/4                                processor   Genuine Intel(R) CPU
        T2050  @ 1.60GHz
/0/4/5                              memory      64KiB L1 cache
/0/4/6                              memory      2MiB L2 cache
/0/4/0.1                            processor   Logical CPU
/0/4/0.2                            processor   Logical CPU
/0/a                                memory      512MiB System Memory
/0/a/0                              memory      512MiB SODIMM DDR2
Synchronous 667 MHz (1.5 ns)
/0/a/1                              memory      SODIMM DDR2 Synchronous [empty]
/0/100                              bridge      Mobile 945GM/PM/GMS,
943/940GML and 945GT Express Memory Controller Hub
/0/100/2                            display     Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller
/0/100/2.1                          display     Mobile 945GM/GMS/GME,
943/940GML Express Integrated Graphics Controller
/0/100/1b                           multimedia  N10/ICH 7 Family High
Definition Audio Controller
/0/100/1c                           bridge      N10/ICH 7 Family PCI
Express Port 1
/0/100/1c.1                         bridge      N10/ICH 7 Family PCI
Express Port 2
/0/100/1c.1/0          wlan0        network     PRO/Wireless 3945ABG
[Golan] Network Connection
/0/100/1d                           bus         N10/ICH 7 Family USB
UHCI Controller #1
/0/100/1d.7                         bus         N10/ICH 7 Family USB2
EHCI Controller
/0/100/1e                           bridge      82801 Mobile PCI Bridge
/0/100/1e/6                         bridge      CB1410 Cardbus Controller
/0/100/1e/8            eth0         network     82562ET/EZ/GT/GZ -
PRO/100 VE (LOM) Ethernet Controller Mobile
/0/100/1f                           bridge      82801GBM (ICH7-M) LPC
Interface Bridge
/0/100/1f.1            scsi4        storage     82801G (ICH7 Family)
IDE Controller
/0/100/1f.1/0.0.0      /dev/cdrom1  disk        RW/DVD GCC-C10N
/0/100/1f.2            scsi0        storage     82801GBM/GHM (ICH7
Family) SATA AHCI Controller
/0/100/1f.2/0.0.0      /dev/sda     disk        80GB Hitachi HTS54168
/0/100/1f.2/0.0.0/1    /dev/sda1    volume      6196MiB Linux
filesystem partition
/0/100/1f.2/0.0.0/2    /dev/sda2    volume      68GiB Extended partition
/0/100/1f.2/0.0.0/2/5  /dev/sda5    volume      1427MiB Linux swap /
Solaris partition
/0/100/1f.2/0.0.0/2/6  /dev/sda6    volume      67GiB Linux filesystem partition

> This one is because you haven't enabled local connections on your X
> server. Add a line with 'xhost local:local' in your ~/.xsession or
> .xinitrc or .Xclients.

Why does clisp require this with portable clx but sbcl not?




More information about the clfswm-devel mailing list