Opened 7 years ago

Closed 7 years ago

#4679 closed defect (fixed)

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:
Blocked By: Blocking:
Deployments affected: Action Needed:
Verified: no

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 (4)

comment:1 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.

comment:2 Changed 7 years ago by tomeu

  • Component changed from sugar to datastore
  • Owner changed from marco to tomeu

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.

comment:3 Changed 7 years ago by jg

  • Milestone changed from Never Assigned to Future Release

comment:4 Changed 7 years ago by tomeu

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.