YES we ever measured the sharing performance. What you has pointed out match our current design:
1. If UI activity launched as visible, then database query will frequently conducted to refresh the progress bar; - So during sharing, performance is better if just keep OPP session in background; root cause is that only OPP service to update the DB while UI activity will not be triggered to compete DB access. Suppose user opens the notification and keeps watching the bar moving, speed will be impacted by UI. 2. I believe the 16k you mentioned is the file read buffer size in BluetoothOppObexClientSession.java BufferedInputStream a = new BufferedInputStream(fileInfo.mInputStream, 0x4000); The 16k buffer is a balance between local buffer size and remote buffer size. OBEX MUT could vary with different devices, like 4k, 8k, 16, 32k, 64k, etc. New device(like smart phones) may use 64k because of its high performance, while legacy phones may use 4k. I believe your data is collected with a device of 64k MTU. It's true that use a 64k buffer will have better performance, because we have to transfer 4 times to fill remote buffer. If we transfer to a 4k buffer device, larger buffer size make be split into more packets, actually slow down the transfer. Thanks for your data, let's improve it continuously. On Mar 5, 4:01 am, Bheemsen <[email protected]> wrote: > Hi All, > > I am using Eclair 2.1 on OMAP platform. > Eclair 2.1 has BT-OPP support (file transfer from Gallery application) > > With OPP application throughput numbers around 600 Kb/s (tested with 15M > file). > > We found that the UI updation is taking around 40-50ms for every 16k data > transfer. > > 1) If i comment the UI updation the throughput comes around 950kbps. > > 2) In BluetoothOppObexServer.java the read size is 16 Kb/s ,if i increase > the read size from 16Kb to 64 Kb the throughput will be 820 Kb/s. > > Is anybody measured the throughput with OPP? > > Is there any way to improve the throughput? > > -- > Regards > Bheemsen -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
