[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Max xen skbuff allocation is now 64KB. kmem caches only



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID cc1c250e672d138b355444881c9c907824e1f336
# Parent  b5c95258fe59e0a7f4301c6607775b511c985a30
Max xen skbuff allocation is now 64KB. kmem caches only
get populated with objects on first allocation, so if large
caches end up being unused, they don't actually cost us
very much.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r b5c95258fe59 -r cc1c250e672d 
linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c
--- a/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c     Fri Nov 11 09:47:43 2005
+++ b/linux-2.6-xen-sparse/arch/xen/kernel/skbuff.c     Fri Nov 11 10:01:32 2005
@@ -17,7 +17,7 @@
 /* Referenced in netback.c. */
 /*static*/ kmem_cache_t *skbuff_cachep;
 
-#define MAX_SKBUFF_ORDER 2
+#define MAX_SKBUFF_ORDER 4
 static kmem_cache_t *skbuff_order_cachep[MAX_SKBUFF_ORDER + 1];
 
 static struct {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.