wish list item: minimalistic memory

3 views
Skip to first unread message

rogerdpack

unread,
Jan 10, 2009, 12:05:58 PM1/10/09
to Phusion Passenger Discussions
Currently I have two rails sites on a linode slice. So say I limit
the pool size to 2:
Then I have 4 rails processes: a spawner for each, and the running
ruby instance



117m 49m 3156 S 0 13.8 0:00.93 ruby
139m 68m 3368 S 0 19.1 0:01.23 ruby


125m 50m 2180 S 0 14.1 0:00.03 ruby
171m 89m 2240 S 0 24.7 0:00.61 ruby

My wish is that I had an option for "super sparse RAM use"

i.e.
not preload vendor/rails or what not, so two of those memory users
could go to almost nothing.

[this is without REE, but I believe the principle would still hold--I
have yet to profile it sorry].
Thoughts?
-=r

rogerdpack

unread,
Jan 10, 2009, 12:06:01 PM1/10/09
to Phusion Passenger Discussions

Hongli Lai

unread,
Jan 11, 2009, 7:20:05 AM1/11/09
to phusion-...@googlegroups.com

Conservative spawning already does this. But I think you will find
(with REE) that you'll use more memory in total, despite having fewer
processes.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)

rogerdpack

unread,
Jan 13, 2009, 5:54:49 PM1/13/09
to Phusion Passenger Discussions
oh cool that's exactly what I want :)
Now to see if I can get 32-bit to use less memory, or perhaps the
MBARI patches.... :)
-=r

On Jan 11, 5:20 am, "Hongli Lai" <hon...@phusion.nl> wrote:
> On Sat, Jan 10, 2009 at 6:05 PM, rogerdpack <rogerpack2...@gmail.com> wrote:
>
> > Currently I have two rails sites on a linode slice.  So say I limit
> > the pool size to 2:
> > Then I have 4 rails processes: a spawner for each, and the running
> > ruby instance
>
> > 117m  49m 3156 S    0 13.8   0:00.93 ruby
> > 139m  68m 3368 S    0 19.1   0:01.23 ruby
>
> > 125m  50m 2180 S    0 14.1   0:00.03 ruby
> > 171m  89m 2240 S    0 24.7   0:00.61 ruby
>
> > My wish is that I had an option for "super sparse RAM use"
>
> > i.e.
> > not preload vendor/rails or what not, so two of those memory users
> > could go to almost nothing.
>
> > [this is without REE, but I believe the principle would still hold--I
> > have yet to profile it sorry].
> > Thoughts?
>
> Conservative spawning already does this. But I think you will find
> (with REE) that you'll use more memory in total, despite having fewer
> processes.
>
> --
> Phusion | The Computer Science Company
>
> Web:http://www.phusion.nl/
> E-mail: i...@phusion.nl
Reply all
Reply to author
Forward
0 new messages