| 286 | | |
| 287 | | = Part 2 CUDA !HowTo = |
| 288 | | == 2.1 NVIDIA CUDA Example == |
| | 286 | = Part 2 Xen PCI(Express) configuration !HowTo = |
| | 287 | == 2.1 == |
| | 288 | rider@cloud:~$ lspci -vvn [[BR]] |
| | 289 | {{{ |
| | 290 | 01:00.0 0300: 10de:0605 (rev a2) ---> DEV_IDS |
| | 291 | Subsystem: 1043:82a0 |
| | 292 | Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- |
| | 293 | Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- |
| | 294 | Latency: 0, Cache Line Size: 64 bytes |
| | 295 | Interrupt: pin A routed to IRQ 16 |
| | 296 | Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M] |
| | 297 | Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M] |
| | 298 | Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M] |
| | 299 | Region 5: I/O ports at dc80 [size=128] |
| | 300 | Expansion ROM at fea00000 [disabled] [size=128K] |
| | 301 | Capabilities: <access denied> |
| | 302 | Kernel driver in use: nvidia |
| | 303 | Kernel modules: nvidia |
| | 304 | }}} |
| | 305 | rider@cloud:~$ sudo vim /etc/xen/vm01.cfg |
| | 306 | {{{ |
| | 307 | #We add a new virtual machine named "vm01". |
| | 308 | |
| | 309 | pci = |
| | 310 | ['01:00.0', '00:01.0', '00:1d.0', '00:1d.1', '00:1d.2', '00:1d.7'] |
| | 311 | }}} |
| | 312 | |
| | 313 | {{{ |
| | 314 | 01:00.0 --> PCI Express |
| | 315 | 00:01.0 --> PCI bridge: Intel Corporation 82Q35 Express PCI Express Root Port |
| | 316 | 00:1d.0 --> USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller |
| | 317 | 00:1d.1 --> USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller |
| | 318 | 00:1d.2 --> USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller |
| | 319 | 00:1d.7 --> USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller |
| | 320 | }}} |
| | 321 | |
| | 322 | = Part 3 CUDA !HowTo = |
| | 323 | == 3.1 NVIDIA CUDA Example == |