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

rss-ladder issues in Ubuntu 12.04 and 16.04 #98

Closed
2 tasks done
sergey-dryabzhinsky opened this issue Jun 27, 2017 · 5 comments
Closed
2 tasks done

rss-ladder issues in Ubuntu 12.04 and 16.04 #98

sergey-dryabzhinsky opened this issue Jun 27, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@sergey-dryabzhinsky
Copy link

sergey-dryabzhinsky commented Jun 27, 2017

Probably connected with #91

Ubuntu 12.04

TERM=screen-bce
LANG=en_US.UTF-8
LANGUAGE=en_US:en
# rss-ladder eth1 0
- distribute interrupts of eth1 (-rx-) on socket 0
lscpu: unrecognized option '--extended=CPU,SOCKET'

Ubuntu 16.04.2

TERM=xterm (xfce-terminal)
LANG=ru_RU.UTF-8
LANGUAGE=ru_RU:ru:en
# rss-ladder eth1 0
- distribute interrupts of eth1 (-rx-) on socket 0
  - eth1: irq 128 1572865-edge -> eth1-rx-0
/usr/local/bin/rss-ladder: строка 80: echo: ошибка записи: Недопустимый аргумент

  • 12.04
  • 16.04
@strizhechenko
Copy link
Owner

Hello!

12.04 issue is fixed in 2.0.5 version: #96

@strizhechenko strizhechenko self-assigned this Jun 28, 2017
@strizhechenko strizhechenko added this to the 2.0.10 milestone Jun 28, 2017
@sergey-dryabzhinsky
Copy link
Author

Something wrong with number of cpu cores detection:

# rss-ladder eth1 0
- distribute interrupts of eth1 (-rx-) on socket 0
  - eth1: irq 46 eth1-rx-0 -> 0
- distribute interrupts of eth1 (-tx-) on socket 0
  - eth1: irq 47 eth1-tx-0 -> 0

# grep -P 'cores|siblings' /proc/cpuinfo | sort -u
cpu cores       : 2
siblings        : 2

Or network cart / driver not capable?

@strizhechenko
Copy link
Owner

strizhechenko commented Jun 28, 2017

This problem is described here:
#8

Your network card is capable, but this is beyond rss-ladder's duty I think.

Also, I just got an interesting idea. If you have router with 2 similar network cards, you can bind queues to cpus this way:

  • eth1-rx - cpu0
  • eth1-tx - cpu1
  • ethX-rx - cpu1
  • ethX-tx - cpu0

It should increase the cache hit rate of packets forwarding :)

@sergey-dryabzhinsky
Copy link
Author

That interesting. I really have such router.

@strizhechenko
Copy link
Owner

I think we can close this issue with wontfix)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants