Re: net_device: limit rate ot tx packets

2013-04-14 Thread michi1
Hi! On 14:11 Sat 13 Apr , christian...@wwad.de wrote: Hi All, can someone please explain me, how the kernel handles different transfer rates of different net_devices? Or in other words: How does the systemcall send() know, when to block? An example: cat /dev/zero | pv | nc -u

Re: net_device: limit rate ot tx packets

2013-04-14 Thread Valdis . Kletnieks
On Sun, 14 Apr 2013 10:09:54 +0200, mic...@michaelblizek.twilightparadox.com said: This is not what I meant. When the qdisc has a size of say 256KB and the socket memory is, say 128kb, the socket memory limit will be reached before the qdisc limit and the socket will sleep. But when the