This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] Re: [PATCH] Credit Limiting Backend Network Interfaces

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH] Credit Limiting Backend Network Interfaces
From: Nuutti Kotivuori <naked@xxxxxx>
Date: Thu, 03 Mar 2005 14:15:11 +0200
Cache-post-path: aka.i.naked.iki.fi!unknown@xxxxxxxxxxxxxxxxxx
Cancel-lock: sha1:W2eQHw37xABEnlnaxPntVkmVSrY=
Delivery-date: Thu, 03 Mar 2005 12:29:33 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Ye 'Ol Disorganized NNTPCache groupie
References: <260002866C8EBA4EA0AD853F467EC11E04C2CD@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux)
Ross C. Mcilroy wrote:
> Attached is a patch which allows a domain's network transmission to
> be limited, to a certain credit of bytes every predefined period.

I believe this is as it should be, but just checking...

This patch limits the amount of bytes accepted by the vif interface at
Xen level (or at domain0) and not on the guest side, right? That is, a
malicious guest kernel cannot send faster than the limit?

The linux implementation of the guest side of this starts and stops
the queue on the device as appropriate - so that the normal linux
traffic queueing stuff can handle the entire queue as they see fit,
just like on a real hardware device that is slower, right?

-- Naked

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>