bluetooth file transfer via bluetooth UI is too slow

Bug #1879438 reported by Grace Icay
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bluez Utilities
Confirmed
Medium
bluez (Ubuntu)
Triaged
Low
Unassigned

Bug Description

OS: Ubuntu 20.04
Kernel: 5.4.0-31-generic

When using the UI to connect and transfer the file form one machine to another machine, BASIC mode is getting selected in the L2CAP configuration and continuous scan is not going on in both sides. the L2CAP MTU size is also in 672, which is very small. Even with the patch applied by Intel, it does not increase the TPT because the UI always selects BASIC mode.

Sample File transfer duration:

sending - (8MB) 5min 18s
sending - (12MB) 7min36s
receiving - (8MB) 4min 8s
receiving - (12MB) 5min 48s

**This issue was also observed in Ubuntu 18.04 OS

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bluetooth (not installed)
ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
Uname: Linux 5.4.0-31-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue May 19 14:46:11 2020
InstallationDate: Installed on 2020-05-19 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
InterestingModules: rfcomm bnep btusb bluetooth
MachineType: LENOVO 20U9SITR39
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-31-generic root=UUID=6716936f-20b8-4840-8a75-00f4279d9062 ro quiet splash vt.handoff=7
SourcePackage: bluez
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/12/2020
dmi.bios.vendor: LENOVO
dmi.bios.version: N2WET11C (1.01C )
dmi.board.asset.tag: Not Available
dmi.board.name: 20U9SITR39
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.modalias: dmi:bvnLENOVO:bvrN2WET11C(1.01C):bd02/12/2020:svnLENOVO:pn20U9SITR39:pvrThinkPadX1CarbonGen8:rvnLENOVO:rn20U9SITR39:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon Gen 8
dmi.product.name: 20U9SITR39
dmi.product.sku: LENOVO_MT_20U9_BU_Think_FM_ThinkPad X1 Carbon Gen 8
dmi.product.version: ThinkPad X1 Carbon Gen 8
dmi.sys.vendor: LENOVO
hciconfig:
 hci0: Type: Primary Bus: USB
  BD Address: D8:3B:BF:7A:E4:22 ACL MTU: 1021:4 SCO MTU: 96:6
  UP RUNNING
  RX bytes:22494299 acl:63654 sco:0 events:77112 errors:0
  TX bytes:45158198 acl:65574 sco:0 commands:7661 errors:0

Revision history for this message
Grace Icay (gicay) wrote :
Revision history for this message
Grace Icay (gicay) wrote :
Revision history for this message
Grace Icay (gicay) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, you seem to have an understanding of the technical details of the issue, maybe you could report it upstream directly on https://bugzilla.kernel.org ?

Revision history for this message
In , gicay (gicay-linux-kernel-bugs) wrote :

OS: Ubuntu 20.04
Kernel: 5.4.0-31-generic

Summary:
Bluetooth file transfer via Bluetooth UI on the Ubuntu System is too slow

Description:
When using the UI to connect and transfer the file form one machine to another machine, BASIC mode is getting selected in the L2CAP configuration and continuous scan is not going on in both sides. the L2CAP MTU size is also in 672, which is very small. Even with the patch applied by Intel, it does not increase the TPT because the UI always selects BASIC mode.

Steps:
1. On the top right corner of the system's screen (system 1) click on the System Tray
2. Click on Bluetooth Settings, and turn Bluetooth ON
3. Using another system (system 2) with Ubuntu installed, turn on Bluetooth and pair with the system 1.
4. Confirm the Bluetooth PIN
5. Send Files via Bluetooth from system 1 to system 2
6. Send Files via Bluetooth from system 2 to system 1

Expected Result:
File transfer via bluetooth have a fast transfer for small size files.

Actual Result:
File transfer via bluetooth to another fedora system too slow.

Sample File transfer duration:
sending - (8MB) 5min 18s
sending - (12MB) 7min36s
receiving - (8MB) 4min 8s
receiving - (12MB) 5min 48s

Remarks:
> This issue was also observed in Ubuntu 18.04 OS
> Launchpad issue:
> https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1879438/

Revision history for this message
Grace Icay (gicay) wrote :

Hi @Sebastien, sorry for the late reply.

I have reported the bug on bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=208227

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks!

Changed in bluez (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in bluez:
importance: Unknown → Medium
status: Unknown → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.