#10363 NORM 10.1.3: Auto-Suspend gets in the way when sharing over Salut

Tomeu Vizoso tomeu at tomeuvizoso.net
Thu Sep 16 05:51:41 EDT 2010


On Thu, Sep 16, 2010 at 11:05, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
> On Wed, Sep 15, 2010 at 18:50, Zarro Boogs per Child
> <bugtracker at laptop.org> wrote:
>> #10363: Auto-Suspend gets in the way when sharing over Salut
>> ---------------------------------------+------------------------------------
>>           Reporter:  erikos           |       Owner:  erikos
>>               Type:  defect           |      Status:  new
>>           Priority:  normal           |   Milestone:  10.1.3
>>          Component:  telepathy-salut  |     Version:  Development build as of this date
>>         Resolution:                   |    Keywords:
>>        Next_action:  diagnose         |    Verified:  0
>> Deployment_affected:                   |   Blockedby:
>>           Blocking:                   |
>> ---------------------------------------+------------------------------------
>> Changes (by martin.langhoff):
>>
>>  * cc: greenfeld, tomeu (added)
>>
>>
>> Comment:
>>
>>  Was discussing this with Sam earlier.
>>
>>  Is there any workaround we can apply -- seems like Salut or the much
>>  maligned Presence Service has some regular event that re-syncs the nodes,
>>  can we make it more often? (Sam suggested this earlier though I didn't
>>  understand what he meant initially.)
>>
>>  Maybe Tomeu can give us a hint on whether such an event exists and what it
>>  is called so we can tune it? He'll have info on whether ths is likely to
>>  be an issue on 0.90 or not...
>
> Bringing this to devel at l.o where we are already discussing this issue.
>
> So the problem is that if you had to resync all state for each machine
> every time they wake up, you would use lots of bandwidth with the
> power consumption associated, so much that it may not have been worth
> sleeping.
>
> Another issue with this is that you not only want to resync presence,
> but shared activities also would need to resync their state. Which
> cannot be done without activity-level support which we don't have. It
> would also cause more traffic and power consumption in the network as
> a whole.

Forgot to mention that for gabble, you can tell some servers that you
are going to sleep and it will queue the presence updates for when you
wake up. So you won't be awoke by presence updates, just by direct
IM'ing.

This is right now implemented only in Google's XMPP server, but
there's quite a bit of a chance we could persuade the Prosody hackers
to implement something similar:

http://mail.jabber.org/pipermail/summit/2010-February/000528.html

Telepathy has already done some advances on an interface for such optimizations:

http://telepathy.freedesktop.org/spec/Connection_Interface_Power_Saving.html

Regards,

Tomeu

> Regards,
>
> Tomeu
>
>> --
>> Ticket URL: <http://dev.laptop.org/ticket/10363#comment:5>
>> One Laptop Per Child <http://laptop.org/>
>> OLPC bug tracking system
>>
>



More information about the Devel mailing list