{"action":"created","issue":{"url":"https://api.github.com/repos/perfsonar/bwctl/issues/2","labels_url":"https://api.github.com/repos/perfsonar/bwctl/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/perfsonar/bwctl/issues/2/comments","events_url":"https://api.github.com/repos/perfsonar/bwctl/issues/2/events","html_url":"https://github.com/perfsonar/bwctl/issues/2","id":62835984,"number":2,"title":"bwctl priorities","user":{"login":"arlake228","id":634851,"avatar_url":"https://avatars.githubusercontent.com/u/634851?v=3","gravatar_id":"","url":"https://api.github.com/users/arlake228","html_url":"https://github.com/arlake228","followers_url":"https://api.github.com/users/arlake228/followers","following_url":"https://api.github.com/users/arlake228/following{/other_user}","gists_url":"https://api.github.com/users/arlake228/gists{/gist_id}","starred_url":"https://api.github.com/users/arlake228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlake228/subscriptions","organizations_url":"https://api.github.com/users/arlake228/orgs","repos_url":"https://api.github.com/users/arlake228/repos","events_url":"https://api.github.com/users/arlake228/events{/privacy}","received_events_url":"https://api.github.com/users/arlake228/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/perfsonar/bwctl/labels/Component-BWCTL","name":"Component-BWCTL","color":"ededed"},{"url":"https://api.github.com/repos/perfsonar/bwctl/labels/Estimate-Weeks","name":"Estimate-Weeks","color":"ededed"},{"url":"https://api.github.com/repos/perfsonar/bwctl/labels/Milestone-Release3.5","name":"Milestone-Release3.5","color":"ededed"},{"url":"https://api.github.com/repos/perfsonar/bwctl/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/perfsonar/bwctl/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"arlake228","id":634851,"avatar_url":"https://avatars.githubusercontent.com/u/634851?v=3","gravatar_id":"","url":"https://api.github.com/users/arlake228","html_url":"https://github.com/arlake228","followers_url":"https://api.github.com/users/arlake228/followers","following_url":"https://api.github.com/users/arlake228/following{/other_user}","gists_url":"https://api.github.com/users/arlake228/gists{/gist_id}","starred_url":"https://api.github.com/users/arlake228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlake228/subscriptions","organizations_url":"https://api.github.com/users/arlake228/orgs","repos_url":"https://api.github.com/users/arlake228/repos","events_url":"https://api.github.com/users/arlake228/events{/privacy}","received_events_url":"https://api.github.com/users/arlake228/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-03-19T00:41:41Z","updated_at":"2015-03-19T00:41:42Z","closed_at":null,"body":"_From @arlake228 on March 14, 2015 12:5_\n\nOriginal [issue 860](https://code.google.com/p/perfsonar-ps/issues/detail?id=860) created by arlake228 on 2014-03-12T16:23:18.000Z:\n\n&gt; I was chatting with Eli about an idea.\r\n&gt;\r\n&gt; Currently, one often has to wait 5 minutes for a bwctl test to run.\r\n&gt; Could we give 'interactive' tests priority in the queue over 'scheduled tests?\r\n&gt;\r\n&gt; e.g.: bwmaster could set a flag that tells the bwctld server &quot;I'm a\r\n&gt; scheduled test&quot;, and let interactive tests run before me.\r\n&gt;\r\n&gt; Would this be a fairly simple change?\r\n\r\nIt should be possible to end the session, and pass along that they were preempted so that bwctl doesn’t wait an entire iteration before trying again (i.e. it does an immediate reschedule). The big difficulty comes in the semantics of defining high and low priority, and how preemption would occur. My tentative thought are 3 levels of priority:\r\n\r\n1) low priority\r\n2) high priority\r\n3) unspecified priority\r\n\r\nThings marked as low priority could be preempted by things marked as high priority (but not unspecified priority). Bwctl’s default would either be unspecified or high priority, and when a repeated test (i.e. -I) is specified it’d default to low-priority. There’d be knobs to specify low priority, unspecified or high priority directly. Legacy clients would be “unspecified priority”, pretty much like they are now. Bwctld could get some limit options to allow specifying who can set high priority, as well as a config option to ignore it completely.\r\n\r\nIt may be on the non-trivial side to actual code these semantics into bwctld, but protocol-wise, it’s feasible.\r\n\n\n_Copied from original issue: perfsonar/project#858_"},"comment":{"url":"https://api.github.com/repos/perfsonar/bwctl/issues/comments/83237399","html_url":"https://github.com/perfsonar/bwctl/issues/2#issuecomment-83237399","issue_url":"https://api.github.com/repos/perfsonar/bwctl/issues/2","id":83237399,"user":{"login":"arlake228","id":634851,"avatar_url":"https://avatars.githubusercontent.com/u/634851?v=3","gravatar_id":"","url":"https://api.github.com/users/arlake228","html_url":"https://github.com/arlake228","followers_url":"https://api.github.com/users/arlake228/followers","following_url":"https://api.github.com/users/arlake228/following{/other_user}","gists_url":"https://api.github.com/users/arlake228/gists{/gist_id}","starred_url":"https://api.github.com/users/arlake228/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlake228/subscriptions","organizations_url":"https://api.github.com/users/arlake228/orgs","repos_url":"https://api.github.com/users/arlake228/repos","events_url":"https://api.github.com/users/arlake228/events{/privacy}","received_events_url":"https://api.github.com/users/arlake228/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T00:41:42Z","updated_at":"2015-03-19T00:41:42Z","body":"Comment [#4](https://code.google.com/p/perfsonar-ps/issues/detail?id=860#c4) originally posted by arlake228 on 2015-01-27T15:20:53.000Z:\n\n&lt;empty&gt;"}}