[Backport release-25.05] workflows/eval: disable swap#431491
[Backport release-25.05] workflows/eval: disable swap#431491wolfgangwalther merged 1 commit intorelease-25.05from
Conversation
Recent performance tests show that (a) swapping heavily slows down the Eval job, while (b) lowering the chunkSize does not have an effect on run-time. It does on memory usage, though - thus we can get rid of swapping entirely by reducing chunkSize respectively. (cherry picked from commit f2648b2)
|
I think the |
Does this imply that we could have issues for PRs that are based on a commit which ran with the old chunksize, but then the PR itself (re)-runs CI with the new chunksize?
This inconsistency is definitely confusing! |
|
I'm really confused. |
I don't think so. These kinds of problems normally only appear right around merge of such a change - or in the PR that does the change itself. After a few minutes, any new workflow run will run with eval results that already include the change, both on the target branch and on the PR - so this is certainly not a problem that will persist. I'd still like to understand what's happening, though. |
|
Got it. Here's the thing: Master already has a few more than 100k packages, which means it currently runs on 11 chunks before the change. release-25.05 runs on 10 chunks. Master looks like this: (and release-25.05 a bit less and 10) Now, looking into the We can see that once we go to 11+ chunks, the numbers become two-digit. This means the numbers were two-digit already for both before and after on master. The result: The PR to master was able to match up some of the stats, which resulted in no error. This PR is not able to match up any of the files, the table is empty, and thus it can't be sorted by p_value. This kind of error could theoretically also happen in the PR that moves past the 100k packages. It probably did. Now that we are for sure past 11 chunks, because of the chunkSize, we are unlikely to ever hit that again, except with a massive reduction in size of nixpkgs in terms of packages. All good. |
Bot-based backport to
release-25.05, triggered by a label in #431459.