Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38715

[bp]: Gather and report /proc/vmstat allocstall information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.0
    • Component/s: ns_server
    • Labels:
      None

      Description

      We should backport the fix for MB-38296 to 6.6 as this information is potentially very useful in answering questions related to ns_server pauses or issues with ns_server scheduling.
      -----------------

      While triaging MB-37795 one useful datapoint was /proc/vmstat. It would be useful to gather and report this stat.

      Here's what Aliaksey says...

      The file is /proc/vmstat. The particular stat is "allocstall", though on recent kernels it seems to be broken up into multiple sub-stats:
       
      $ grep allocstall /proc/vmstat
      allocstall_dma 0
      allocstall_dma32 0
      allocstall_normal 14
      allocstall_movable 12
       
      There might be more interesting stats there that I'm not aware of. So we could potentially just get all of them. The only thing is that I'd be cautious to do this every second (though this might be justified).
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.0-7511 contains ns_server commit 0dd5794 with commit message:
            [bp] MB-38715 Report /proc/vmstat's allocstall

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7511 contains ns_server commit 0dd5794 with commit message: [bp] MB-38715 Report /proc/vmstat's allocstall
            Hide
            steve.watanabe Steve Watanabe added a comment -

            This was resolved by a combination of creating a mad-hatter branch for sigar and then having the mad-hatter.xml manifest point at that branch.

            Show
            steve.watanabe Steve Watanabe added a comment - This was resolved by a combination of creating a mad-hatter branch for sigar and then having the mad-hatter.xml manifest point at that branch.
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.0-7519 contains ns_server commit 0dd5794 with commit message:
            [bp] MB-38715 Report /proc/vmstat's allocstall

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7519 contains ns_server commit 0dd5794 with commit message: [bp] MB-38715 Report /proc/vmstat's allocstall
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-1838 contains ns_server commit 0dd5794 with commit message:
            [bp] MB-38715 Report /proc/vmstat's allocstall

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1838 contains ns_server commit 0dd5794 with commit message: [bp] MB-38715 Report /proc/vmstat's allocstall

              People

              Assignee:
              steve.watanabe Steve Watanabe
              Reporter:
              steve.watanabe Steve Watanabe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty