Open GoogleCodeExporter opened 9 years ago
Another use case for this feature:
The GPU bots in Chromium's Swarming pool are all quite homogeneous; for example, the "Linux NVIDIA" configuration all has exactly the same type of NVIDIA GPU.
At some point it will almost surely be necessary to switch out the GPUs in one of these configurations.
In order to transition smoothly, it will be necessary to upgrade some or all of these machines in-place. This means that for a brief period of time, we will want jobs for "Linux NVIDIA" to go to either the GPU with PCI ID 0xAAAA or ID 0xBBBB.
Right now the swarming tags only allow specification of the gpu dimension as "10de:aaaa", for example. We'd like to be able to say for these jobs "--dimension gpu (10de:aaaa, 10de:bbbb)" or equivalent.
FWIW, this can be solved by adding a common dimension to both pools, e.g. gpu:linux_nvidia, and requesting that in the tasks. This is similar to how e.g. os:Mac is common to all specific os dimensions.
On Tue, Apr 19, 2016 at 2:12 PM Ken Russell notifications@github.com wrote:
Another use case for this feature:
The GPU bots in Chromium's Swarming pool are all quite homogeneous; for example, the "Linux NVIDIA" configuration all has exactly the same type of NVIDIA GPU.
At some point it will almost surely be necessary to switch out the GPUs in one of these configurations.
In order to transition smoothly, it will be necessary to upgrade some or all of these machines in-place. This means that for a brief period of time, we will want jobs for "Linux NVIDIA" to go to either the GPU with PCI ID 0xAAAA or ID 0xBBBB.
Right now the swarming tags only allow specification of the gpu dimension as "10de:aaaa", for example. We'd like to be able to say for these jobs "--dimension gpu (10de:aaaa, 10de:bbbb)" or equivalent.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/luci/luci-py/issues/143#issuecomment-212131963
I'd prefer that too because.
Just added a check to swarmbucket that dimension keys are unique
On Wed, Apr 20, 2016, 3:43 PM sergeyberezin notifications@github.com wrote:
FWIW, this can be solved by adding a common dimension to both pools, e.g. gpu:linux_nvidia, and requesting that in the tasks. This is similar to how e.g. os:Mac is common to all specific os dimensions.
On Tue, Apr 19, 2016 at 2:12 PM Ken Russell notifications@github.com wrote:
Another use case for this feature:
The GPU bots in Chromium's Swarming pool are all quite homogeneous; for example, the "Linux NVIDIA" configuration all has exactly the same type of NVIDIA GPU.
At some point it will almost surely be necessary to switch out the GPUs in one of these configurations.
In order to transition smoothly, it will be necessary to upgrade some or all of these machines in-place. This means that for a brief period of time, we will want jobs for "Linux NVIDIA" to go to either the GPU with PCI ID 0xAAAA or ID 0xBBBB.
Right now the swarming tags only allow specification of the gpu dimension as "10de:aaaa", for example. We'd like to be able to say for these jobs "--dimension gpu (10de:aaaa, 10de:bbbb)" or equivalent.
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/luci/luci-py/issues/143#issuecomment-212131963
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/luci/luci-py/issues/143#issuecomment-212641263
Thanks for the suggestions. I just found that the GPU vendor irrespective of GPU device is already there, so "--dimension gpu 10de" already works. Never mind my particular use case, since it's already supported.
Original issue reported on code.google.com by
maruel@chromium.org
on 15 Aug 2014 at 4:04