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
Starting 1 threads running profile:tcp-stream-1024b-1i ... 0.00 seconds | |
Txn1 0 / 1.00(s) = 0 1op/s | |
Txn2 5.92GB / 60.26(s) = 843.80Mb/s 103003op/s | |
Txn3 0 / 0.00(s) = 0 0op/s | |
------------------------------------------------------------------------------- | |
Total 5.92GB / 62.36(s) = 815.35Mb/s 99529op/s | |
Netstat statistics for this run | |
------------------------------------------------------------------------------- | |
Nic opkts/s ipkts/s obits/s ibits/s |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: uperf-master | |
spec: | |
restartPolicy: Never | |
#hostNetwork: true | |
containers: | |
- name: uperf-master | |
image: cscojianzhan/container-perf-tools |
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
Starting 1 threads running profile:tcp-rr-1024b-1i ... 0.00 seconds | |
Txn1 0 / 1.00(s) = 0 1op/s | |
Txn2 38.62GB / 60.26(s) = 5.51Gb/s 672063op/s | |
Txn3 0 / 0.00(s) = 0 0op/s | |
------------------------------------------------------------------------------- | |
Total 38.62GB / 62.36(s) = 5.32Gb/s 649403op/s | |
Netstat statistics for this run | |
------------------------------------------------------------------------------- | |
Nic opkts/s ipkts/s obits/s ibits/s |
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
Starting 8 threads running profile:tcp-rr-1024b-8i ... 0.00 seconds | |
Txn1 0 / 1.00(s) = 0 8op/s | |
Txn2 11.58GB / 60.26(s) = 1.65Gb/s 201438op/s | |
Txn3 0 / 0.00(s) = 0 0op/s | |
------------------------------------------------------------------------------- | |
Total 11.58GB / 62.36(s) = 1.59Gb/s 194646op/s | |
Netstat statistics for this run | |
------------------------------------------------------------------------------- | |
Nic opkts/s ipkts/s obits/s ibits/s |
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
# after add storage to ocp cluster, wipe storage disk on this node | |
sgdisk --zap-all /dev/nvme0n1 | |
# (echo n; echo p ; echo 1 ; echo ; echo +1200G; echo p ; echo w) | sudo fdisk /dev/nvme0n1 | |
# check ntp status | |
timedatectl | |
# if ntp not synchronized, update /etc/chrony.conf, the following entry works for me: | |
server gateway iburst | |
server clock01.util.phx2.redhat.com iburst | |
server clock02.util.phx2.redhat.com iburst |
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
###### add lv for docker vol | |
fdisk /dev/sdb | |
# n, p | |
fdisk /dev/sdc | |
# n, p | |
pvcreate /dev/sdb1 | |
pvcreate /dev/sdc1 | |
vgcreate vg_hard_drive /dev/sdb1 /dev/sdc1 | |
lvcreate -n lv_docker --size 1000G vg_hard_drive | |
mkfs.xfs -n ftype=1 /dev/vg_hard_drive/lv_docker |
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
###### on host | |
setenforce permissive | |
export PATH=$PATH:/usr/local/share/openvswitch/scripts | |
export DB_SOCK=/usr/local/var/run/openvswitch/db.sock | |
ovs-ctl --no-ovs-vswitchd --system-id=random start | |
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true | |
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024,1024" | |
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=0x10000 | |
ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=0xfe0000 | |
ovs-ctl --no-ovsdb-server --db-sock="$DB_SOCK" start |
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
#### on host | |
ovs-vsctl set open . external-id:ovn-remote="unix:/usr/local/var/run/ovn/ovnsb_db.sock" | |
ovs-vsctl set open . external-id:ovn-encap-type=geneve | |
ovs-vsctl set open . external-id:ovn-encap-ip=127.0.0.1 | |
ovs-vsctl set open . external-id:system-id=test | |
podman run --rm -it --privileged --net=host -v /var/run/openvswitch:/usr/local/var/run/openvswitch ovn-image sh | |
#### inide container |
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 CPU stress | |
[root@compute-0 ~]# cpupower monitor | |
|Nehalem || Mperf || Idle_Stats | |
PKG |CORE|CPU | C3 | C6 | PC3 | PC6 || C0 | Cx | Freq || POLL | C1-S | C1E- | C6-S | |
0| 0| 0| 0.00| 58.78| 0.00| 0.00|| 1.59| 98.41| 2393|| 0.00| 0.09| 0.94| 97.48 | |
0| 1| 4| 0.00| 99.88| 0.00| 0.00|| 0.01| 99.99| 1427|| 0.00| 0.00| 0.00|100.00 | |
0| 2| 8| 0.00| 99.89| 0.00| 0.00|| 0.01| 99.99| 1425|| 0.00| 0.00| 0.00|100.00 | |
0| 3| 12| 0.00| 99.91| 0.00| 0.00|| 0.01| 99.99| 2755|| 0.00| 0.00| 0.00| 99.99 | |
0| 4| 10| 0.00| 99.89| 0.00| 0.00|| 0.01| 99.99| 1597|| 0.00| 0.00| 0.00| 99.99 | |
0| 5| 6| 0.00| 99.89| 0.00| 0.00|| 0.01| 99.99| 1605|| 0.00| 0.00| 0.00|100.00 |
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 CPU stressed, @2600 mhz | |
[root@compute-0 ~]# cpupower monitor | |
|Nehalem || Mperf || Idle_Stats | |
PKG |CORE|CPU | C3 | C6 | PC3 | PC6 || C0 | Cx | Freq || POLL | C1-S | C1E- | C6-S | |
0| 0| 0| 0.00| 0.00| 0.00| 0.00|| 11.36| 88.64| 2338|| 0.00| 0.00| 3.29| 85.56 | |
0| 1| 4| 0.00| 99.60| 0.00| 0.00|| 0.01| 99.99| 1001|| 0.00| 0.00| 0.04| 99.95 | |
0| 2| 8| 0.00| 99.61| 0.00| 0.00|| 0.01| 99.99| 1004|| 0.00| 0.00| 0.04| 99.95 | |
0| 3| 12| 0.00| 99.62| 0.00| 0.00|| 0.01| 99.99| 1000|| 0.00| 0.00| 0.04| 99.95 | |
0| 4| 10| 0.00| 99.61| 0.00| 0.00|| 0.01| 99.99| 998|| 0.00| 0.00| 0.04| 99.95 | |
0| 5| 6| 0.00| 99.60| 0.00| 0.00|| 0.01| 99.99| 1003|| 0.00| 0.00| 0.04| 99.95 |