Changes between Version 69 and Version 70 of Xen_GPU_cluster


Ignore:
Timestamp:
Apr 14, 2009, 9:31:24 PM (15 years ago)
Author:
rider
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Xen_GPU_cluster

    v69 v70  
    1717
    1818== 1.1 - Basic Environment ==
     19
    1920# NVIDIA CUDA driver # [[BR]]
    2021rock@cloud:~/nvidia/cuda$ wget http://developer.download.nvidia.com/compute/cuda/2_1/drivers/NVIDIA-Linux-x86_64-180.22-pkg2.run [[BR]]
     22
    2123# NVIDIA CUDA toolkit # [[BR]]
    2224rock@cloud:~/nvidia/cuda$ wget http://developer.download.nvidia.com/compute/cuda/2_1/toolkit/cudatoolkit_2.1_linux64_ubuntu8.04.run [[BR]]
     25
    2326# NVIDIA CUDA SDK # [[BR]]
    2427rock@cloud:~/nvidia/cuda$ wget http://developer.download.nvidia.com/compute/cuda/2_1/SDK/cuda-sdk-linux-2.10.1215.2015-3233425.run [[BR]]
     
    7578
    7679== 1.2 NVIDIA Driver !HowTo !OnNoneXenKernel ==
     80
    7781# Rock said that the unknown identification of the VGA device might be the "pciids" problem. [[BR]]
    7882Sol1: [[BR]]
     
    124128}}}
    125129
    126 rock@cloud:~$ less /usr/share/misc/pci.ids | grep 9800 [[BR]]
    127 
    128 {{{
    129         0601  GeForce 9800 GT 512
    130         0604  GeForce 9800 GX2
    131         0605  GeForce 9800 GT
    132         0612  GeForce 9800 GTX
    133         0613  GeForce 9800 GTX+
    134         0614  GeForce 9800 GT
    135         0617  GeForce 9800M GTX
    136         10de  GeForce 9800M GTX
    137 }}}
    138 rock@cloud:~$ sudo /etc/X11/xorg.conf [[BR]]
     130rock@cloud:~$ sudo vim /etc/X11/xorg.conf [[BR]]
    139131{{{
    140132# Allocate the BusID for the VGA Device
     
    150142}}}
    151143
    152 rider@cloud:~$ export DISPLAY=:0
    153 rider@cloud:~$ sudo glxinfo -display :0
     144rider@cloud:~$ export DISPLAY=:0 [[BR]]
     145rider@cloud:~$ sudo glxinfo -display :0 [[BR]]
    154146{{{
    155147#It seems that the 3D accerlation works fine without any trouble.
     
    188180
    189181== 1.3 NVIDIA Driver !HowTo !OnXenKernel ==
     182
    190183''In this case,we pick the driver Ver.180.22/180.44 x86_64 for Xen_Lustre kernel.''[[BR]]
    191184# Test1- Success [[BR]]
     
    208201}}}
    209202
    210 # Test2- Testing [[BR]]
     203# Test2- Testing failure [[BR]]
    211204rider@cloud:~/nvidia/driver$ export IGNORE_XEN_PRESENCE=1 [[BR]]
    212205rider@cloud:~/nvidia/driver$ export SYSSRC=/lib/modules/2.6.22.9/source [[BR]]
     
    241234
    242235== 1.4 NVIDIA GPU !StatusCheck ==
     236
    243237rock@cloud:~$ sudo nvidia-xconfig -query-gpu-info [[BR]]
    244238{{{
     
    279273
    280274== 2.1 Xen_Kernel_config ==
     275
    281276{{{
    282277CONFIG_XEN_PCIDEV_FRONTEND=y
     
    286281CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
    287282}}}
     283
    288284== 2.2 DEV_IDs confirmation ==
     285
    289286rider@cloud:~$ sudo lspci -vvn [[BR]]
    290287{{{
     
    321318
    322319== 2.3 PCI Backend Configuration ==
     320
    323321=== 2.3.1 Binding at Boot ===
     322
    324323# Important: You'll need to unload the NVIDIA driver before setting up the pci-backend. [[BR]]
    325324rider@cloud:~$ sudo modprobe -r nvidia [[BR]]
     
    330329
    331330=== 2.3.2 Late Binding ===
     331
    332332rider@cloud:~$ sudo modprobe -r nvidia [[BR]]
    333333rider@cloud:~$ sudo vim /etc/modprobe.d/blacklist [[BR]]
     
    358358
    359359=== 2.3.3 Permissive Flag ===
     360
    360361rider@cloud:~$ sudo vim /etc/xen/xend-pci-permissive.sxp [[BR]]
    361362{{{
     
    367368
    368369=== 2.3.4 User-space Quirks ===
     370
    369371rider@cloud:~$ sudo vim /etc/xen/xend-pci-quirks.sxp [[BR]]
    370372{{{
     
    379381
    380382=== 2.3.5 PCI Frontend Configuration ===
     383
    381384rider@cloud:~$ sudo vim /etc/xen/vm01.cfg [[BR]]
    382385{{{
     
    418421install-method = debootstrap
    419422size   = 6Gb      # Disk image size.
    420 memory = 256Mb    # Memory size
     423memory = 512Mb    # Memory size
    421424swap   = 128Mb    # Swap size
    422425fs     = ext3     # use the EXT3 filesystem for the disk image.
     
    572575= Part 4 Running 3D-Applications on Xen by using Virtualizing OpenGL =
    573576
    574 == 4.1 Build VNC Server for Dom0 remote-desktop ==
     577== 4.1 Build VNC for Dom0 remote-desktop ==
    575578
    576579# Try to set the locale environment variables as you met the locale problem. [[BR]]
     
    636639}}}
    637640
    638 == 4.2 Build VNC Server for DomU remote-desktop ==
     641== 4.2 Build VNC for DomU remote-desktop ==
    639642
    640643# Try to set the locale environment variables as you met the locale problem. [[BR]]
     
    667670}}}
    668671rider@nv:~$ sudo /etc/init.d/gdm restart [[BR]]
    669 
    670 === 4.2.1 Kernel Module ===
    671 
    672 rider@nv:~$ lsmod (Make sure that the "nvidia" module is loaded) [[BR]]
    673 {{{
    674 Module                  Size  Used by
    675 nvidia               8105392  0
    676 i2c_core               24960  1 nvidia
    677 ipv6                  248936  17
    678 fuse                   43312  1
    679 }}}
    680672
    681673== 4.3 Build VMGL !HowTo ==
     
    712704lwm  -> x-window-manager for VNC
    713705}}}
     706
    714707rider@guest:~/vmgl$ wget http://www.cs.toronto.edu/~andreslc/software/vmgl-0.1.tar.bz2 [[BR]]
    715708rider@guest:~/vmgl$ tar jxvf vmgl-0.1.tar.bz2 [[BR]]
     
    723716rider@guest:~/vmgl/vmgl.hg$ make [[BR]]
    724717rider@guest:~/vmgl/vmgl.hg$ sudo make install-guest [[BR]]
     718
    725719{{{
    726720## Fix the rgb_Path problem.
     
    737731rider@cloud:~$ /usr/local/bin/stub-daemon [[BR]]
    738732rider@cloud:~$ netstat -tunlp [[BR]]
     733
    739734{{{
    740735Active Internet connections (only servers)