TSG-7335 重新调整TSG-9140上CPU核心的分配
This commit is contained in:
@@ -32,7 +32,7 @@ mrzcpd:
|
||||
nic_to_tfe: eth_vf_kni
|
||||
nic_mirr: eth_vf_mirr
|
||||
service:
|
||||
iocore: 52,53,54,55
|
||||
iocore: 1,2,3,4
|
||||
prefix_path: /opt/tsg/mrzcpd
|
||||
|
||||
sapp:
|
||||
@@ -45,7 +45,7 @@ sapp:
|
||||
CPU:
|
||||
worker_threads: 43
|
||||
send_only_threads_max: 0
|
||||
bind_mask: 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
|
||||
bind_mask: 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
|
||||
PACKET_IO:
|
||||
packet_io_internal_interface:
|
||||
name: eth_vf_raw
|
||||
|
||||
@@ -6,8 +6,8 @@ STA="$2"
|
||||
if [ "$INF" == "eth_vf_tfe" ]
|
||||
then
|
||||
logger "$0: Interface $INF with $STA ,Set $INF RPS ..."
|
||||
echo 000000,000001fe > /sys/class/net/eth_vf_tfe/queues/rx-0/rps_cpus
|
||||
echo 000000,000001fe > /sys/class/net/eth_vf_tfe/queues/rx-1/rps_cpus
|
||||
echo 000000,000001fe > /sys/class/net/eth_vf_tfe/queues/rx-2/rps_cpus
|
||||
echo 000000,000001fe > /sys/class/net/eth_vf_tfe/queues/rx-3/rps_cpus
|
||||
echo ff0000,00000000 > /sys/class/net/eth_vf_tfe/queues/rx-0/rps_cpus
|
||||
echo ff0000,00000000 > /sys/class/net/eth_vf_tfe/queues/rx-1/rps_cpus
|
||||
echo ff0000,00000000 > /sys/class/net/eth_vf_tfe/queues/rx-2/rps_cpus
|
||||
echo ff0000,00000000 > /sys/class/net/eth_vf_tfe/queues/rx-3/rps_cpus
|
||||
fi
|
||||
@@ -36,7 +36,7 @@ breakpad_upload_tools=/opt/tsg/framework/bin/minidump_upload
|
||||
# the first mask for acceptor thread
|
||||
# the others mask for worker thread
|
||||
enable_cpu_affinity={{ tfe.tfe_conf.system.enable_cpu_affinity }}
|
||||
cpu_affinity_mask=1-8
|
||||
cpu_affinity_mask=48-55
|
||||
|
||||
# LEAST_CONN = 0; ROUND_ROBIN = 1
|
||||
load_balance=1
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
PROFILE_ID := 9000-NPB-P01R01
|
||||
SUPPORTED_MACHINE_ID := 9000-NPB-P01R01
|
||||
KERNEL_ARGS := console=ttyS0,115200n8 crashkernel=512M default_hugepagesz=1G hugepagesz=1G hugepages=16 intel_iommu=on iommu=pt mitigations=off pci=realloc,assign-busses psi=1 isolcpus=1,9-55
|
||||
KERNEL_ARGS := console=ttyS0,115200n8 crashkernel=512M default_hugepagesz=1G hugepagesz=1G hugepages=16 intel_iommu=on iommu=pt mitigations=off pci=realloc,assign-busses psi=1 isolcpus=1-47
|
||||
GRUB_SERIAL_COMMAND :=
|
||||
SIZE_PART_SYSROOT := 16384M
|
||||
SIZE_PART_UPDATE := 16384M
|
||||
|
||||
Reference in New Issue
Block a user