Ticket #79 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Initial transfer on network config mirroring takes long time

Reported by: tim Owned by: tim
Priority: minor Milestone: RC2009
Component: Fawkes Version:
Keywords: config Cc:
Git Branch:

Description

When the mirroring mode is enabled on the network configuration it takes a long time until the configuration is initially transmitted. This is especially noticeable in the ffconfiggui. The reason for this is unclear.

First part of fixing this problem is measuring times to determine what actually takes so long, traversing the database, composing the message, transmission or inserting the values in the mirror database. Then the appropriate measures have to be taken to shorten the overall time.

Change History

Changed 3 years ago by tim

  • status changed from new to assigned

Changed 3 years ago by tim

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

Fixed in r2454

The NetworkConfiguration now uses a database stored in memory and an explicit single transaction for adding all values (before SQLite would create implicit transaction for every single setting), this way mirroring the config is as fast as originally expected. It was slowed down by many small transactions and slowness in modifying the file.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Subscriber, Participant

  • Fawkes Trac List(Always)
  • Tim Niemueller(Reporter, Owner, Participant)