Skip to content

[BUG] Unhelpful Plan Parallel Skew warning at DOP 2 #73

@WinterIssue

Description

@WinterIssue

Component

Desktop App (Windows)

SQL Performance Studio Version

0.9.0

Operating System

Windows

Describe the Bug

For me at least the skewed worker workload detection seems to be over zealous when DOP 2 is used.

Is the problem that the node.PerThreadStats.Count equals three because of the coordinating thread?

var skewThreshold = node.PerThreadStats.Count == 2 ? 0.75 : 0.50;

Steps to Reproduce

  1. Set DOP to 2
  2. Run a parallel plan
  3. View in application

Expected Behavior

In this case it would be expected that there would be no warning about skew when a DOP 2 plan runs and one thread does 53% of the work.

Actual Behavior

It produces a warning one thread doing 53% of the work and the other thread does 47%.

Plan File

No response

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions