[Seaside] MinimalMorphic based web images
adi at netstyle.ch
Fri Oct 19 14:59:47 UTC 2007
On Oct 17, 2007, at 07:02 , Philippe Marschall wrote:
> 2007/10/15, Jimmie Houchin <j.squeak at cyberhaus.us>:
>> Philippe Marschall wrote:
>>> 2007/10/15, Jimmie Houchin <j.squeak at cyberhaus.us>:
>>>> One thing that I've noticed in these images is that they use the
>>>> every second or two for something. As I watch the system monitor
>>>> I can
>>>> see the CPU use jump very slightly, very regularly. I don't
>>>> remember if
>>>> there is a way to stop this or not. Any help with this is greatly
>>> IIRC what Seaside Hosting does is suspend them at the operating
>>> process level using daemontools  to make sure they're idle and
>>> operating system can swap them out.
>>>  http://cr.yp.to/daemontools.html
>> Hello Philippe,
>> Thanks for the reply. Unfortunately, I wasn't very clear, my
>> The image seems to be doing some kind of polling which is using
>> CPU even
>> when the image should seem to be using none as it is doing nothing.
> Could be anything. At lest the gc will have to do same work from time
> to time. But it is also very likely the UI is not completely idle as
> well. That's my Seaside Hosting suspends the whole process to make
> everything is really idle and nothing happens.
Very likely it's the UI loop (GC activity depends on number of
instantiated objects, not on time elapsed). You can suspend/resume
the UI process, for example with the Seaside snapshot application, if
you want to spare some cycles (which can be significant as soon as
you have many images).
Oh, and make sure that the preference named betterPerformance is
>> I haven't researched the squeak-dev archives yet. But I thought
>> something had been done to change the polling behavior in Squeak.
>> have to see if I can research that.
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside