From mboxrd@z Thu Jan 1 00:00:00 1970 From: "George P Nychis" Subject: Re: [LARTC] how to change classful netem loss probability? Date: Thu, 27 Apr 2006 21:18:23 -0400 (EDT) Message-ID: <32923.128.2.140.234.1146187103.squirrel@128.2.140.234> References: <444FF846.7050600@cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: lartc@mailman.ds9a.nl, netdev@vger.kernel.org Return-path: Received: from smtp.andrew.cmu.edu ([128.2.10.82]:10124 "EHLO smtp.andrew.cmu.edu") by vger.kernel.org with ESMTP id S965184AbWD1BS2 (ORCPT ); Thu, 27 Apr 2006 21:18:28 -0400 In-Reply-To: <444FF846.7050600@cmu.edu> To: "George Nychis" Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org And if its not possible to change the probability, is there another method I can use instead? > Hi, > > I am using netem to add loss and then adding another qdisc within netem > according to the wiki. Then i want to change the netem drop probability > without having to delete the qdisc and recreate it. I try it but I get > invalid argument: > > thorium-ini hedpe # tc qdisc add dev ath0 root handle 1:0 netem drop 1% > thorium-ini hedpe # tc qdisc add dev ath0 parent 1:1 handle 10: xcp > capacity 54Mbit limit 500 thorium-ini hedpe # tc -s qdisc ls dev ath0 qdisc > netem 1: limit 1000 loss 1% Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > qdisc xcp 10: parent 1:1 capacity 52734Kbit limit 500p Sent 0 bytes 0 pkts > (dropped 0, overlimits 0) thorium-ini hedpe # tc qdisc change dev ath0 > root handle 1:0 netem drop 1% RTNETLINK answers: Invalid argument > thorium-ini hedpe # tc qdisc change dev ath0 root netem drop 1% RTNETLINK > answers: Invalid argument > > any ideas? > > Thanks! George _______________________________________________ LARTC mailing > list LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > --