[FusionDev] Compiz-manager sloweness (Was: Release)

Kristian Lyngstøl kristian at bohemians.org
Sat Aug 11 13:16:06 CEST 2007


Please remove the parts of the e-mail you are not using when quoting,
to keep the thread clean.

On 8/11/07, Sam Spilsbury <smspillaz at gmail.com> wrote:
> On 8/11/07, Kristian Lyngstøl <kristian at bohemians.org> wrote:
> > On 8/11/07, Sam Spilsbury <smspillaz at gmail.com> wrote:
> > > On 8/11/07, Kristian Lyngstøl < kristian at bohemians.org> wrote:
> > > > I'd like to move my compiz-manager script into a more central/official
> > > > repo and get proper feedback without getting 20 different forks of it
> > > > (it's a pain, to be honest, to be sent a rewrite of your own code
> > > > instead of ideas on how to improve it or patches). Any objections
> > > > against this?
> > >
> > > To be honest, your wrapper script is actually a bit slow when it comes
> to
> > > starting compiz. I don't know why, it just is.
> >
> > This is the FIRST time anyone has ever mentioned this to me. Can you
> > please explain this in detail? What setup do you have? Is it
> > consistently slower? When using verbose, is it possible for you to
> > tell which part of it is slower? Is it slow after the initial run
> > where it saves the results too? Or is the slowness mainly caused by
> > the delay in the window decorator?
>
>
> I'm not with my CFusion desktop at the moment, but from what I recall, it
> takes about 5 seconds to start compiz with your script, and it seems to hang
> gnome-autostart for about 15 seconds. Like I said, I need to have a look at
> it in greater detail, but it is considerably slower than beryl's old system
> check.
>
> NOTE : The autostart slowness might be caused by the fact that it's trying
> to kill metacity while it's starting.

It doesn't, it just uses --replace. There is a built in delay for the
decorator, set to 5 seconds by default. Can you try configuring this
to, say, 1 second and see if this is what you are seeing?

I still need answers to the first questions too:

1. Is it consistently slow
2. When using verbose, is there a specific test that's slow?
3. Is it slower at the first run, or also slow after it has saved the
results of the test too?

Compiz-manager only runs tests once in a normal setup, which would
make it considerably FASTER than pretty much anything that doesn't, so
I need to know the answers to these questions to determine the reason
for the slowness.

I would also very much like to get confirmations from others.

-- 
Regards,
Kristian


More information about the Dev mailing list