| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-cyborg - 2019-03-18 | |||
| 15:04:25 | openstack | The meeting name has been set to 'openstack_cyborg_driver' | |
| 15:04:39 | shaohe_feng_ | let waits for a minutes. | |
| 15:05:39 | shaohe_feng_ | #info shaohe_feng_ | |
| 15:05:40 | wangzhh | Fine. | |
| 15:06:03 | xinranwang | Hi all | |
| 15:06:07 | wangzhh | Hi xinran. | |
| 15:06:11 | xinranwang | Sorry for late | |
| 15:06:16 | xinranwang | #info xinranwang | |
| 15:06:19 | shaohe_feng_ | evening xinranwang | |
| 15:06:24 | wangzhh | #info wangzhh | |
| 15:06:35 | xinranwang | hi shaohe_feng_ wangzhh | |
| 15:06:53 | shaohe_feng_ | we have not hold this meeting for a long time. | |
| 15:07:24 | shaohe_feng_ | #link https://wiki.openstack.org/wiki/Meetings/CyborgDriverTeamMeeting#Agenda_for_next_meeting_:_Mar_18th.2C_2019 | |
| 15:07:28 | shaohe_feng_ | here is the agent. | |
| 15:07:50 | shaohe_feng_ | s/agent/agenda | |
| 15:07:57 | Li_Liu | Hi Gyus | |
| 15:08:04 | wangzhh | Hi, uncle Li. | |
| 15:08:16 | shaohe_feng_ | Li_Liu: morning uncle Li. | |
| 15:08:19 | Li_Liu | Hi, xiaohei~~ | |
| 15:08:28 | Li_Liu | hi shaohe | |
| 15:08:38 | shaohe_feng_ | I want to introduce some some hardware accelerators. | |
| 15:08:38 | Li_Liu | you guys wanna do a zoom meeting instead? | |
| 15:09:10 | shaohe_feng_ | 1. the current know type of accelerator card | |
| 15:09:45 | shaohe_feng_ | as we all know cyborg will support mdev and pci card. | |
| 15:10:11 | shaohe_feng_ | but now I find there are 2 other kinds of hardware card we can support. | |
| 15:10:35 | shaohe_feng_ | one is ip over PCIE, another is USB. | |
| 15:10:47 | Li_Liu | i see | |
| 15:11:06 | shaohe_feng_ | wangzhh: do you know these two kind cards? | |
| 15:11:08 | Li_Liu | can they fit into our current design? | |
| 15:11:29 | shaohe_feng_ | not sure, so we need more discuss with them. | |
| 15:11:56 | wangzhh | I don't know much about ip over pcie, what does that mean? | |
| 15:12:29 | Li_Liu | I think it's a remote case | |
| 15:12:55 | Li_Liu | PCI over ethernet? | |
| 15:13:14 | shaohe_feng_ | Li_Liu: yes. | |
| 15:13:43 | shaohe_feng_ | #link https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/vca-2-visual-compute-accelerator-product-brief.pdf | |
| 15:13:53 | shaohe_feng_ | Li_Liu: No, IP over pci. | |
| 15:14:05 | Li_Liu | from Operation System point of view, it's still a pci device right? | |
| 15:14:45 | shaohe_feng_ | Li_Liu: is it s pci devices, but you communicate with it by it. | |
| 15:14:52 | shaohe_feng_ | Li_Liu: it is a local pci card. | |
| 15:15:16 | shaohe_feng_ | such as the vca2 card, see link above, | |
| 15:15:34 | Li_Liu | you mean other hosts can communicate with it over ethernet? | |
| 15:16:29 | wangzhh | So, actually, it is a pci device? | |
| 15:16:31 | shaohe_feng_ | oh, the local host communicate the local card, over PCIE. | |
| 15:16:49 | wangzhh | from os view. | |
| 15:17:50 | shaohe_feng_ | wangzhh: from the os view, you can see it a new kind device with new driver maybe. | |
| 15:18:18 | shaohe_feng_ | there's another card I have attend meeting last week, seem this is a common way for some card. | |
| 15:18:58 | shaohe_feng_ | we can dig more about this kind of card. | |
| 15:19:52 | shaohe_feng_ | for usb card, the movidius AI card is this kind. | |
| 15:20:10 | Li_Liu | I think we just need to make sure 2 things: 1. can os-acc attach it like all the other devices, 2. can the resource fit into our current data model | |
| 15:20:53 | shaohe_feng_ | yes. | |
| 15:20:55 | Li_Liu | as long as these two requirements can meet, we should be good | |
| 15:21:26 | wangzhh | It make sense. | |
| 15:21:48 | shaohe_feng_ | I think the usb devices can satisfy these two requirements. | |
| 15:22:01 | Li_Liu | shaohe_feng_ have they finalize the resource structure yet? | |
| 15:23:10 | shaohe_feng_ | Li_Liu: usb, yes. | |
| 15:23:31 | wangzhh | How about another one? | |
| 15:23:31 | shaohe_feng_ | just remind these 2 kind devices. | |
| 15:24:20 | shaohe_feng_ | wangzhh: I'm not looking into looking into it well. | |
| 15:24:35 | shaohe_feng_ | OK, let's go ahead. | |
| 15:24:48 | wangzhh | OK. | |
| 15:24:52 | shaohe_feng_ | Re-enumeration of hardware card | |
| 15:25:17 | shaohe_feng_ | most of us know the issue of Re-enumeration. | |
| 15:25:52 | Li_Liu | the issue we discussed last week? | |
| 15:26:16 | shaohe_feng_ | no, but this is a common issue. | |
| 15:26:43 | shaohe_feng_ | the bus of a hardware card maybe change after we resize a hardware and reboot. | |
| 15:27:12 | shaohe_feng_ | seem this is a big problem for accelerator manage in cyborg. | |
| 15:28:01 | shaohe_feng_ | I have discuss it with Yongli, the main PCI devices contributor in nova. | |
| 15:28:29 | shaohe_feng_ | he say, nova does not allow resize hardware | |
| 15:29:35 | Li_Liu | you mean add/remove device after reboot? | |
| 15:29:54 | shaohe_feng_ | yes | |
| 15:30:04 | shaohe_feng_ | unless evict all VMs from this node. | |
| 15:30:30 | shaohe_feng_ | Li_Liu: wangzhh: xinranwang: what's do you think about? | |
| 15:31:00 | shaohe_feng_ | Or do you have a good ideas for hardware resize? | |
| 15:31:33 | wangzhh | Wuu, IMO, it's better to change status to error or offline in cyborg. | |
| 15:31:58 | wangzhh | And let operator sync it manaully. | |
| 15:32:17 | Li_Liu | Let's say before restart we have 3 cards, after restart we now have 4 cards | |
| 15:32:44 | Li_Liu | I think driver can find out which one is the new one right? | |
| 15:32:47 | wangzhh | We can supply a tool or api for operator to update it. | |
| 15:32:50 | xinranwang | If we plug in a new card on server, and reboot. But the hw resource assigned to an instance does not change. | |
| 15:33:17 | xinranwang | will the bdf change? if so, that should be an issue. | |
| 15:33:20 | wangzhh | Li_liu, as xinran said. | |
| 15:33:57 | Li_Liu | the bdf might change, but we don't need to guarantee give user the card with the same bdf | |
| 15:34:12 | shaohe_feng_ | the bdf maybe change, bus-port of a usb devices also maybe change. | |
| 15:34:18 | Li_Liu | just give user the card with the same type | |
| 15:35:27 | wangzhh | The most tricky thing is how to handle the resource which had been assinged. | |
| 15:36:18 | xinranwang | if user has done some work on old hw, that will be a loss. | |
| 15:37:12 | Li_Liu | in that case, operator has to notify the user to backup first | |
| 15:37:35 | Li_Liu | size operator should know when the resizing is happening | |
| 15:37:44 | Li_Liu | since* | |
| 15:38:50 | Li_Liu | In 99% of the scenarios tho, I don't think it matters anyway | |
| 15:38:57 | wangzhh | What about power failure? | |
| 15:39:28 | Li_Liu | if power failure happen, the device should not be resized right? | |
| 15:39:28 | xinranwang | how will nova record the hw resource from cyborg, there should be a field of nova instance to record this. is this attach_handle_uuid? | |
| 15:40:56 | shaohe_feng_ | if you hotplug in a hardware before failure happen, the things is also bad. | |
| 15:42:33 | wangzhh | Li, If we just reboot the server, the bus wont't change? | |
| 15:42:43 | wangzhh | *won't | |
| 15:43:03 | Li_Liu | lol... as I said.. if operator wants to do this... he/she needs to notify users... | |
| 15:43:14 | shaohe_feng_ | if you do not resize hardware, the bus wont't change. | |
| 15:43:16 | shaohe_feng_ | Li_Liu: yes. | |
| 15:43:31 | xinranwang | wangzhh: no, it will not change | |