From: Peter Stephenson <pws@csr.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Higher throughput with larger UDP packet size
Date: Mon, 14 Feb 2005 11:58:36 +0000 [thread overview]
Message-ID: <14994.1108382316@csr.com> (raw)
In-Reply-To: Message from Sean Loh <blaze_wk@yahoo.com> of "Mon, 14 Feb 2005 03:47:07 PST." <20050214114707.9429.qmail@web41104.mail.yahoo.com>
Sean Loh wrote:
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2005-02-14 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <blaze_wk@yahoo.com>
2005-02-14 11:47 ` [Bluez-users] Higher throughput with larger UDP packet size Sean Loh
2005-02-14 11:58 ` Peter Stephenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14994.1108382316@csr.com \
--to=pws@csr.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.