Repository navigation
Keep the image's index in a volume, and name every bound standard - #38
Merged
Merged
Conversation
chromadb opens the image's index read-write, and overlayfs then copied
the whole database, about 25 GB, into every new container: tens of
seconds at each start on a busy disk, long enough for chromadb to give up
with "pool timed out while waiting for an open connection", and the
disk space of a second index for as long as the container ran. The
launcher now mounts it from a named volume, spear-index-<image id>,
which Docker fills from the image once; later starts reuse it, and the
volumes of earlier images are removed when nothing uses them.
The precedence guard's note named only the active standard ("No
requirement of ARM-DDI0487 M.c is stated here") over an answer that
cited a companion throughout; it now names every bound standard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every container start copied the image's ~25 GB chromadb index into the container layer (overlayfs copy-up on a read-write open), which on a busy disk took long enough for chromadb to fail with "pool timed out while waiting for an open connection". The launcher now mounts the index from a per-image named volume, filled once by Docker and reused. Also: the precedence guard's note now names companion standards too. Checked through
spear: container layer 82 kB instead of 25 GB, both standards bound.