Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow using the heap profiler in the inferior | Christopher Baines | 14 days |
| | |||
* | More efficiently create some vectors | Christopher Baines | 14 days |
| | | | | | And instrument the inferior memory after creating the gds-inferior-packages vector. | ||
* | Do more when cleaning inferiors | Christopher Baines | 14 days |
| | | | | Not sure if this actually helps, but it might do. | ||
* | Add log-tag when inserting channel instance derivations | Christopher Baines | 14 days |
| | |||
* | Always assume that resource pool waiters will stick around | Christopher Baines | 2024-11-05 |
| | | | | As I think this is a more efficient design. | ||
* | Move the inferior cleanup to the end of each system+target | Christopher Baines | 2024-11-04 |
| | |||
* | Refactor | Christopher Baines | 2024-11-03 |
| | |||
* | Use a separate db connection in channel-derivations-by-system-promise | Christopher Baines | 2024-11-02 |
| | | | | As this can run in parallel with something else using conn. | ||
* | Finish chasing the call-with-resource-pool bug | Christopher Baines | 2024-10-31 |
| | | | | | | | | This took a while to find as process-job would just get stuck, and this wasn't directly related to any particular change, just that more fibers increased the chance of hitting it. This commit includes lots of the things I changed while debugging. | ||
* | Add a comment | Christopher Baines | 2024-10-27 |
| | |||
* | Rework inserting derivations | Christopher Baines | 2024-10-27 |
| | | | | To add more parallelism. | ||
* | Use a common derivation-ids-hash-table | Christopher Baines | 2024-10-27 |
| | | | | | | To allow for calling derivation-file-names->derivation-ids in parallel across multiple fibers, using the PostgreSQL connection fiber to perform atomic operations. | ||
* | Include the package version in the "error when computing" messages | Christopher Baines | 2024-10-27 |
| | | | | As this helps when there are lots of packages with the same name. | ||
* | Ensure the guix derivations are stored prior to attempting to substitute | Christopher Baines | 2024-10-27 |
| | |||
* | Fix extract-information-from message | Christopher Baines | 2024-10-27 |
| | |||
* | Increase parallelism when loading revisions | Christopher Baines | 2024-10-27 |
| | |||
* | Use a dedicated fiber for heap size monitoring | Christopher Baines | 2024-10-27 |
| | |||
* | Fix free-disk-space call | Christopher Baines | 2024-10-13 |
| | | | | As the WAL file might not exist. | ||
* | Make the WAL threshold more flexible | Christopher Baines | 2024-10-10 |
| | | | | | | So that the WAL can grow more when there's sufficient space. When the inferiors are closed it takes time to restart them, so doing this less should speed up processing revisions. | ||
* | Add retrying around inserting channel instance derivations | Christopher Baines | 2024-08-29 |
| | |||
* | Stop using profiles for channel instances | Christopher Baines | 2024-08-27 |
| | | | | | Just use the store item instead. This should avoid issues where the profile gets GC'd. | ||
* | Further reduce the chunk size | Christopher Baines | 2024-08-20 |
| | |||
* | Increase the WAL threshold | Christopher Baines | 2024-08-20 |
| | |||
* | Increase the inferior idle seconds | Christopher Baines | 2024-08-18 |
| | |||
* | Improve logging around use of inferiors | Christopher Baines | 2024-08-17 |
| | |||
* | Log the number of inferiors when reporting WAL issues | Christopher Baines | 2024-08-16 |
| | | | | And reduce the threshold. | ||
* | Check the WAL size more frequently when using inferiors | Christopher Baines | 2024-08-16 |
| | | | | | | Since getting an inferior from the pool can take some time, it's not sufficient to just check prior to attempting to fetch an inferior from the pool. Instead set a timeout and check periodically. | ||
* | Check the WAL size before computing lint warnings | Christopher Baines | 2024-08-16 |
| | | | | | As even though this might not use the store, the inferior still holds a store connection open. | ||
* | Use system-ids for inserting distribution counts | Christopher Baines | 2024-08-12 |
| | |||
* | Reduce chunk size | Christopher Baines | 2024-08-12 |
| | | | | To try and respond quicker when the WAL is growing. | ||
* | Check the WAL size for each chunk | Christopher Baines | 2024-08-12 |
| | | | | | | Rather than for each system and target, as this should mean the response (pausing and allowing inferiors and store connections to be closed) is quicker. | ||
* | Start trying to handle GC happening while processing revisions | Christopher Baines | 2024-08-12 |
| | |||
* | Parallelise inserting package derivation distribution counts | Christopher Baines | 2024-08-10 |
| | |||
* | Get the test suite working again | Christopher Baines | 2024-08-07 |
| | |||
* | Move inserting derivations in to the load-new-guix-revision module | Christopher Baines | 2024-08-07 |
| | | | | | And start to more closely integrate it. This makes it possible to start making it faster by doing more in parallel. | ||
* | Compute package derivations in chunks | Christopher Baines | 2024-07-19 |
| | | | | | | This allows for keeping the inferiors and store connections around for a more constant period, and allows closing the store connections and allowing the guix-daemon to clear the WAL file if needed. | ||
* | Reduce the WAL size threshold | Christopher Baines | 2024-07-19 |
| | |||
* | Rewrite the key parts of loading data to be even more parallel | Christopher Baines | 2024-07-19 |
| | | | | | | | Use a pool for the database connection, and a fibers promise for the package ids, and run other parts of the process in parallel too. This change also means that inserting starts as soon as some data is available, rather than when all the data is available. | ||
* | Insert package derivations earlier | Christopher Baines | 2024-07-19 |
| | |||
* | Return two values from channel->source-and-derivations-by-system | Christopher Baines | 2024-07-19 |
| | |||
* | Avoid long running store connections | Christopher Baines | 2024-07-19 |
| | | | | As I think this can cause the guix-daemon WAL to grow excessively. | ||
* | Catch and ignore the new cross build derivation errors | Christopher Baines | 2024-07-18 |
| | |||
* | Refactor opening store connections when processing jobs | Christopher Baines | 2024-07-18 |
| | | | | And set the #:built-in-builders. | ||
* | Log more timing infromation about inserting derivations | Christopher Baines | 2024-07-16 |
| | |||
* | Block asyncs when starting inferiors | Christopher Baines | 2024-06-24 |
| | | | | Because this code deals with global state, like environment variables. | ||
* | Support setting environment variables in the inferior | Christopher Baines | 2024-06-24 |
| | | | | When processing jobs, this is mostly to allow setting GUIX_DOWNLOAD_METHODS. | ||
* | Fix WAL threshold | Christopher Baines | 2024-05-13 |
| | | | | As it was too small. | ||
* | Attempt to avoid the WAL growing excessively | Christopher Baines | 2024-04-25 |
| | |||
* | Use non-blocking inferior-eval-with-store in for glibc-locales | Christopher Baines | 2024-04-25 |
| | |||
* | Further change job store connection handling | Christopher Baines | 2024-04-25 |
| | | | | | The guix-dameon WAL is still growing excessively, so avoid doing anything with the long running store connection except registering temporary roots. |