Hello All,
I have contrail with DPDK  up and running but i think taskset set in
"contrail-vrouter-dpdk.ini" is not considered and its using default cpu
affinity of "fff...." on compute nodes


taskset -c -p `pidof contrail-vrouter-dpdk`
pid 46767's current affinity list: 0-47

Version:

3.0.2.0-51


configuration:

cat /etc/contrail/supervisord_vrouter_files/contrail-vrouter-dpdk.ini
[program:contrail-vrouter-dpdk]
command=taskset  1,5,6,7  /usr/bin/contrail-vrouter-dpdk --no-daemon
--vr_mpls_labels 5000 --vr_flow_entries=2097152 --vdev
"eth_bond_bond1,mode=0,xmit_policy=l34,socket_id=0,mac=00:11:0a:6d:06:94,slave=0000:08:00.0,slave=0000:81:00.1"
--vlan_tci "14" --vlan_fwd_intf_name "bond1" --socket-mem 1024,1024
priority=410
autostart=True
killasgroup=True
stdout_capture_maxbytes=1MB
redirect_stderr=True
stdout_logfile=/var/log/contrail/contrail-vrouter-dpdk-stdout.log
stderr_logfile=/var/log/contrail/contrail-vrouter-dpdk-stderr.log
exitcodes=0
loglevel=debug


on Contrail.log i dont see taskset being used to start dpdk-vrouter and
hence i suppose the issue is  in "vrouter-pre-start.sh" .Could this be a
bug.

if i manually execute above command then taskset gives proper result.

Thanks for any help

Regards,
Kevin
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to