Changes between Initial Version and Version 1 of Ticket #1870


Ignore:
Timestamp:
2012-11-20T01:38:50Z (11 years ago)
Author:
davidsarah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1870

    • Property Status changed from new to assigned
  • Ticket #1870 – Description

    initial v1  
    11The [https://github.com/davidsarah/tahoe-lafs/commits/1818-leasedb 1818-leasedb] branch has a performance regression that shows up when running the test suite -- in fact, the test suite is not able to pass at the moment purely due to timeouts.
    22
    3 Since the regression does ''not'' show up when using {{{make tmpfstest}}} (which uses a memory-based tmpfs filesystem rather than disk), my tentative conclusion is that it is due to the latency of leasedb database syncs. There are currently many redundant syncs due to every SQL query/update being in a separate transaction, and due to there being more SQL operations than necessary per request. We could also use a more relaxed consistency mode, if that is safe.
     3Since the regression does ''not'' show up when using {{{make tmpfstest}}} (which uses a memory-based tmpfs filesystem rather than disk), my tentative conclusion is that it is due to the latency of leasedb database syncs. There are currently many redundant syncs due to every SQL query/update being in a separate transaction, and due to there being more SQL queries and updates than necessary per storage API request. We could also use a more relaxed consistency mode, if that is safe.