From: Benny Amorsen Subject: Re: Network QoS support in applications Date: Wed, 27 Jan 2010 14:24:28 +0100 Message-ID: References: <877hr5nkx0.fsf@purkki.valot.fi> <20100126.041610.226004766.davem@davemloft.net> <87wrz5m3cd.fsf@purkki.valot.fi> <20100126.050645.184040277.davem@davemloft.net> <87my01m0zm.fsf@purkki.valot.fi> <4B5EF5DF.2070005@lemonia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kalle Valo , David Miller , kaber@trash.net, netdev@vger.kernel.org, linux-wireless@vger.kernel.org To: Dunc Return-path: Received: from gate1.ipvision.dk ([94.127.49.2]:34546 "EHLO gate1.ipvision.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754348Ab0A0NZH (ORCPT ); Wed, 27 Jan 2010 08:25:07 -0500 In-Reply-To: <4B5EF5DF.2070005@lemonia.org> (dunc@lemonia.org's message of "Tue, 26 Jan 2010 14:02:07 +0000") Sender: netdev-owner@vger.kernel.org List-ID: Dunc writes: > If applications set the QoS values, the who's to stop someone (for > example) writing a bittorrent client that marks all packets for the > highest priority as if they were VoIP or something? Nothing, but nothing stops them from writing a bittorrent client which does "optimistic ACK" either. Yet noone seems to bother. Also, bittorrent marked as EF could easily get hit by a "don't queue voice packets, just drop instead" policy. Late voice packets are useless and might as well be dropped, but TCP streams like bittorrent react badly to packet loss. All in all there is little incentive for people to game the system. Should it happen anyway, network administrators have plentiful tools for fixing it, up to and including ip link set dev whatever down. /Benny