Neteworks athe network driver interface, can it use loopback interface? Loopback don'havtransmit queue, it's critical? Whei try: # tc qdisc add dev lo roonetedelay 100ms # ping -f 127.0.0.1 wait... resulis kernel panic :( Normal (noflooding) ping producpanic too, but not so fast. Froshemminger aosdl.org Mon Jan 10 15:26:19 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:15 2007 Subject: netewith loopback In-Reply-To: <41E2664E.000003.01613@xxxxxxxxxxxxxxxxx> References: <41E2664E.000003.01613@xxxxxxxxxxxxxxxxx> Message-ID: <20050110152619.4ec1b7a5@xxxxxxxxxxxxxxxxx> OMon, 10 Jan 2005 14:26:06 +0300 (MSK) "Misha Labjuk" <spiked@xxxxxxxx> wrote: > Neteworks athe network driver interface, can it use loopback > interface? Loopback don'havtransmit queue, it's critical? > > Whei try: > > # tc qdisc add dev lo roonetedelay 100ms > # ping -f 127.0.0.1 > wait... > > resulis kernel panic :( > > Normal (noflooding) ping producpanic too, but not so fast. Iworks for a whilfor me o 2.6.10. Haven't tried a heavy load. Frol.westphal atu-bs.de Mon Jan 17 06:12:34 2005 From: l.westphal atu-bs.d(Lukas Westphal) Date: Wed Apr 18 12:51:15 2007 Subject: neteqdisc on imq device Message-ID: <41EBC7D2.5040905@xxxxxxxx> Hallo, whethtc-queue system is applied for the ingress shaping or control of thingress traffic with imq devic(http://pupa.da.ru/imq/) it does nocomply with thnetem-qdisc. The delay parameter of the netem qdisc does noshow any response. Could you help clarify why iis so. Lukas Froshemminger aosdl.org Tue Jan 18 17:25:52 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:15 2007 Subject: neteqdisc on imq device In-Reply-To: <41EBC7D2.5040905@xxxxxxxx> References: <41EBC7D2.5040905@xxxxxxxx> Message-ID: <20050118172552.14ffbd4f@xxxxxxxxxxxxxxxxx> OMon, 17 Jan 2005 15:12:34 +0100 Lukas Westphal <l.westphal@xxxxxxxx> wrote: > Hallo, > > whethtc-queue system is applied for the ingress shaping or control > of thingress traffic with imq devic(http://pupa.da.ru/imq/) it does > nocomply with thnetem-qdisc. The delay parameter of the netem qdisc > does noshow any response. Could you help clarify why iis so. > > > Lukas I don'havtime to look at this in detail right now, since imq is not part of thmainlinkernel. Perhaps Patrick or one of the original authors of imq could giva hinwhy it might not work. -- StepheHemminger <shemminger@xxxxxxxx> Frokaber atrash.net Tue Jan 18 17:36:07 2005 From: kaber atrash.ne(Patrick McHardy) Date: Wed Apr 18 12:51:15 2007 Subject: neteqdisc on imq device In-Reply-To: <20050118172552.14ffbd4f@xxxxxxxxxxxxxxxxx> References: <41EBC7D2.5040905@xxxxxxxx> <20050118172552.14ffbd4f@xxxxxxxxxxxxxxxxx> Message-ID: <41EDB987.4080504@xxxxxxxxx> StepheHemminger wrote: >OMon, 17 Jan 2005 15:12:34 +0100 >Lukas Westphal <l.westphal@xxxxxxxx> wrote: > > >>Hallo, >> >>whethtc-queue system is applied for the ingress shaping or control >>of thingress traffic with imq devic(http://pupa.da.ru/imq/) it does >>nocomply with thnetem-qdisc. The delay parameter of the netem qdisc >>does noshow any response. Could you help clarify why iis so. >> >> >>Lukas >> > >I don'havtime to look at this in detail right now, since imq is not part of >thmainlinkernel. Perhaps Patrick or one of the original authors of imq >could giva hinwhy it might not work. > I could imagintroublbecause netem uses skb->cb while the packet is handled by IP (imq uses netfilter to direcpackets to thqueue). Regards Patrick Frostephen.earl abt.com Thu Jan 20 01:34:05 2005 From: stephen.earl abt.co(stephen.earl@xxxxxx) Date: Wed Apr 18 12:51:15 2007 Subject: New Neteweb interfacwritten in php Message-ID: <B1A7C3B14EAAED48B27E84CBE6FFB37307A31525@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Heris a web interfacfor Netem that I made in php. It makes it easy for you to combine different rules on any number of interfaces without having to learn the long and sometimes confusing commands. It currently lets you change delay, loss, duplication and bandwidth settings. I haven't included the gap setting because it was not required by me at the time. The program is well commented and could be expandable by others if required. It could be made more efficient with regular expressions instead of the basic string parsing that I've used, but it all works as it should do. A small help page is included but it's quite easy to use anyway. StepheEarl Frostephen.earl abt.com Thu Jan 20 06:08:11 2005 From: stephen.earl abt.co(stephen.earl@xxxxxx) Date: Wed Apr 18 12:51:15 2007 Subject: New Neteweb interfacwritten in php Message-ID: <B1A7C3B14EAAED48B27E84CBE6FFB37307A3152A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> oops, forgoto puin the URL: http://www.smyles.plus.com/phpnetemgui/ versio0.1 is availablfor download but I fixed a couple of bugs today and the new version 0.2 isn't yet uploaded. It will be soon though. -----Original Message----- From: netem-bounces@xxxxxxxxxxxxxx [mailto:netem-bounces@xxxxxxxxxxxxxx]OBehalf Of stephen.earl@xxxxxx Sent: 20 January 2005 09:34 To: netem@xxxxxxxxxxxxxx Subject: New Neteweb interfacwritten in php Heris a web interfacfor Netem that I made in php. It makes it easy for you to combine different rules on any number of interfaces without having to learn the long and sometimes confusing commands. It currently lets you change delay, loss, duplication and bandwidth settings. I haven't included the gap setting because it was not required by me at the time. The program is well commented and could be expandable by others if required. It could be made more efficient with regular expressions instead of the basic string parsing that I've used, but it all works as it should do. A small help page is included but it's quite easy to use anyway. StepheEarl _______________________________________________ Netemailing list Netem@xxxxxxxxxxxxxx http://lists.osdl.org/mailman/listinfo/netem Fronistnet_user ayahoo.com Tue Jan 25 11:22:28 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 12:51:15 2007 Subject: running netem Message-ID: <20050125192228.60674.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i havredha9, kernel 2.4.20. i compiled 2.6.8 kernel on that and then i installed latest iproute2 package after applying the necessary patch. but when i run tc i get the error "RTNETLINK answers: invalid argument" i have checked that the latest tc is executed. whei do modprobnetem i get FATAL error modulnetenot found. pleasleme know how to build the netem module. for compiling the 2.6.8 kernel i copied the old .config file and did makmenuconfig i don'sea option to select netem. please let me know where i need to set the option to get netem as a module. thanks. --------------------------------- Do you Yahoo!? Thall-new My Yahoo! ? Whawill yours do? -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050125/9f451a7b/attachment.htm Froshemminger aosdl.org Tue Jan 25 11:46:14 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:15 2007 Subject: running netem In-Reply-To: <20050125192228.60674.qmail@xxxxxxxxxxxxxxxxxxxxxxx> References: <20050125192228.60674.qmail@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <20050125114614.0de29018@xxxxxxxxxxxxxxxxx> OTue, 25 Jan 2005 11:22:28 -0800 (PST) js si <nistnet_user@xxxxxxxxx> wrote: > i havredha9, kernel 2.4.20. i compiled 2.6.8 kernel on that and then i installed latest iproute2 package after applying the necessary patch. but when i run tc i get the error "RTNETLINK answers: invalid argument" i have checked that the latest tc is executed. > > whei do modprobnetem i get > FATAL error modulnetenot found. > > pleasleme know how to build the netem module. for compiling the 2.6.8 kernel i copied the old .config file and did > makmenuconfig > > i don'sea option to select netem. please let me know where i need to set the option to get netem as a module. > > thanks. > It's buried... to find iin menuconfig. DevicDrivers Networking support Networking options QoS and/or fair queueing [abottoof list] Network emulator -- StepheHemminger <shemminger@xxxxxxxx> Fronistnet_user ayahoo.com Tue Jan 25 16:27:30 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 12:51:15 2007 Subject: dropping packets froa particular source-dspair Message-ID: <20050126002730.15557.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i anew to netem. i read thclassification packets How To buastill confused. i want to drop 50% packets froa particular sourcgoing to a particular destination. i athinking on thfollowing lines tc qdisc add dev eth1 roohandl1: prio tc qdisc add dev eth1 paren1:3 handl30: netem loss 50% tc filter add dev eth1 protocol ip paren1: prio 1 u32 match ip src 11.0.0.1 match ip ds11.0.1.1 flowid 30:0 tc filter add dev eth1 protocol ip paren1: prio 2 flowid 1:2 whei do tc qdisc -s ls dev eth1 ishows nete30: as 1000 limit, loss 50% and duplicatas 80% why is this? whei add thfirst filter i get the following error RTNETLINK answers invalid argument Whavan error talking to the kernel could someonpleaslet me know how to do this or whai adoing wrong? __________________________________ Do you Yahoo!? Read only thmail you wan- Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail Fronistnet_user ayahoo.com Tue Jan 25 19:53:43 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 12:51:15 2007 Subject: computer hangs otc -s qdisc ls dev eth0 Message-ID: <20050126035343.72755.qmail@xxxxxxxxxxxxxxxxxxxxxxx> my computer hanged 2-3 times whei did thtc -s qdisc ls dev eth0. before that i had added two qdiscs as follows tc qdisc add dev eth0 roohandl1: prio tc qdisc add dev eth0 paren1:1 handl10: netem loss 25% i anosure what is causing the computer to hang. thanks. --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050125/fad9d032/attachment.htm Frostephen.earl abt.com Wed Jan 26 03:33:02 2005 From: stephen.earl abt.co(stephen.earl@xxxxxx) Date: Wed Apr 18 12:51:15 2007 Subject: Neteweb interfacupto version 0.3 Message-ID: <B1A7C3B14EAAED48B27E84CBE6FFB37307AF94D5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> I'vupdated my neteweb interface which can be found here: <http://www.smyles.plus.com/phpnetemgui/> Inow includes thpacket reordering setting and I've made the code a little smaller. The bandwidth command isn't working properly yet because I'm not sure how to calculate the correct buffer to use with the tbf qdisc depending on what rate you choose. I'm still researching it and I hope to have it fixed soon. The website now has a couple of screenshots but they are not of the latest version. I will upload some new screenshots soon. Froshemminger aosdl.org Wed Jan 26 13:40:07 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:15 2007 Subject: computer hangs otc -s qdisc ls dev eth0 In-Reply-To: <20050126035343.72755.qmail@xxxxxxxxxxxxxxxxxxxxxxx> References: <20050126035343.72755.qmail@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <20050126134007.70684a5b@xxxxxxxxxxxxxxxxx> OTue, 25 Jan 2005 19:53:43 -0800 (PST) js si <nistnet_user@xxxxxxxxx> wrote: > my computer hanged 2-3 times whei did thtc -s qdisc ls dev eth0. before that i had added two qdiscs as follows > > tc qdisc add dev eth0 roohandl1: prio > tc qdisc add dev eth0 paren1:1 handl10: netem loss 25% > > i anosure what is causing the computer to hang. Aryou coming into your machinfrom eth0? If so all the packets are being lost. Besway to debug this is to useither serial console or the console window (Alt-F1) and enablSysRq suppor(Kernel Hacking). Then you can get a back trace of where thprocesses arstuck. I can'reproducit here. Could you give me more info. > > thanks. > > > --------------------------------- > Do you Yahoo!? > Yahoo! Search presents - Jib Jab's 'Second Term' -- StepheHemminger <shemminger@xxxxxxxx> Fronistnet_user ayahoo.com Thu Jan 27 11:50:32 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 12:51:15 2007 Subject: machinfreeze Message-ID: <20050127195032.53877.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i tried thexamples given on thnetem examples page. my machine has 3 ethernet interfaces. eth1(11.0.0.2) is connected to packet generator(11.0.0.1), eth2(11.0.1.2) is connected to a sink(11.0.1.1). i tried tc qdisc add dev eth2 rooneteloss 50% this works, i.when i send ping fro11.0.0.1 to 11.0.1.1 then almost 50% of the pings get dropped. buwhen i tried tc qdisc changdev eth2 roonetem gap 5 latency 10ms thmachinfreezes on the first ping packet sent. pleasleme know if i am doing something wrong. thanks. --------------------------------- Do you Yahoo!? Meethall-new My Yahoo! ? Try it today! -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050127/2ead5160/attachment.htm Fronistnet_user ayahoo.com Thu Jan 27 15:20:50 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 12:51:15 2007 Subject: duplicatpackets and reordering patches Message-ID: <20050127232050.44739.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i wasn'ablto get packet duplication and after searching on the net tried to apply the patch for packet duplication support from http://oss.sgi.com/projects/netdev/archive/2004-08/msg00676.html bugothe following error Hunk #1 FAILED a62 Hunk #2 FAILED a625 Hunk #3 FAILED a663 Hunk #5 FAILED a800 Hunk #6 FAILED a844 ai applying thwrong patch? i aablto apply the following patch for packet reordering http://eeek.borgchat.net/lists/linux-net/msg11439.html --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050127/93d99ce9/attachment.htm FroYaronG ashiron.com Sun Jan 30 08:48:18 2005 From: YaronG ashiron.co(Yaron Gottfried) Date: Wed Apr 18 12:51:15 2007 Subject: Packets Per Second Message-ID: <568830273DB34B4CA3717D584351E8BC0101A666@xxxxxxxxxxxxxxxx> Hi, I havrecently installed "netem" in order to simulata delay of up to 600msec. I hava few questions abouthis "application" that I would appreciate if someoncan answer: 1. Iorder to simulata 600msec delay, packets should be stored in sombuffer. I would likto know whais the size of the buffer in terms of memory and packets per second. 2. Does this "application" simulatdelays of multicaspackets? Thanks iadvance, Yaron ******************************************************************************** Thcontents of this email and any attachments arconfidential, and are proprietary of "ShiroSatellitCommunication". It is intended for the named recipient(s) only. If you havreceived this email in error, pleasnotify us immediately by replying to thmessagand deleting it from your computer. Do nodisclosthe contents to anyone or make copies. ** eSafscanned this email for viruses, vandals and malicious conten** ************************************************************************************** -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050130/d5ca7d2e/attachment.htm Froshemminger aosdl.org Mon Jan 31 16:44:03 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 12:51:15 2007 Subject: Re: compiling neteon 2.6.7 In-Reply-To: <20050131224954.87454.qmail@xxxxxxxxxxxxxxxxxxxxxxx> References: <20050126143447.1ec2e4c1@xxxxxxxxxxxxxxxxx> <20050131224954.87454.qmail@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <20050131164403.2234989c@xxxxxxxxxxxxxxxxx> I madup a backporpatch of the current (2.6.10) code for netem to 2.6.7 and puiin: http://developer.osdl.org/shemminger/netem/download Ibuilds, buhas not been tested. You will also need a current version of iproute2 utilities sinca 2.6.7 distribution will nohave the right tools. Also, didn'puin the improved version of net_random(), but that wouldn't btoo hard. -- StepheHemminger <shemminger@xxxxxxxx> Frospiked anarod.ru Mon Jan 10 03:26:06 2005 From: spiked anarod.ru (Misha Labjuk) Date: Wed Apr 18 17:37:44 2007 Subject: netewith loopback Message-ID: <41E2664E.000003.01613@xxxxxxxxxxxxxxxxx> Neteworks athe network driver interface, can it use loopback interface? Loopback don'havtransmit queue, it's critical? Whei try: # tc qdisc add dev lo roonetedelay 100ms # ping -f 127.0.0.1 wait... resulis kernel panic :( Normal (noflooding) ping producpanic too, but not so fast. Froshemminger aosdl.org Mon Jan 10 15:26:19 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: netewith loopback In-Reply-To: <41E2664E.000003.01613@xxxxxxxxxxxxxxxxx> References: <41E2664E.000003.01613@xxxxxxxxxxxxxxxxx> Message-ID: <20050110152619.4ec1b7a5@xxxxxxxxxxxxxxxxx> OMon, 10 Jan 2005 14:26:06 +0300 (MSK) "Misha Labjuk" <spiked@xxxxxxxx> wrote: > Neteworks athe network driver interface, can it use loopback > interface? Loopback don'havtransmit queue, it's critical? > > Whei try: > > # tc qdisc add dev lo roonetedelay 100ms > # ping -f 127.0.0.1 > wait... > > resulis kernel panic :( > > Normal (noflooding) ping producpanic too, but not so fast. Iworks for a whilfor me o 2.6.10. Haven't tried a heavy load. Frol.westphal atu-bs.de Mon Jan 17 06:12:34 2005 From: l.westphal atu-bs.d(Lukas Westphal) Date: Wed Apr 18 17:37:44 2007 Subject: neteqdisc on imq device Message-ID: <41EBC7D2.5040905@xxxxxxxx> Hallo, whethtc-queue system is applied for the ingress shaping or control of thingress traffic with imq devic(http://pupa.da.ru/imq/) it does nocomply with thnetem-qdisc. The delay parameter of the netem qdisc does noshow any response. Could you help clarify why iis so. Lukas Froshemminger aosdl.org Tue Jan 18 17:25:52 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: neteqdisc on imq device In-Reply-To: <41EBC7D2.5040905@xxxxxxxx> References: <41EBC7D2.5040905@xxxxxxxx> Message-ID: <20050118172552.14ffbd4f@xxxxxxxxxxxxxxxxx> OMon, 17 Jan 2005 15:12:34 +0100 Lukas Westphal <l.westphal@xxxxxxxx> wrote: > Hallo, > > whethtc-queue system is applied for the ingress shaping or control > of thingress traffic with imq devic(http://pupa.da.ru/imq/) it does > nocomply with thnetem-qdisc. The delay parameter of the netem qdisc > does noshow any response. Could you help clarify why iis so. > > > Lukas I don'havtime to look at this in detail right now, since imq is not part of thmainlinkernel. Perhaps Patrick or one of the original authors of imq could giva hinwhy it might not work. -- StepheHemminger <shemminger@xxxxxxxx> Frokaber atrash.net Tue Jan 18 17:36:07 2005 From: kaber atrash.ne(Patrick McHardy) Date: Wed Apr 18 17:37:44 2007 Subject: neteqdisc on imq device In-Reply-To: <20050118172552.14ffbd4f@xxxxxxxxxxxxxxxxx> References: <41EBC7D2.5040905@xxxxxxxx> <20050118172552.14ffbd4f@xxxxxxxxxxxxxxxxx> Message-ID: <41EDB987.4080504@xxxxxxxxx> StepheHemminger wrote: >OMon, 17 Jan 2005 15:12:34 +0100 >Lukas Westphal <l.westphal@xxxxxxxx> wrote: > > >>Hallo, >> >>whethtc-queue system is applied for the ingress shaping or control >>of thingress traffic with imq devic(http://pupa.da.ru/imq/) it does >>nocomply with thnetem-qdisc. The delay parameter of the netem qdisc >>does noshow any response. Could you help clarify why iis so. >> >> >>Lukas >> > >I don'havtime to look at this in detail right now, since imq is not part of >thmainlinkernel. Perhaps Patrick or one of the original authors of imq >could giva hinwhy it might not work. > I could imagintroublbecause netem uses skb->cb while the packet is handled by IP (imq uses netfilter to direcpackets to thqueue). Regards Patrick Frostephen.earl abt.com Thu Jan 20 01:34:05 2005 From: stephen.earl abt.co(stephen.earl@xxxxxx) Date: Wed Apr 18 17:37:44 2007 Subject: New Neteweb interfacwritten in php Message-ID: <B1A7C3B14EAAED48B27E84CBE6FFB37307A31525@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Heris a web interfacfor Netem that I made in php. It makes it easy for you to combine different rules on any number of interfaces without having to learn the long and sometimes confusing commands. It currently lets you change delay, loss, duplication and bandwidth settings. I haven't included the gap setting because it was not required by me at the time. The program is well commented and could be expandable by others if required. It could be made more efficient with regular expressions instead of the basic string parsing that I've used, but it all works as it should do. A small help page is included but it's quite easy to use anyway. StepheEarl Frostephen.earl abt.com Thu Jan 20 06:08:11 2005 From: stephen.earl abt.co(stephen.earl@xxxxxx) Date: Wed Apr 18 17:37:44 2007 Subject: New Neteweb interfacwritten in php Message-ID: <B1A7C3B14EAAED48B27E84CBE6FFB37307A3152A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> oops, forgoto puin the URL: http://www.smyles.plus.com/phpnetemgui/ versio0.1 is availablfor download but I fixed a couple of bugs today and the new version 0.2 isn't yet uploaded. It will be soon though. -----Original Message----- From: netem-bounces@xxxxxxxxxxxxxx [mailto:netem-bounces@xxxxxxxxxxxxxx]OBehalf Of stephen.earl@xxxxxx Sent: 20 January 2005 09:34 To: netem@xxxxxxxxxxxxxx Subject: New Neteweb interfacwritten in php Heris a web interfacfor Netem that I made in php. It makes it easy for you to combine different rules on any number of interfaces without having to learn the long and sometimes confusing commands. It currently lets you change delay, loss, duplication and bandwidth settings. I haven't included the gap setting because it was not required by me at the time. The program is well commented and could be expandable by others if required. It could be made more efficient with regular expressions instead of the basic string parsing that I've used, but it all works as it should do. A small help page is included but it's quite easy to use anyway. StepheEarl _______________________________________________ Netemailing list Netem@xxxxxxxxxxxxxx http://lists.osdl.org/mailman/listinfo/netem Fronistnet_user ayahoo.com Tue Jan 25 11:22:28 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 17:37:44 2007 Subject: running netem Message-ID: <20050125192228.60674.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i havredha9, kernel 2.4.20. i compiled 2.6.8 kernel on that and then i installed latest iproute2 package after applying the necessary patch. but when i run tc i get the error "RTNETLINK answers: invalid argument" i have checked that the latest tc is executed. whei do modprobnetem i get FATAL error modulnetenot found. pleasleme know how to build the netem module. for compiling the 2.6.8 kernel i copied the old .config file and did makmenuconfig i don'sea option to select netem. please let me know where i need to set the option to get netem as a module. thanks. --------------------------------- Do you Yahoo!? Thall-new My Yahoo! ? Whawill yours do? -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050125/9f451a7b/attachment-0001.htm Froshemminger aosdl.org Tue Jan 25 11:46:14 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: running netem In-Reply-To: <20050125192228.60674.qmail@xxxxxxxxxxxxxxxxxxxxxxx> References: <20050125192228.60674.qmail@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <20050125114614.0de29018@xxxxxxxxxxxxxxxxx> OTue, 25 Jan 2005 11:22:28 -0800 (PST) js si <nistnet_user@xxxxxxxxx> wrote: > i havredha9, kernel 2.4.20. i compiled 2.6.8 kernel on that and then i installed latest iproute2 package after applying the necessary patch. but when i run tc i get the error "RTNETLINK answers: invalid argument" i have checked that the latest tc is executed. > > whei do modprobnetem i get > FATAL error modulnetenot found. > > pleasleme know how to build the netem module. for compiling the 2.6.8 kernel i copied the old .config file and did > makmenuconfig > > i don'sea option to select netem. please let me know where i need to set the option to get netem as a module. > > thanks. > It's buried... to find iin menuconfig. DevicDrivers Networking support Networking options QoS and/or fair queueing [abottoof list] Network emulator -- StepheHemminger <shemminger@xxxxxxxx> Fronistnet_user ayahoo.com Tue Jan 25 16:27:30 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 17:37:44 2007 Subject: dropping packets froa particular source-dspair Message-ID: <20050126002730.15557.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i anew to netem. i read thclassification packets How To buastill confused. i want to drop 50% packets froa particular sourcgoing to a particular destination. i athinking on thfollowing lines tc qdisc add dev eth1 roohandl1: prio tc qdisc add dev eth1 paren1:3 handl30: netem loss 50% tc filter add dev eth1 protocol ip paren1: prio 1 u32 match ip src 11.0.0.1 match ip ds11.0.1.1 flowid 30:0 tc filter add dev eth1 protocol ip paren1: prio 2 flowid 1:2 whei do tc qdisc -s ls dev eth1 ishows nete30: as 1000 limit, loss 50% and duplicatas 80% why is this? whei add thfirst filter i get the following error RTNETLINK answers invalid argument Whavan error talking to the kernel could someonpleaslet me know how to do this or whai adoing wrong? __________________________________ Do you Yahoo!? Read only thmail you wan- Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail Fronistnet_user ayahoo.com Tue Jan 25 19:53:43 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 17:37:44 2007 Subject: computer hangs otc -s qdisc ls dev eth0 Message-ID: <20050126035343.72755.qmail@xxxxxxxxxxxxxxxxxxxxxxx> my computer hanged 2-3 times whei did thtc -s qdisc ls dev eth0. before that i had added two qdiscs as follows tc qdisc add dev eth0 roohandl1: prio tc qdisc add dev eth0 paren1:1 handl10: netem loss 25% i anosure what is causing the computer to hang. thanks. --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050125/fad9d032/attachment-0001.htm Frostephen.earl abt.com Wed Jan 26 03:33:02 2005 From: stephen.earl abt.co(stephen.earl@xxxxxx) Date: Wed Apr 18 17:37:44 2007 Subject: Neteweb interfacupto version 0.3 Message-ID: <B1A7C3B14EAAED48B27E84CBE6FFB37307AF94D5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> I'vupdated my neteweb interface which can be found here: <http://www.smyles.plus.com/phpnetemgui/> Inow includes thpacket reordering setting and I've made the code a little smaller. The bandwidth command isn't working properly yet because I'm not sure how to calculate the correct buffer to use with the tbf qdisc depending on what rate you choose. I'm still researching it and I hope to have it fixed soon. The website now has a couple of screenshots but they are not of the latest version. I will upload some new screenshots soon. Froshemminger aosdl.org Wed Jan 26 13:40:07 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: computer hangs otc -s qdisc ls dev eth0 In-Reply-To: <20050126035343.72755.qmail@xxxxxxxxxxxxxxxxxxxxxxx> References: <20050126035343.72755.qmail@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <20050126134007.70684a5b@xxxxxxxxxxxxxxxxx> OTue, 25 Jan 2005 19:53:43 -0800 (PST) js si <nistnet_user@xxxxxxxxx> wrote: > my computer hanged 2-3 times whei did thtc -s qdisc ls dev eth0. before that i had added two qdiscs as follows > > tc qdisc add dev eth0 roohandl1: prio > tc qdisc add dev eth0 paren1:1 handl10: netem loss 25% > > i anosure what is causing the computer to hang. Aryou coming into your machinfrom eth0? If so all the packets are being lost. Besway to debug this is to useither serial console or the console window (Alt-F1) and enablSysRq suppor(Kernel Hacking). Then you can get a back trace of where thprocesses arstuck. I can'reproducit here. Could you give me more info. > > thanks. > > > --------------------------------- > Do you Yahoo!? > Yahoo! Search presents - Jib Jab's 'Second Term' -- StepheHemminger <shemminger@xxxxxxxx> Fronistnet_user ayahoo.com Thu Jan 27 11:50:32 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 17:37:44 2007 Subject: machinfreeze Message-ID: <20050127195032.53877.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i tried thexamples given on thnetem examples page. my machine has 3 ethernet interfaces. eth1(11.0.0.2) is connected to packet generator(11.0.0.1), eth2(11.0.1.2) is connected to a sink(11.0.1.1). i tried tc qdisc add dev eth2 rooneteloss 50% this works, i.when i send ping fro11.0.0.1 to 11.0.1.1 then almost 50% of the pings get dropped. buwhen i tried tc qdisc changdev eth2 roonetem gap 5 latency 10ms thmachinfreezes on the first ping packet sent. pleasleme know if i am doing something wrong. thanks. --------------------------------- Do you Yahoo!? Meethall-new My Yahoo! ? Try it today! -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050127/2ead5160/attachment-0001.htm Fronistnet_user ayahoo.com Thu Jan 27 15:20:50 2005 From: nistnet_user ayahoo.co(js si) Date: Wed Apr 18 17:37:44 2007 Subject: duplicatpackets and reordering patches Message-ID: <20050127232050.44739.qmail@xxxxxxxxxxxxxxxxxxxxxxx> i wasn'ablto get packet duplication and after searching on the net tried to apply the patch for packet duplication support from http://oss.sgi.com/projects/netdev/archive/2004-08/msg00676.html bugothe following error Hunk #1 FAILED a62 Hunk #2 FAILED a625 Hunk #3 FAILED a663 Hunk #5 FAILED a800 Hunk #6 FAILED a844 ai applying thwrong patch? i aablto apply the following patch for packet reordering http://eeek.borgchat.net/lists/linux-net/msg11439.html --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050127/93d99ce9/attachment-0001.htm FroYaronG ashiron.com Sun Jan 30 08:48:18 2005 From: YaronG ashiron.co(Yaron Gottfried) Date: Wed Apr 18 17:37:44 2007 Subject: Packets Per Second Message-ID: <568830273DB34B4CA3717D584351E8BC0101A666@xxxxxxxxxxxxxxxx> Hi, I havrecently installed "netem" in order to simulata delay of up to 600msec. I hava few questions abouthis "application" that I would appreciate if someoncan answer: 1. Iorder to simulata 600msec delay, packets should be stored in sombuffer. I would likto know whais the size of the buffer in terms of memory and packets per second. 2. Does this "application" simulatdelays of multicaspackets? Thanks iadvance, Yaron ******************************************************************************** Thcontents of this email and any attachments arconfidential, and are proprietary of "ShiroSatellitCommunication". It is intended for the named recipient(s) only. If you havreceived this email in error, pleasnotify us immediately by replying to thmessagand deleting it from your computer. Do nodisclosthe contents to anyone or make copies. ** eSafscanned this email for viruses, vandals and malicious conten** ************************************************************************************** -------------- nexpar-------------- AHTML attachmenwas scrubbed... URL: http://lists.linux-foundation.org/pipermail/netem/attachments/20050130/d5ca7d2e/attachment-0001.htm Froshemminger aosdl.org Mon Jan 31 16:44:03 2005 From: shemminger aosdl.org (Stephen Hemminger) Date: Wed Apr 18 17:37:44 2007 Subject: Re: compiling neteon 2.6.7 In-Reply-To: <20050131224954.87454.qmail@xxxxxxxxxxxxxxxxxxxxxxx> References: <20050126143447.1ec2e4c1@xxxxxxxxxxxxxxxxx> <20050131224954.87454.qmail@xxxxxxxxxxxxxxxxxxxxxxx> Message-ID: <20050131164403.2234989c@xxxxxxxxxxxxxxxxx> I madup a backporpatch of the current (2.6.10) code for netem to 2.6.7 and puiin: http://developer.osdl.org/shemminger/netem/download Ibuilds, buhas not been tested. You will also need a current version of iproute2 utilities sinca 2.6.7 distribution will nohave the right tools. Also, didn'puin the improved version of net_random(), but that wouldn't btoo hard. -- StepheHemminger <shemminger@xxxxxxxx>