This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NIC: | |
| ----------------------------------------------------------------- | |
| 1) cat /sys/class/net/[interface]/device/numa_node | |
| [interface] = eth6 ... | |
| eth6 eth7 -> node 1 | |
| eth8 eth9 -> node 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| For example: | |
| ./bandwidthTest: error while loading shared libraries: | |
| libcudart.so.4: cannot open shared object file: | |
| No such file or directory | |
| sudo ldconfig /usr/local/cuda/lib64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find /lib/modules/`uname -r` -name '*.ko' | grep nvidia | |
| modinfo /lib/modules/3.13.0-35-generic/updates/dkms/nvidia_331.ko | |
| modinfo nvidia | |
| sudo dkms install -m nvidia -v 340.29 -k $(uname -r) | |
| http://stackoverflow.com/questions/23067320/no-cuda-capable-device-is-detected-using-ubuntu-12-04-4-server | |
| https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo tlmgr install [subfigure] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) Disable Logical Processor in the BIOS | |
| 2) unload the acpi_pad module by running “rmmod acpi_pad” | |
| 3) Use a kernel parameter at boot time to prevent acpi_pad module from loading on server boot up. Append “acpi_pad.disable=1” to the kernel line | |
| For Ubuntu: | |
| http://askubuntu.com/questions/160036/how-do-i-disable-acpi-when-booting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/src/linux-headers-3.13.0-30-generic/include | |
| sudo ln -s /usr/src/linux-headers-3.13.0-30/arch/x86/include/asm ./asm | |
| sudo ln -s /usr/src/linux-headers-3.13.0-30/arch/x86/include/uapi ./uapi | |
| /usr/src/linux-headers-3.13.0-30/arch/x86/include/uapi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ethtool -C eth1 rx-usecs 0 | |
| ++ Check which node the device belongs to ++ | |
| cat /sys/class/net/xge1/device/numa_node | |
| cat /sys/class/net/xge1/device/local_cpus |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export RTE_SDK=~/dpdk-1.7.1 | |
| export RTE_TARGET=x86_64-native-linuxapp-gcc | |
| sudo ./build/l2fwd -c f -n 1 -- -q 1 -p 1 | |
| sudo ./build/rx -c f -n 1 -- -q 1 -p 1 | |
| sudo ./build/tx -c f -n 1 -- -q 1 -p 1 | |
| sudo ./build/rt -c f -n 1 -- -q 1 -p 1 | |
| sudo ./build/tx -c 0x2 -n 1 --file-prefix p2 -m 64 -- -q 1 -p 1 | |
| sudo ./build/rx -c 0x1 -n 1 --file-prefix p1 -m 64 -- -q 1 -p 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| python -m pdb myscript.py arg1 arg2 ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get --purge remove nvidia-* | |
| sudo add-apt-repository ppa:ubuntu-x-swat/x-updates | |
| sudo apt-get update | |
| sudo apt-get install nvidia-current nvidia-settings |