SBCL performance on OS X



I've been playing around for a while with close-to-out-of-memory
situations in Lisp. As part of this investigation, I wrote a very simple
program that just gobbles up memory until the Lisp process dies.

Running this program seems to show an incredible disparity between the
speed of SBCL on Linux, and on OS X. On Linux, the program dies after
less than a second, having allocated around 520MB. On my Powerbook the
same program takes 1 minute 13 seconds to allocate the same amount of
memory!

More details are at:
http://www.livejournal.com/users/abstractstuff/11286.html

I'd be very interested to hear any suggestions on what might be causing
this huge difference in performance. I'll be sure to follow-up with
anything else that I discover.

Thanks and best wishes,
Bill.
.



Relevant Pages

  • Re: Large arrays (again), problem case for GNAT
    ... >>> allocate a huge array, and then only use some part of it. ... Physical memory is 1000 times more expensive ... The contract of malloc is to return memory ... > Apparently the Linux folks don't think that's the contract. ...
    (comp.lang.ada)
  • Question on the current behaviour of malloc () on Linux
    ... I first asked this question on uClinux mailing list. ... When I run it on my Linux notebook, ... > memory left and you can't free memory because kill can't be called. ... It's true that Linux can allocate memory for application, ...
    (Linux-Kernel)
  • Re: How to handle a specific DMA configuration ?
    ... > the moment, Linux only takes care of the first 256MB, but I can change ... > it to take care of the complete physical memory space. ... even if a I allow Linux to allocate memory between ...
    (Linux-Kernel)
  • Re: Forgetting stuff is better than dying
    ... In linux, unless it changed more recently than 2.6.11: ... overcommit unless it, um, doesn't. ... See /proc/meminfo for details of total allowed memory commit and current ... CMUCL and SBCL used to just merrily allocate the entire virtual address ...
    (comp.lang.lisp)
  • Re: SBCL performance on OS X
    ... I wrote a very simple program that just gobbles up memory until the Lisp process dies. ... same program takes 1 minute 13 seconds to allocate the same amount of ... system time? ...
    (comp.lang.lisp)