Skip to contentSkip to conversation

MTU and MRU for Bluetooth

Bluez-users Florian 3 participants 4 messages May 4, 2004 – May 5, 2004 Bluetooth drivers

lore
Share & tools
lore

Florian

author
#0 lore raw

Hi

some suggestions for suitable values for MTU / MRU when using pppd and PAP?

Florian

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Florian,

Quoted 1 line

some suggestions for suitable values for MTU / MRU when using pppd and PAP?

are these values not related to the upper protocols like TCP/IP? The underlaying RFCOMM protocol is a stream, so you don't have a MTU.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
Quoted 4 lines · Marcel Holtmann
Quoted 1 line

some suggestions for suitable values for MTU / MRU when using pppd and PAP?

are these values not related to the upper protocols like TCP/IP? The underlaying RFCOMM protocol is a stream, so you don't have a MTU.

I think, he wants a MTU size that doesn't lead to fragmentation on the carrying transport medium. I think this doesn't make much sense due to the "short" packets of bluetooth, and the fact that L2CAP packets can be up to 2^16 bytes large.

nicholas

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Nicholas,

Quoted 4 lines

I think, he wants a MTU size that doesn't lead to fragmentation on the carrying transport medium. I think this doesn't make much sense due to the "short" packets of bluetooth, and the fact that L2CAP packets can be up to 2^16 bytes large.

actually there is no proof that choosing a different MTU on the L2CAP level gives you any performance improvements. However a too small MTU decreases the performance and this is why we are using 1024 even if 672 is the default MTU. Some time ago we discussed this and until now nobody really proofed that a different MTU is better or that we should make the L2CAP MTU for RFCOMM configurable, because some upper layer will improve if we do so. Proof it to me and we will see ;)

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users