Re: [PATCH] IP fragment SLAB

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

 



Hello

davem>    We know streaming services and NFS use UDP protocol.
davem>    This means IP defragmentation is processed heavily,
davem>    as their packets are very large.
davem>
davem>    We should allocate "incomplete detagram queue" using
davem>    kmem_cache_alloc() instead of kmalloc().
davem>
davem> Did you really measure a performance improvement due
davem> to your changes?

>No, not yet.

davem> Also, using kmem_find_general_cachep() will probably give
davem> you %90 of whatever gain your changes might obtain.

>Yes you are right.
>But I'd like to chage it if there're any chance to improve
>performance even if it would be little.

  But kmalloc() calls kmem_cache_alloc() in turn. So whether
you call kmalloc or kmem_cache_alloc it is getting allocated
from slab cache.  Am I missing something here?

Regards,
    Mala


   Mala Anand
   E-mail:manand@us.ibm.com
   Linux Technology Center - Performance
   Phone:838-8088; Tie-line:678-8088

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux