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
| #!/bin/bash | |
| # Instructions to run the script: | |
| # | |
| # 1. Create a database named sbtest in your mysql database. | |
| # 2. Change following variables according to your mysqld setup | |
| # 3. Run the script | |
| # | |
| # You can find your server socket location in path/to/your/mysqld/build/directory/data/error.log file. | |
| MYSQL_SOCKET=/mnt/storage/sajib/repos/mysql_build/mysqld.sock |
- clone mysql-server repo from github
- Download and extract appropriate boost C++ library
- Add following lines to CMakeLists.txt file if you are building using GCC otherwise bolt won't work.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-reorder-blocks-and-partition")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-reorder-blocks-and-partition")
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
| diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc | |
| index 97eae3fc7..d50450722 100644 | |
| --- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc | |
| +++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc | |
| @@ -1145,8 +1145,7 @@ CHECK_SIZE_AND_OFFSET(ipc_perm, uid); | |
| CHECK_SIZE_AND_OFFSET(ipc_perm, gid); | |
| CHECK_SIZE_AND_OFFSET(ipc_perm, cuid); | |
| CHECK_SIZE_AND_OFFSET(ipc_perm, cgid); | |
| -#if !defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21) | |
| -/* On aarch64 glibc 2.20 and earlier provided incorrect mode field. */ |
Bellow instructions are for creating a kvm guest OS(Debian) on Debian. Though the examples are based on Debian it should be same for all other distro.
-
Check if your CPU support virtualization:
grep -E --color=auto 'vmx|svm|0xc0f' /proc/cpuinfo -
Check if the host kernel support KVM:
grep CONFIG_KVM /boot/config-$(uname -r)
- DPDK Documentation
- DPDK repositories
- Building DPDK
- Understanding DPDK [SLIDES]
- Introduction to DPDK: Architecture and Principles
- Learning DPDK : Huge pages
- How do I check for hugepages usage and what is using it?
- Use DPDK to send packets between platforms
- Testing DPDK Performance and Features with TestPMD
- [NVIDIA Mellanox Bluefield-2 SmartNIC Hands-On Tutorial: “Rig for Dive” — Part VI: DPDK Performance](https://medium.com/codex/nvidia-mellanox-bluefield-