Ticket #4679 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

The sugar_datastore_service polls about 400 times a second.

Reported by: gnu Owned by: tomeu
Priority: normal Milestone: Future Release
Component: sugar-datastore Version: 1.0-software-build-623
Keywords: Cc:
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

The sugar_datastore_service does a poll() with a timeout of zero (it polls constantly), but it then uses select() to delay for 2.5ms. So it polls about 400 times a second.

See #4677 for other Sugar polling issues.

Change History

Changed 7 years ago by marco

The datastore issue is fixed in joyride. Though we are still running into the pygtk 100ms wakeup because we use threads.

Changed 7 years ago by tomeu

  • owner changed from marco to tomeu
  • component changed from sugar to datastore

I have a patch to stop using threads in the DS, but will need a good deal of testing if it's going to make into Update1.

Changed 7 years ago by jg

  • milestone changed from Never Assigned to Future Release

Changed 7 years ago by tomeu

  • status changed from new to closed
  • resolution set to fixed

This has already been fixed as part of some other ticket.

Note: See TracTickets for help on using tickets.