[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130127.221137.1761549497221263360.davem@davemloft.net>
Date: Sun, 27 Jan 2013 22:11:37 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: romain@...bokech.com, kvm@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vhost-net: fall back to vmalloc if high-order
allocation fails
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Wed, 23 Jan 2013 23:04:11 +0200
> Maybe we should try and reduce our memory usage,
> I will look into this.
As has been pointed out, 32K of the size is from those iovecs in
the queues.
The size of this structure is frankly offensive, and even if you add
some levels of indirection even just one iovec chunk is 16K on 64-bit
which is in my opinion still unacceptably large.
TCP sockets aren't even %25 the size of this beast. :-)
I'm not going to apply this vmalloc patch, because if I apply it the
fundamental problem here just gets swept under the carpet even longer.
Sorry.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists