From: Eric Hodel Date: 2004-02-13T15:39:21-08:00 Subject: Re: Borges/Iowa resource usage --Qf1oXS95uex85X0R Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Avi Bryant (avi@beta4.com) wrote: > > How does Iowa store each continuation stack (which is my own, uneducate= d=20 > > term -- same thing as the resident set size?) ? From my unscientific=20 > > checking of Borges, it seemed each continuation got its own place in=20 > > memory, so virtually every page visit triggered another usage chunk, an= d=20 > > it seemed to grow very quickly with just one user. If Eric's reading=20 > > this (Borges author), maybe he can chime in with some more specifics. >=20 > Iowa (at least back when I first wrote it ;) doesn't use > continuations, although it's still resource intensive compared to many > alternatives, because it stores a bunch of state for each page view.=20 > But as Kirk shows, it stays within acceptable limits. >=20 > Chad Fowler and I were looking into Borges resource usage earlier > today, and it seems to be out of control - Chad was seeing about an > extra 1MB (!) of resident size per page view. There is a version of Borges floating about with a broken LRUCache. It will consume approximately 1MB per page view, and never let go (ouch!). See: http://216.254.21.90/cgi-bin/cvsweb.cgi/ruby/seaside2/Borges/lib/Borges/Uti= lities/LRUCache.rb Around christmass time I lost alot of traction on programming projects (mostly due to laziness combined with a dead laptop HDD), but now that I've resurrected it, I'll have to push Borges out the door. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Qf1oXS95uex85X0R Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFALWApMypVHHlsnwQRAlOmAKCUuV1kJwmRndOV7RcLMDGhBUVoowCg0+1Q dBcQM/XXNzJeD9EqyRDqhf8= =HP2M -----END PGP SIGNATURE----- --Qf1oXS95uex85X0R--