Opened 7 years ago

Closed 7 years ago

#2040 closed enhancement (fixed)

Prototype backend performance microbenchmark: Flat file

Reported by: tomek Owned by: UnAssigned
Priority: medium Milestone: Sprint-DHCP-20120903
Component: database-all Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

Goal of this task is to develop a simple backend prototype that will measure performance of typical DHCP database operation:

  • write X leases
  • search a lease in X leases Y times
  • delete Z leases out of X leases

This ticket is about backend that will use a flat file. See #2041 and #2042 for corresponding work with other backends.

Subtickets

Change History (7)

comment:1 Changed 7 years ago by tomek

  • Summary changed from Prototype flat file backend performance microbenchmark to Prototype backend performance microbenchmark: Flat file

comment:2 Changed 7 years ago by tomek

  • Description modified (diff)

comment:3 Changed 7 years ago by tomek

  • Status changed from new to reviewing

memfile backend was implemented.

trac2040 branch is branched from trac2041 that is in turn branched from trac2042.

If reviewer doesn't have any preference, it would be easier to review just 2040 and comment on all files in tests/tools/dhcp-ubench directory (trac2042 introduced that directory).

Besides memfile backend itself, trac2040 contains several notable additions:

  • Benchmarks are now configurable. A simple ommand line parser was added to all benchmarks
  • DHCP Performance Guide document was written
  • Several compilation improvements

The code is ready for review.

comment:4 Changed 7 years ago by stephen

  • Owner changed from UnAssigned to stephen

comment:5 Changed 7 years ago by stephen

  • Owner changed from stephen to tomek

Review covered in ticket #2042.

comment:6 Changed 7 years ago by tomek

  • Owner changed from tomek to UnAssigned

comment:7 Changed 7 years ago by tomek

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

Code has been merged. Closing.

Note: See TracTickets for help on using tickets.