All of lore.kernel.org
 help / color / mirror / Atom feed
* [SPDK] Re: spdk_top enhancements
@ 2020-09-01 12:48 Szwed, Maciej
  0 siblings, 0 replies; 5+ messages in thread
From: Szwed, Maciej @ 2020-09-01 12:48 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 3007 bytes --]

Hi Or,
In below screen you have idle/busy stats per thread (Threads tab). We want to add similar stats per poller in Pollers tab.

Regards,
Maciek

-----Original Message-----
From: Or Gerlitz <gerlitz.or(a)gmail.com> 
Sent: Tuesday, September 1, 2020 2:45 PM
To: Szwed, Maciej <maciej.szwed(a)intel.com>
Cc: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: Re: [SPDK] spdk_top enhancements

On Thu, Aug 13, 2020 at 12:47 PM Szwed, Maciej <maciej.szwed(a)intel.com> wrote:
>
> I’m planning to extend spdk_top functionality in upcoming weeks. I’ve 
> been seeing that some of you are already using this tool and therefore 
> I’d to hear from you what new features would you like to see in the 
> tool. Feel free to send some ideas here or join next euro friendly 
> community meeting to discuss it


You mentioned in the trello doc having idle/busy indicator for each poller -- I see we have it with 20.07 - am I wrong (below)?

Is there intention to expose the spdk_top info via rpc so it can be scripted?

Or.

 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│        Thread name        | Core | Active pollers |  Timed pollers
| Paused pollers | Idle [us] | Busy [us]
       │
│───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
│ app_thread                  112          0                2
       0             288465       426
      │
│ nvmf_tgt_poll_group_112     112          2                0
       0             707127        14
      │
│ nvmf_tgt_poll_group_113     113          2                0
       0             746755        14
      │
│ nvmf_tgt_poll_group_114     114          2                0
       0             759859        14
      │
│ nvmf_tgt_poll_group_115     115          2                0
       0             757586        14
      │
│ reactor_113                 113          0                0
       0             249250        11
      │
│ reactor_114                 114          0                0
       0             236146        12
      │
│ reactor_115                 115          0                0
       0             238417        12
      │
│

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: spdk_top enhancements
@ 2020-09-07 10:46 Szwed, Maciej
  0 siblings, 0 replies; 5+ messages in thread
From: Szwed, Maciej @ 2020-09-07 10:46 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 1266 bytes --]

There are 3 RPC calls that are used by spdk_top, which provide stats:
thread_get_stats
thread_get_pollers
framework_get_reactors
They provide stats on pollers and threads associated with poll groups as well. More detailed stats regarding poll groups are planned to be implemented.

Regards,
Maciek

-----Original Message-----
From: Or Gerlitz <gerlitz.or(a)gmail.com> 
Sent: Sunday, September 6, 2020 12:59 PM
To: Harris, James R <james.r.harris(a)intel.com>
Cc: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] Re: spdk_top enhancements

On Tue, Sep 1, 2020 at 5:23 PM Harris, James R <james.r.harris(a)intel.com> wrote:
> On 9/1/20, 5:50 AM, "Or Gerlitz" <gerlitz.or(a)gmail.com> wrote:

> There is no intention to have spdk_top expose data via RPC.  Scripts can submit RPCs directly to the application under test to gather information and then post-process it any way it wants.

got it, is there some RPC to get initiator drivers (e.g nvme
pci/rdma/tcp) idle/busy cycles or
the initiator sw architecture (poll groups and such) is not supported for that matter?
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: spdk_top enhancements
@ 2020-09-06 10:59 Or Gerlitz
  0 siblings, 0 replies; 5+ messages in thread
From: Or Gerlitz @ 2020-09-06 10:59 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

On Tue, Sep 1, 2020 at 5:23 PM Harris, James R <james.r.harris(a)intel.com> wrote:
> On 9/1/20, 5:50 AM, "Or Gerlitz" <gerlitz.or(a)gmail.com> wrote:

> There is no intention to have spdk_top expose data via RPC.  Scripts can submit RPCs directly to the application under test to gather information and then post-process it any way it wants.

got it, is there some RPC to get initiator drivers (e.g nvme
pci/rdma/tcp) idle/busy cycles or
the initiator sw architecture (poll groups and such) is not supported
for that matter?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: spdk_top enhancements
@ 2020-09-01 14:22 Harris, James R
  0 siblings, 0 replies; 5+ messages in thread
From: Harris, James R @ 2020-09-01 14:22 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 3169 bytes --]



On 9/1/20, 5:50 AM, "Or Gerlitz" <gerlitz.or(a)gmail.com> wrote:

    On Thu, Aug 13, 2020 at 12:47 PM Szwed, Maciej <maciej.szwed(a)intel.com> wrote:
    >
    > I’m planning to extend spdk_top functionality in upcoming weeks. I’ve been seeing that some of you are already using this tool and therefore I’d to hear from you what new features would you like to see in the tool. Feel free to send some ideas here or join next euro friendly community meeting to discuss it


    You mentioned in the trello doc having idle/busy indicator for each
    poller -- I see we have it with 20.07 - am I wrong (below)?

    Is there intention to expose the spdk_top info via rpc so it can be scripted?

Hi Or,

There is no intention to have spdk_top expose data via RPC.  Scripts can submit RPCs directly to the application under test to gather information and then post-process it any way it wants.

-Jim


    Or.

     ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
    │        Thread name        | Core | Active pollers |  Timed pollers
    | Paused pollers | Idle [us] | Busy [us]
           │
    │───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
    │ app_thread                  112          0                2
           0             288465       426
          │
    │ nvmf_tgt_poll_group_112     112          2                0
           0             707127        14
          │
    │ nvmf_tgt_poll_group_113     113          2                0
           0             746755        14
          │
    │ nvmf_tgt_poll_group_114     114          2                0
           0             759859        14
          │
    │ nvmf_tgt_poll_group_115     115          2                0
           0             757586        14
          │
    │ reactor_113                 113          0                0
           0             249250        11
          │
    │ reactor_114                 114          0                0
           0             236146        12
          │
    │ reactor_115                 115          0                0
           0             238417        12
          │
    │
    _______________________________________________
    SPDK mailing list -- spdk(a)lists.01.org
    To unsubscribe send an email to spdk-leave(a)lists.01.org


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [SPDK] Re: spdk_top enhancements
@ 2020-09-01 12:44 Or Gerlitz
  0 siblings, 0 replies; 5+ messages in thread
From: Or Gerlitz @ 2020-09-01 12:44 UTC (permalink / raw)
  To: spdk

[-- Attachment #1: Type: text/plain, Size: 2570 bytes --]

On Thu, Aug 13, 2020 at 12:47 PM Szwed, Maciej <maciej.szwed(a)intel.com> wrote:
>
> I’m planning to extend spdk_top functionality in upcoming weeks. I’ve been seeing that some of you are already using this tool and therefore I’d to hear from you what new features would you like to see in the tool. Feel free to send some ideas here or join next euro friendly community meeting to discuss it


You mentioned in the trello doc having idle/busy indicator for each
poller -- I see we have it with 20.07 - am I wrong (below)?

Is there intention to expose the spdk_top info via rpc so it can be scripted?

Or.

 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│        Thread name        | Core | Active pollers |  Timed pollers
| Paused pollers | Idle [us] | Busy [us]
       │
│───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│
│ app_thread                  112          0                2
       0             288465       426
      │
│ nvmf_tgt_poll_group_112     112          2                0
       0             707127        14
      │
│ nvmf_tgt_poll_group_113     113          2                0
       0             746755        14
      │
│ nvmf_tgt_poll_group_114     114          2                0
       0             759859        14
      │
│ nvmf_tgt_poll_group_115     115          2                0
       0             757586        14
      │
│ reactor_113                 113          0                0
       0             249250        11
      │
│ reactor_114                 114          0                0
       0             236146        12
      │
│ reactor_115                 115          0                0
       0             238417        12
      │
│

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-07 10:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 12:48 [SPDK] Re: spdk_top enhancements Szwed, Maciej
  -- strict thread matches above, loose matches on Subject: below --
2020-09-07 10:46 Szwed, Maciej
2020-09-06 10:59 Or Gerlitz
2020-09-01 14:22 Harris, James R
2020-09-01 12:44 Or Gerlitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.