Regarding NAPI performance

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

 



sir,
    i have a doubt on NAPI(feature which was
introduced in linux 2.6.3).In which polling is used
instead of interrupts when packets arrive at the
network card.

	i did not find any performance difference between a
non NAPI driver and a NAPI driver(this may be because
i used large packets).Both  of them showed 94Mbps,but
when i reduced the "DMA receive ring size" from 32k to
8k, i got a  performance difference. The ordinary
driver without NAPI (rtl8139too in 2.4.20 linux)
showed 72Mbps and the NAPI driver (rtl8139too in
2.6.3) showed 94Mbps,both having their ring size at
8k.The packet size i used was same as before.

    why is this difference when the ring size is
reduced.



   waiting for your reply.



  prashant    



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
-
: 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