How does max_parallel_workers_per_gather change load averages?

From: Ben Nachtrieb <bnachtrieb(at)crescat(dot)net>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: How does max_parallel_workers_per_gather change load averages?
Date: 2017-10-03 19:48:39
Message-ID: BN6PR1301MB2212820B17792E0E52802EC0D4720@BN6PR1301MB2212.namprd13.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello,

This is my first question on this list.

How does max_parallel_workers_per_gather change Linux server load averages?

I have 2 cores and my max_parallel_workers_per_gather = 2 and max_worker_processes = 8, but my load averages are between 8 and 5 with scheduled at 1/189 to 5/195. Are these so high because I increased max_parallel_workers_per_gather? My understanding is that if my load averages are greater than my number of cores the system is overloaded. Should I think about it differently once I increase max_parallel_workers_per_gather? How should I think about it?

I am using postgres 9.6.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Kirkwood 2017-10-03 21:16:37 Re: select with max functions
Previous Message Pavel Stehule 2017-10-03 15:28:55 Re: Stored Procedure Performance