* How to debug throughput issues? @ 2019-06-25 16:56 Subhashini Rao Beerisetty 2019-06-26 2:14 ` Hariprasad Kelam 0 siblings, 1 reply; 5+ messages in thread From: Subhashini Rao Beerisetty @ 2019-06-25 16:56 UTC (permalink / raw) To: kernelnewbies 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. I repeated the same test with the same BT dongles on another different Linux systems(hostname3, hostname4), here I’m getting less data rate. 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? Thanks _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug throughput issues? 2019-06-25 16:56 How to debug throughput issues? Subhashini Rao Beerisetty @ 2019-06-26 2:14 ` Hariprasad Kelam 2019-06-26 5:26 ` Subhashini Rao Beerisetty 0 siblings, 1 reply; 5+ messages in thread From: Hariprasad Kelam @ 2019-06-26 2:14 UTC (permalink / raw) To: Subhashini Rao Beerisetty, kernelnewbies 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? 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 ? 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. 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug throughput issues? 2019-06-26 2:14 ` Hariprasad Kelam @ 2019-06-26 5:26 ` Subhashini Rao Beerisetty 2019-06-26 5:47 ` hariprasad kelam 0 siblings, 1 reply; 5+ messages in thread From: Subhashini Rao Beerisetty @ 2019-06-26 5:26 UTC (permalink / raw) To: Hariprasad Kelam; +Cc: kernelnewbies 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 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug throughput issues? 2019-06-26 5:26 ` Subhashini Rao Beerisetty @ 2019-06-26 5:47 ` hariprasad kelam 2019-06-26 5:52 ` Subhashini Rao Beerisetty 0 siblings, 1 reply; 5+ messages in thread From: hariprasad kelam @ 2019-06-26 5:47 UTC (permalink / raw) To: Subhashini Rao Beerisetty; +Cc: kernelnewbies [-- Attachment #1.1: Type: text/plain, Size: 2191 bytes --] 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 . > 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 > [-- Attachment #1.2: Type: text/html, Size: 3502 bytes --] [-- Attachment #2: Type: text/plain, Size: 170 bytes --] _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to debug throughput issues? 2019-06-26 5:47 ` hariprasad kelam @ 2019-06-26 5:52 ` Subhashini Rao Beerisetty 0 siblings, 0 replies; 5+ messages in thread From: Subhashini Rao Beerisetty @ 2019-06-26 5:52 UTC (permalink / raw) To: hariprasad kelam; +Cc: kernelnewbies 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-06-26 5:53 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-06-25 16:56 How to debug throughput issues? 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).