mic_overview.txt 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. An Intel MIC X100 device is a PCIe form factor add-in coprocessor
  2. card based on the Intel Many Integrated Core (MIC) architecture
  3. that runs a Linux OS. It is a PCIe endpoint in a platform and therefore
  4. implements the three required standard address spaces i.e. configuration,
  5. memory and I/O. The host OS loads a device driver as is typical for
  6. PCIe devices. The card itself runs a bootstrap after reset that
  7. transfers control to the card OS downloaded from the host driver. The
  8. host driver supports OSPM suspend and resume operations. It shuts down
  9. the card during suspend and reboots the card OS during resume.
  10. The card OS as shipped by Intel is a Linux kernel with modifications
  11. for the X100 devices.
  12. Since it is a PCIe card, it does not have the ability to host hardware
  13. devices for networking, storage and console. We provide these devices
  14. on X100 coprocessors thus enabling a self-bootable equivalent environment
  15. for applications. A key benefit of our solution is that it leverages
  16. the standard virtio framework for network, disk and console devices,
  17. though in our case the virtio framework is used across a PCIe bus.
  18. Here is a block diagram of the various components described above. The
  19. virtio backends are situated on the host rather than the card given better
  20. single threaded performance for the host compared to MIC, the ability of
  21. the host to initiate DMA's to/from the card using the MIC DMA engine and
  22. the fact that the virtio block storage backend can only be on the host.
  23. |
  24. +----------+ | +----------+
  25. | Card OS | | | Host OS |
  26. +----------+ | +----------+
  27. |
  28. +-------+ +--------+ +------+ | +---------+ +--------+ +--------+
  29. | Virtio| |Virtio | |Virtio| | |Virtio | |Virtio | |Virtio |
  30. | Net | |Console | |Block | | |Net | |Console | |Block |
  31. | Driver| |Driver | |Driver| | |backend | |backend | |backend |
  32. +-------+ +--------+ +------+ | +---------+ +--------+ +--------+
  33. | | | | | | |
  34. | | | |User | | |
  35. | | | |------|------------|---------|-------
  36. +-------------------+ |Kernel +--------------------------+
  37. | | | Virtio over PCIe IOCTLs |
  38. | | +--------------------------+
  39. +--------------+ | |
  40. |Intel MIC | | +---------------+
  41. |Card Driver | | |Intel MIC |
  42. +--------------+ | |Host Driver |
  43. | | +---------------+
  44. | | |
  45. +-------------------------------------------------------------+
  46. | |
  47. | PCIe Bus |
  48. +-------------------------------------------------------------+