Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README: Add explicit cmdline to disable XPS #6

Merged
merged 1 commit into from
Oct 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ The basic components (in TC MQ-setup [[file:bin/tc_mq_htb_setup_example.sh][exam
For this project to work disable XPS (Transmit Packet Steering). A script for
configuring and disabling XPS is provided here: [[file:bin/xps_setup.sh]].

Script command line to disable XPS:
#+begin_src sh
sudo ./bin/xps_setup.sh --dev DEVICE --default --disable
#+end_src

The reason is that XPS (Transmit Packet Steering) takes precedence over setting
=skb->queue_mapping= used by TC BPF-prog. XPS is configured per DEVICE via
=/sys/class/net/DEVICE/queues/tx-*/xps_cpus= via a CPU hex mask. To disable set
Expand Down