Skip to content

Planner: Performance improvement

Ian Jackson xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest29 patches 2 repliesIn review
  2. v1 RFC13 patches 23 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29Tcl: Use lshift instead of open-coding with lrangems-queuedaemon tcl/JobDB-Executive.tcl+2 -40 replies
2/29Planner: docs: Minor fixesOsstest/Executive.pm README.planner+4 -10 replies
3/29Planner: docs: Document set-info commandREADME.planner+10 -00 replies
4/29Planner: Fix indefinite holdoffms-queuedaemon+6 -40 replies
5/29Planner: client side: $mayalloc parameter to $resourcecall->()Osstest/Executive.pm mg-allocate mg-blockage +1 more+7 -70 replies
6/29Planner: client side: New `!OK think noalloc' protocolOsstest/Executive.pm README.planner+11 -40 replies
7/29Planner: client side: Do not force OSSTEST_RESOURCE_PRIORITYmg-allocate+1 -11 reply
8/29Planner: ms-planner support -w optionms-planner ms-planner-debug+15 -40 replies
9/29Planner: ms-queuedaemon: Prep for multiple walkersms-queuedaemon+120 -690 replies
10/29Planner: ms-queuedaemon: Synchronise thinking multiple walkersms-queuedaemon+11 -30 replies
11/29Planner: ms-queuedaemon: Break out queuerun-finished/<walker>ms-queuedaemon+6 -20 replies
12/29Planner: ms-queuedaemon: Break out notify-to-thinkms-queuedaemon+8 -30 replies
13/29Planner: ms-queuedaemon: Make report-plan take output walker namems-queuedaemon+4 -40 replies
14/29Planner: ms-queuedaemon: Restart planning when resources become free.gitignore README.planner ms-queuedaemon+112 -40 replies
15/29Plan reporting: Break out return-plan-to-clientms-queuedaemon+7 -20 replies
16/29Plan reporting: Provide get-last-plan queuedaemon commandREADME.planner ms-queuedaemon+19 -00 replies
17/29Planner: ms-queuedaemon: Break out chan-plan-infoms-queuedaemon+8 -20 replies
18/29Planner: Report unprocessed planning clientsms-planner ms-queuedaemon+37 -00 replies
19/29Tcl: Provide get-chan-desc in daemonlibtcl/daemonlib.tcl+5 -00 replies
20/29Planner: ms-queuedaemon: Use chan-get-desc in chan-plan-infoms-queuedaemon+4 -30 replies
21/29Planner: Remove O(n^2) problem from plan restartms-planner ms-queuedaemon+18 -100 replies
22/29Planner: ms-queuedaemon: Better log message for Tcl `after idle'ms-queuedaemon+1 -10 replies
23/29Planner: ms-queuedaemon: Reformat debugging output for more tasksms-queuedaemon+7 -60 replies
24/29Manual allocation: Report better info in plan for rogue tasksms-planner+4 -10 replies
25/29Manual allocation: Break out manual_allocation_base_jobinfo from mg-blockageOsstest/Executive.pm mg-blockage+9 -31 reply
26/29Manual allocation: Provide JobInfo in mg-blockagemg-blockage+7 -70 replies
27/29Manual allocation: Provide JobInfo in mg-allocatemg-allocate+5 -20 replies
28/29Manual allocation: Show tty in jobinfoOsstest/Executive.pm+4 -10 replies
29/29Manual allocation: Set $| in mg-blockagemg-allocate mg-blockage+4 -00 replies

Reviews trailers per patch

13 of 29 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/29A-b
2/29A-b
3/29A-b
4/29A-b
5/29A-b
6/29A-b
7/29A-b
8/29A-b
9/29
10/29A-b
11/29A-b
12/29A-b
13/29A-b
14/29
15/29A-b
16/29
17/29
18/29
19/29
20/29
21/29
22/29
23/29
24/29
25/29
26/29
27/29
28/29
29/29

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [OSSTEST PATCH v2 00/29] Planner: Performance improvement

This series addresses a performance problem which we seem to be experiencing with the existing osstest resource planner in Xen Project test colo. The current setup can leave hosts idle for too long before getting around to allocating them to test jobs.

There are also some reporting/debugging improvements.

The full explanation of the new algorithm is in the commit message for
14/29 Planner: ms-queuedaemon: Restart planning when resources become free

Most of this series touches code in the central queue daemon, or in command line tools, and is not subject to the osstest self-push-gate.

I have extensively tested this series in the Cambridge instance, where this version of ms-queuedaemon is currently running and seems to be happy. The queuedaemon changes and the client (per-flight) changes are fully compatible in both directions (except for Ian C's out-of-mainline reporting tool which calls `get-plan' and is already rather broken).