Gerd Knorr
2005-Dec-07 15:48 UTC
[Xen-devel] [patch merge tree] netfront needs more headroom
Hi, Raised the headrum size from 200 to 512. I''ve got "Received packet needs 120 bytes more headroom." in my syslog, so 200 is obviously too small. Increased to 512 as the slab allocator gives out pieces of memory with sizes being powers of two, so the old allocation size already was 256 and anything larger than that will end up being 512 anyway (unless we create our own memory pool with custom size ...) cheers, Gerd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christian Limpach
2005-Dec-08 18:50 UTC
Re: [Xen-devel] [patch merge tree] netfront needs more headroom
On 12/7/05, Gerd Knorr <kraxel@suse.de> wrote:> Raised the headrum size from 200 to 512. I''ve got "Received packet > needs 120 bytes more headroom." in my syslog, so 200 is obviously too small. > > Increased to 512 as the slab allocator gives out pieces of memory with > sizes being powers of two, so the old allocation size already was 256 > and anything larger than that will end up being 512 anyway (unless we > create our own memory pool with custom size ...)We believe that this is fixed by recent changes to the network driver, notably these changesets in xen-unstable: linux-2.6-xen-sparse cset: 4e9c643968ffd0526258dc1ae7d1fee6123be718 linux-2.6-xen-sparse cset: c976c1ff806aa46c989fb5b1d84b311519fb0456 christian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Gerd Knorr
2005-Dec-09 11:23 UTC
Re: [Xen-devel] [patch merge tree] netfront needs more headroom
>> Raised the headrum size from 200 to 512. I''ve got "Received packet >> needs 120 bytes more headroom." in my syslog, so 200 is obviously too small.> We believe that this is fixed by recent changes to the network driver, > notably these changesets in xen-unstable: > linux-2.6-xen-sparse cset: 4e9c643968ffd0526258dc1ae7d1fee6123be718 > linux-2.6-xen-sparse cset: c976c1ff806aa46c989fb5b1d84b311519fb0456Yep, patch looks ok and the problem seems to be gone. cheers, Gerd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel