Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: Subhashini Rao Beerisetty <subhashbeerisetty@gmail.com>
To: hariprasad kelam <hariprasad.kelam@gmail.com>
Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: How to debug throughput issues?
Date: Wed, 26 Jun 2019 11:22:11 +0530
Message-ID: <CAPY=qRTKNCND0vWc=ZLBAQoBXYhd7ahBoeAkxttyHPjnasXZDA@mail.gmail.com> (raw)
In-Reply-To: <CACFYQXPQ7yyo5RNwpxwwU2vViGwYhktnhdUzVhemEDWaFR=3Yw@mail.gmail.com>

On Wed, Jun 26, 2019 at 11:17 AM hariprasad kelam
<hariprasad.kelam@gmail.com> wrote:
>
> Hi subhashini,
>
> On Wed, 26 Jun, 2019, 10:56 AM Subhashini Rao Beerisetty, <subhashbeerisetty@gmail.com> wrote:
>>
>> On Wed, Jun 26, 2019 at 7:44 AM Hariprasad Kelam
>> <hariprasad.kelam@gmail.com> wrote:
>> >
>> > On Tue, Jun 25, 2019 at 10:26:54PM +0530, Subhashini Rao Beerisetty wrote:
>> > Hi  Subhashini,
>> >
>> > Please see inline,
>> > >  Hi All,
>> > >
>> > >  I’ve two Bluetooth dongles and connected to two Linux
>> > > systems(hostname1, hostname2). I’ve a test executable and it creates a
>> > > BT link does the file transfer and calculates the throughput.
>> > >
>> > Are these dongle supports classic mode or Ble?
>> It supports classic mode.
>>
>> > Which profile are you using to establish connection between these two? (
>> > PAN, ..etc)
>> > >  I repeated the same test with the same BT dongles on another
>> > > different Linux systems(hostname3, hostname4), here I’m getting less
>> > > data rate.
>> > >
>> > After inserting dongles to host are you getting serial interface
>> > /dev/tty* or hci interface ?
>> Using serial interface /dev/tty*
>> If it's inbuilt serial profile ..kernel simply creates serial interface.
>
>     You may focus on serial driver .
Does kernel has any tools to identify the costly(long time taken) API's?

>
>
>
>
>> > If its hci interface ,you can use hcidump to see packets  and check MTU
>> > size
>> > > Here first I want to narrow down whether the issue is below device
>> > > driver level or above device driver level and where the bottleneck is?
>> > > which tools will help me to debug this kind of issue?
>> > >
>> > I think before jumping into driver level ,its better to ensure all
>> > bluetooth parameters are same on both the setups.
>> Except the kernel version(hostname1 & 2 are having same kernel and it
>> differs with hostname3 & 4 kernel version) rest all other stuff is
>> same. So I'd like to know how to know which part of kernel mode
>> functions causing more delay and any tools are there to debug these
>> issues?
>>
>> >
>> > Thanks,
>> > Hariprasad k
>> > > Thanks
>> > >
>> > > _______________________________________________
>> > > Kernelnewbies mailing list
>> > > Kernelnewbies@kernelnewbies.org
>> > > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 16:56 Subhashini Rao Beerisetty
2019-06-26  2:14 ` Hariprasad Kelam
2019-06-26  5:26   ` Subhashini Rao Beerisetty
2019-06-26  5:47     ` hariprasad kelam
2019-06-26  5:52       ` Subhashini Rao Beerisetty [this message]

Reply instructions:

You may reply publically 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='CAPY=qRTKNCND0vWc=ZLBAQoBXYhd7ahBoeAkxttyHPjnasXZDA@mail.gmail.com' \
    --to=subhashbeerisetty@gmail.com \
    --cc=hariprasad.kelam@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox