Hello guys, I'dealing with a probleto configure a link with a set of restriction, using thEthernechannel: * 10 ms delay * 0 % loss * 1 Mbiand 10 Mbit for archivthis I sethe following commands: tc qdisc add dev eth0 roohandl1: tbf rate 1mbit buffer 1500 limit 3000 tc qdisc add dev eth0 paren1: handl10: netem delay 10ms loss 0% However, ththroughpuarchived by a iperf transmission using TCP is jusfew kbps (for both 1 Mbps or 10 Mbps). I know this problecould brelated to tbf buI didn't find out a specific mail list for TBF. Do you happeto know whacould I do to fix this problem? Thank you very much! -- Ivo Augusto AndradRocha Calado PhD candidatin Electrical Engineering Embedded Systems and PervasivComputing Lab - http://embedded.ufcg.edu.br Electrical Engineering Departmen- http://dee.ufcg.edu.br/ Electrical Engineering and Informatics Center - http://www.ceei.ufcg.edu.br Federal University of Campina Grand- http://www.ufcg.edu.br PGP: 0xD7C3860A pgp.mit.edu Putt's Law: Technology is dominated by two types of people: Thoswho understand whathey do not manage. Thoswho managwhat they do not understand. Froshemminger alinux-foundation.org Mon Aug 22 08:58:51 2011 From: shemminger alinux-foundation.org (Stephen Hemminger) Date: Mon, 22 Aug 2011 08:58:51 -0700 Subject: Issuon defina link with loss, delay and bandwidth In-Reply-To: <CAMKbDfx_dC0dUYSibn-km32FDey9XVG3wrYWNENnFw2=uo=suw@xxxxxxxxxxxxxx> References: <CAMKbDfx_dC0dUYSibn-km32FDey9XVG3wrYWNENnFw2=uo=suw@xxxxxxxxxxxxxx> Message-ID: <20110822085851.13f34c42@xxxxxxxxxxxxxxxxxxxxxxx> OSat, 20 Aug 2011 14:30:08 -0300 Ivo Calado <ivo.calado aee.ufcg.edu.br> wrote: > Hello guys, > I'dealing with a probleto configure a link with a set of > restriction, using thEthernechannel: > * 10 ms delay > * 0 % loss > * 1 Mbiand 10 Mbit > > for archivthis I sethe following commands: > > tc qdisc add dev eth0 roohandl1: tbf rate 1mbit buffer 1500 limit 3000 > > tc qdisc add dev eth0 paren1: handl10: netem delay 10ms loss 0% > > However, ththroughpuarchived by a iperf transmission using TCP is > jusfew kbps (for both 1 Mbps or 10 Mbps). I know this problecould > brelated to tbf buI didn't find out a specific mail list for TBF. > > Do you happeto know whacould I do to fix this problem? > > Thank you very much! Try each independently. I believyour probleis that with the added delay, theris noenough buffering in TCP. Froivo.calado aee.ufcg.edu.br Mon Aug 22 09:29:36 2011 From: ivo.calado aee.ufcg.edu.br (Ivo Calado) Date: Mon, 22 Aug 2011 13:29:36 -0300 Subject: Issuon defina link with loss, delay and bandwidth In-Reply-To: <20110822085851.13f34c42@xxxxxxxxxxxxxxxxxxxxxxx> References: <CAMKbDfx_dC0dUYSibn-km32FDey9XVG3wrYWNENnFw2=uo=suw@xxxxxxxxxxxxxx> <20110822085851.13f34c42@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <CAMKbDfzDNx0dZ4-HGT0A0m+=iwimmN9+hHEuZTgzLQDPREfw4g@xxxxxxxxxxxxxx> Hi, I tried either budidn'work. However, i'm configuring these values on a ponto-to-poinlink (nousing a middle box). That can be the reason? OMon, Aug 22, 2011 a12:58, Stephen Hemminger < shemminger alinux-foundation.org> wrote: > OSat, 20 Aug 2011 14:30:08 -0300 > Ivo Calado <ivo.calado aee.ufcg.edu.br> wrote: > > > Hello guys, > > I'dealing with a probleto configure a link with a set of > > restriction, using thEthernechannel: > > * 10 ms delay > > * 0 % loss > > * 1 Mbiand 10 Mbit > > > > for archivthis I sethe following commands: > > > > tc qdisc add dev eth0 roohandl1: tbf rate 1mbit buffer 1500 limit > 3000 > > > > tc qdisc add dev eth0 paren1: handl10: netem delay 10ms loss 0% > > > > However, ththroughpuarchived by a iperf transmission using TCP is > > jusfew kbps (for both 1 Mbps or 10 Mbps). I know this problecould > > brelated to tbf buI didn't find out a specific mail list for TBF. > > > > Do you happeto know whacould I do to fix this problem? > > > > Thank you very much! > > Try each independently. I believyour probleis that with the > added delay, theris noenough buffering in TCP. > -- Ivo Calado PhD candidatin Electrical Engineering Embedded Systems and PervasivComputing Lab - http://embeddedlab.org Electrical Engineering Departmen- http://dee.ufcg.edu.br/ Federal University of Campina Grand- http://www.ufcg.edu.br Professor of thFederal Institutof Education, Science and Technology of Alagoas - http://ifal.edu.br PGP: 0xD7C3860A pgp.mit.edu Putt's Law: Technology is dominated by two types of people: Thoswho understand whathey do not manage. Thoswho managwhat they do not understand. -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20110822/c878d06a/attachment.ht Froivo.calado aee.ufcg.edu.br Mon Aug 22 09:29:36 2011 From: ivo.calado aee.ufcg.edu.br (Ivo Calado) Date: Mon, 22 Aug 2011 13:29:36 -0300 Subject: Issuon defina link with loss, delay and bandwidth In-Reply-To: <20110822085851.13f34c42@xxxxxxxxxxxxxxxxxxxxxxx> References: <CAMKbDfx_dC0dUYSibn-km32FDey9XVG3wrYWNENnFw2=uo=suw@xxxxxxxxxxxxxx> <20110822085851.13f34c42@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <CAMKbDfzDNx0dZ4-HGT0A0m+=iwimmN9+hHEuZTgzLQDPREfw4g@xxxxxxxxxxxxxx> Hi, I tried either budidn'work. However, i'm configuring these values on a ponto-to-poinlink (nousing a middle box). That can be the reason? OMon, Aug 22, 2011 a12:58, Stephen Hemminger < shemminger alinux-foundation.org> wrote: > OSat, 20 Aug 2011 14:30:08 -0300 > Ivo Calado <ivo.calado aee.ufcg.edu.br> wrote: > > > Hello guys, > > I'dealing with a probleto configure a link with a set of > > restriction, using thEthernechannel: > > * 10 ms delay > > * 0 % loss > > * 1 Mbiand 10 Mbit > > > > for archivthis I sethe following commands: > > > > tc qdisc add dev eth0 roohandl1: tbf rate 1mbit buffer 1500 limit > 3000 > > > > tc qdisc add dev eth0 paren1: handl10: netem delay 10ms loss 0% > > > > However, ththroughpuarchived by a iperf transmission using TCP is > > jusfew kbps (for both 1 Mbps or 10 Mbps). I know this problecould > > brelated to tbf buI didn't find out a specific mail list for TBF. > > > > Do you happeto know whacould I do to fix this problem? > > > > Thank you very much! > > Try each independently. I believyour probleis that with the > added delay, theris noenough buffering in TCP. > -- Ivo Calado PhD candidatin Electrical Engineering Embedded Systems and PervasivComputing Lab - http://embeddedlab.org Electrical Engineering Departmen- http://dee.ufcg.edu.br/ Federal University of Campina Grand- http://www.ufcg.edu.br Professor of thFederal Institutof Education, Science and Technology of Alagoas - http://ifal.edu.br PGP: 0xD7C3860A pgp.mit.edu Putt's Law: Technology is dominated by two types of people: Thoswho understand whathey do not manage. Thoswho managwhat they do not understand. -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20110822/c878d06a/attachment-0001.ht Froltsampros aupnet.gr Thu Aug 25 05:37:15 2011 From: ltsampros aupnet.gr (Leonidas Tsampros) Date: Thu, 25 Aug 2011 15:37:15 +0300 Subject: linux 2.6.35: neteis marked as non-wc when leaf under htb Message-ID: <87ty95sm4k.fsf@xxxxxxxxxx> Hello, Imy setup I'using a combination of htb/netem hierarchies to emulate differenlinks. Ithlogs I noticed the following warnings: [102875.122913] htb: neteqdisc 1: is non-work-conserving? I took a peek into thcodin order to understand why this message appears and I ended up anet/sched/sch_htb.c:823: qdisc_warn_nonwc("htb", cl->un.leaf.q); Thabovhappens unconditionally in htb_dequeue_tree() and from my understanding sets thTCQ_F_WARN_NONWC on thleaf qdisc under htb. Aparfrothe kernel message being printed and the TCQ_F_WARN_NONWC getting set, why does this happen? Is thera reason for this? Arthere any unseeconsequences? BesRegards, Leonidas Tsampros Froshemminger alinux-foundation.org Thu Aug 25 08:27:59 2011 From: shemminger alinux-foundation.org (Stephen Hemminger) Date: Thu, 25 Aug 2011 08:27:59 -0700 Subject: linux 2.6.35: neteis marked as non-wc when leaf under htb In-Reply-To: <87ty95sm4k.fsf@xxxxxxxxxx> References: <87ty95sm4k.fsf@xxxxxxxxxx> Message-ID: <20110825082759.521cbea0@xxxxxxxxxxxxxxxxxxxxxxx> OThu, 25 Aug 2011 15:37:15 +0300 Leonidas Tsampros <ltsampros aupnet.gr> wrote: > Hello, > > Imy setup I'using a combination of htb/netem hierarchies to emulate > differenlinks. > > Ithlogs I noticed the following warnings: > [102875.122913] htb: neteqdisc 1: is non-work-conserving? > > I took a peek into thcodin order to understand why this message > appears and I ended up anet/sched/sch_htb.c:823: > > qdisc_warn_nonwc("htb", cl->un.leaf.q); > > Thabovhappens unconditionally in htb_dequeue_tree() and from my > understanding sets thTCQ_F_WARN_NONWC on thleaf qdisc under htb. > > Aparfrothe kernel message being printed and the TCQ_F_WARN_NONWC > getting set, why does this happen? Is thera reason for this? Arthere > any unseeconsequences? > > BesRegards, > Leonidas Tsampros > _______________________________________________ > Netemailing list > Netealists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/netem Netecan bconfigured drop packets which confuses qdisc like htb which rely oordering to function correctly.