We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这2项默认都是0,脚本没有设置
cat /sys/class/net/eth0/queues/rx-0/rps_flow_cnt 0
sysctl -a|grep net.core.rps_sock_flow_entries net.core.rps_sock_flow_entries = 0
还有就是判断开启rps条件
if [[ ! $HW_QUEUES == $CORES ]]; then
改成
if [[ $HW_QUEUES -lt $CORES ]]; then
是否更恰当?
The text was updated successfully, but these errors were encountered:
RPS是为了软中断均衡,RFS是为了提高cache命中率,这个其实就是fastsocket要解决的。
个人认为使用Fastsocket时,关闭这两个为好。
你可以发个pull request看看
Sorry, something went wrong.
No branches or pull requests
这2项默认都是0,脚本没有设置
cat /sys/class/net/eth0/queues/rx-0/rps_flow_cnt
0
sysctl -a|grep net.core.rps_sock_flow_entries
net.core.rps_sock_flow_entries = 0
还有就是判断开启rps条件
if [[ ! $HW_QUEUES == $CORES ]]; then
改成
if [[ $HW_QUEUES -lt $CORES ]]; then
是否更恰当?
The text was updated successfully, but these errors were encountered: