-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCentOS_ChelsioDPDK.txt
62 lines (45 loc) · 2.42 KB
/
CentOS_ChelsioDPDK.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Add some top level guidelines of the rough procedure, so that you can document your notes in the proper order
<pseudocode>
Install OS
Configure Huge Tables
Install Network Driver for 10gbps card
Install dpdk libraries
Bind network to dpdk
Install Seastar, configure it, verify it
Install Scylla
<pseudocode>
Install CentOS 7
The Chelsio Network driver is automatically installed
todo: try the minimal install
todo: how to uninstall and install the latest chelsio drivers
cxgbe PMD Installation
http://dpdk.org/doc/guides-16.04/nics/cxgbe.html#linux-installation
To check if kernel supports HUGEPages, HUGETLB Support ?
grep HUGETLB /boot/config-$(uname -r)
Userful Tools:
sar -r
The next step is to install the DPDK drivers and the associated configuration
Start the process from this link onwards... and follow the directions including the respective verifications
http://people.redhat.com/~pmatilai/dpdk-guide/setup/installing.html
http://pseudo.co.de/dpdk-on-an-intel-nuc/#binding-dpdk
#Huge Pages prevent memory in these pages, to be paged to disk, so it is a big advantage
as root, open the file /etc/default/grub
#Either, append the following line to GRUB_CMDLINE_LINUX env. variable, if the cpu supports 1GB Huge Pages
default_hugepagesz=1GB hugepagesz=1G hugepages=4 intel_iommu=on
#or, append the following line, if the CPU supports 2M HUGE PAGES
default_hugepagesz=2M hugepagesz=2M hugepages=512 intel_iommu=on"
#Recompile grub to save setting, and then reboot
r$ grub2-mkconfig -o /boot/grub2/grub.cfg
Understanding the deploying Huge Pages:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Tuning_and_Optimization_Guide/sect-Virtualization_Tuning_Optimization_Guide-Memory-Tuning.html
# Building Seastar on CentOS
https://github.com/scylladb/seastar/blob/master/doc/building-centos.md
# Page used to install scylla
http://www.scylladb.com/doc/getting-started-rpm/
# Identify the current centos release, as scylla needs a minimum of CentOS 7.2
r$ rpm --query centos-release
# Add scylla repo to yum repos, so that the right scylla can be installed... change version according to needs
r$ sudo wget -O /etc/yum.repos.d/scylla.repo http://downloads.scylladb.com/rpm/centos/scylla-1.3.repo
#Install Scylla (this installs a host of scylla software like jmx, server, conf, kernel-conf, tools, etc.,)
# This should also install PyYAML, collectd, hwloc, jsoncpp, lz4, thrift
r$ sudo yum install scylla