| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Ron Mayer <rm_pg(at)cheapcomplexdevices(dot)com> |
| Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-general(at)postgresql(dot)org, Jan Wieck <JanWieck(at)Yahoo(dot)com> |
| Subject: | Re: Priorities for users or queries? |
| Date: | 2007-02-17 01:52:36 |
| Message-ID: | 200702170152.l1H1qax16645@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-general pgsql-hackers |
Hard to argue with that.
---------------------------------------------------------------------------
Ron Mayer wrote:
> Magnus Hagander wrote:
> > Most likely, you do not want to do this. You *can* do it, but you are
> > quite likely to suffer from priority inversion
>
> Papers I've read suggest that the benefits of priorities
> vastly outweigh the penalties of priority inversion for
> virtually all workloads on most all RDBMs's including
> PostgreSQL.
>
> This CMU paper in particular tested PostgreSQL (and DB2)
> on TPC-C and TPC-W workloads and found that indirectly
> influencing I/O scheduling through CPU priorities
> is a big win for postgresql.
>
> http://www.cs.cmu.edu/~bianca/icde04.pdf
>
> "For TPC-C running on PostgreSQL,
> the simplest CPU scheduling policy (CPU-Prio) provides
> a factor of 2 improvement for high-priority transactions,
> while adding priority inheritance (CPU-Prio-Inherit)
> provides a factor of 6 improvement while hardly
> penalizing low-priority transactions."
>
>
> Have you heard of any workload on any RDBMS where priority inversion
> causes more harm than benefit?
>
> Ron Mayer
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | v13nr | 2007-02-17 02:21:49 | Re: What is wrong ? |
| Previous Message | Ron Mayer | 2007-02-17 01:44:40 | Re: Priorities for users or queries? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2007-02-17 04:26:34 | Re: [ANNOUNCE] Advisory on possibly insecure security definer functions |
| Previous Message | Ron Mayer | 2007-02-17 01:44:40 | Re: Priorities for users or queries? |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2007-02-17 02:01:13 | Re: add to ToDo, please |
| Previous Message | Ron Mayer | 2007-02-17 01:44:40 | Re: Priorities for users or queries? |