[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100408175225.7577af19@nehalam>
Date: Thu, 8 Apr 2010 17:52:25 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: "Xin, Xiaohui" <xiaohui.xin@...el.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"mingo@...e.hu" <mingo@...e.hu>, "mst@...hat.com" <mst@...hat.com>,
"jdike@...user-mode-linux.org" <jdike@...user-mode-linux.org>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: Re: [RFC] [PATCH v2 3/3] Let host NIC driver to DMA to guest user
space.
On Tue, 6 Apr 2010 14:26:29 +0800
"Xin, Xiaohui" <xiaohui.xin@...el.com> wrote:
> >How do you deal with the DoS problem of hostile user space app posting huge
> >number of receives and never getting anything.
>
> That's a problem we are trying to deal with. It's critical for long term.
> Currently, we tried to limit the pages it can pin, but not sure how much is reasonable.
> For now, the buffers submitted is from guest virtio-net driver, so it's safe in some extent
> just for now.
It is critical even now. Once you get past toy benchmarks you will see things like
Java processes with 1000 threads all reading at once.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists