• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

xapi-project / xen-api / 44108007072
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: CP-314185-typed-card-order
DEFAULT BRANCH: master
Ran 17 Nov 2026 02:54PM UTC
Jobs 1
Files 36
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Nov 2026 02:52PM UTC coverage: 78.996%. Remained the same
44108007072

push

github

web-flow
Remove contention on rrdd lock (#7401)

rrdd guards all RRDs with a single mutex, and some holders keep it
across work that doesn't need it. rrd_updates serialises the whole
XML/JSON reply under the lock, and archive_rrd gzips the RRD under it
and, on pool members, uploads it to the coordinator over TLS. This PR
moves that work out of the critical section, makes value extraction
cheaper, and fixes a race where get_vm_rrd copied an RRD after releasing
the lock.

In a synthetic benchmark the lock hold time drops 15–140x; for example,
a 10-minute rrd_updates for 1000 VMs went from 37 s to 0.27 s. On a real
2-host pool, we also see improvements:
- p99 wait is 12% lower in steady state and 16–23% lower during a VM
shutdown storm.
- stall time on the member during the storm is 30–50% lower.
- VM shutdown times are unchanged.

Most of the remaining wait is the OCaml runtime lock, not this mutex

3667 of 4642 relevant lines covered (79.0%)

0.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 44108007072.1 17 Nov 2026 02:54PM UTC 36
79.0
GitHub Action Run
Source Files on build 44108007072
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44108007072
  • 84ded788 on github
  • Prev Build on gh-readonly-queue/master/pr-7404-624dbc1884123661c397f6f3109c731bef06af82 (#43834486750)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc