Skip to contentSkip to conversation

Higher throughput with larger UDP packet size

Bluez-users Sean Loh 2 participants 2 messages Feb 14, 2005 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

Sean Loh

author
#0 lore raw

Hi!!

I have established an IP network over the BlueZ stack and have transmitted UDP packets at varying sizes. I then assessed the throughput using the different datagram packets sizes. Why is it that the larger UDP packets obtain higher throughputs than the smaller UDP packets (eg. 60,000 bytes vs 5000 bytes)? Shouldn't the smaller UDP packets obtain an overall higher througput since less time is spent for segmentation and reassembly?

Thanks a million

__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 9 lines · Sean Loh

I have established an IP network over the BlueZ stack and have transmitted UDP packets at varying sizes. I then assessed the throughput using the different datagram packets sizes. Why is it that the larger UDP packets obtain higher throughputs than the smaller UDP packets (eg. 60,000 bytes vs 5000 bytes)? Shouldn't the smaller UDP packets obtain an overall higher througput since less time is spent for segmentation and reassembly?

CPU time is not an important factor; the big difference is the time to send packets over the air. The shorter packets have extra headers to encapsulate them at the lower levels, which makes all the difference.

At the Bluetooth baseband level, by the way, 5000 bytes already counts as "large" and will have to be fragmented into quite a lot of packets transmitted over the air. However, I certainly don't recommend using smaller packets at the UDP level for the reason I've given.

pws

**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.

**********************************************************************

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users