LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2012, 04:57 PM   #1
RickCheung
LQ Newbie
 
Registered: Oct 2012
Posts: 14

Rep: Reputation: Disabled
sending small packet vs. large packet


I noticed that compared with send larger packet, the CPU utilization is much higher when sending small packet through network. So, what is the reason?
 
Old 10-12-2012, 08:13 AM   #2
nikmit
Member
 
Registered: May 2011
Location: Nottingham, UK
Distribution: Debian
Posts: 178

Rep: Reputation: 34
The CPU is being called for every packet sent/received rather than for a certain amount of data. With interrupt coalescing an interrupt is generated for every few packets, but it is still related to the number of packets and not the amount of data. Small packets = higher packet rate = higher CPU usage.
Small packets provide lower delay and are used in time sensitive applications like VoIP. Large packets provide better efficiency and are more likely to be used with network storage systems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending and Receiving IP Packet sindhu4sind Linux - Kernel 2 04-21-2012 04:29 AM
[SOLVED] example for netwrok packet code for creating a module and access the packet data oracle89divi22 Linux - Newbie 13 01-13-2012 04:27 PM
Packet Editing + Sending?? xXCanisLupusXx Linux - Networking 6 02-20-2009 08:17 AM
A packet filter using libipq which uses ether type field to capture the packet can26_manish Programming 2 10-16-2007 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration