Skip to main content
6 votes
Accepted

How much data transferred per user via SSH over time period

A good question i found a view answers: How to measure bandwidth of SSH connection iftop -i "$iface" -nPf "tcp and port $sport and port $dport" Where $iface is the interface the ...
ReflectYourCharacter's user avatar
5 votes
Accepted

queueing in linux-htb

I am going to answer my own question since I have done some source code reading and research work myself. If I had not done some research work myself, the answers by frostschutz and sourcejedi would ...
sbhTWR's user avatar
  • 103
4 votes

Has 10 Gbps through Linux tc qdiscs ever been solved?

This is due to the qdisc locking problem (it sticks to one CPU core by default). The known solutions are XDP-redirect, XPS, and HTB offload. The XDP-redirect solution is xdp-cpumap-tc which creates an ...
lutelife's user avatar
3 votes

queueing in linux-htb

Disclaimer: Those are a lot of questions and I haven't used HTB in like a decade? So I can't answer with confidence. But since you got zero replies so far, maybe this is still of some help. Are ...
frostschutz's user avatar
  • 52.1k
3 votes
Accepted

How to delay traffic and limit bandwidth at the same time with tc (Traffic Control)?

Perhaps the netem emulator : tc qdisc add dev eth0 root netem delay 800ms rate 1mbit
Frédéric Loyer's user avatar
3 votes

How does a htb qdesc tree handle bandwidth overallocation?

The general recommendation with HTB is to make sure that "the sum of the rates of the child class is equal or smaller than the rate of the parent". If the child classes allow higher rates, ...
frostschutz's user avatar
  • 52.1k
2 votes

Traffic shaping ineffective on tun device

I just would like to let you know that I noticed the same issue but independently of you, in my case it was the bad performance of TUN applications like VPNs. With my colleague I wrote a scientific ...
Simon Schippers's user avatar
2 votes
Accepted

Traffic shaping with PPP: which external device should I use?

Almost certainly ppp0, since that's the thing you want to shape. eth0, if directed to a DSL modem (not router) directly, will either remain unused (merely a transport for ppp0), or it could also be a ...
frostschutz's user avatar
  • 52.1k
2 votes
Accepted

Traffic shaping using tc-netem on macvlan

Your issue is related to how routing is done, not to tc, netem or macvlan. When reaching from an IP address belonging to the host an other IP address belonging to the host, the route uses the lo (...
A.B's user avatar
  • 39.5k
1 vote

queueing in linux-htb

Some quick searches based on vague memories: HTB is flexible. By default I think you get a FIFO for each leaf class, maybe it uses the default configuration for FIFO. However you can also e.g. use ...
sourcejedi's user avatar
  • 53.5k
1 vote

Confirm and/or remove a possible traffic shaping setting

It is not probably traffic shapping. A emulated VM is not able to generated too much traffic if the NIC is emulated instead of paravirtualized. (like 10 times less traffic when emulated) Install ...
Rui F Ribeiro's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible