Re: Perf regression in 2.6.32 (Ubuntu 10.04 LTS) - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Perf regression in 2.6.32 (Ubuntu 10.04 LTS)
Date
Msg-id 4C8DEEDC.40105@enterprisedb.com
Whole thread Raw
In response to Perf regression in 2.6.32 (Ubuntu 10.04 LTS)  (Domas Mituzas <midom.lists@gmail.com>)
Responses Re: Perf regression in 2.6.32 (Ubuntu 10.04 LTS)
List pgsql-hackers
On 12/09/10 23:31, Domas Mituzas wrote:
> I've been playing around today a lot with sysbench, and observed that 2.6.32 kernel supplied by Ubuntu is having perf
regressionwith PG (which does not affect MySQL), compared to 2.6.28 builds I have.
 
> What I observed can be seen in a paste at http://p.defau.lt/?8_GQV82Pz3_SDZbNOdP93Q (db12 is 2.6.28, db20 is 2.6.32 -
2.6.32-24-server).
>
> Machines are two socket quad-opterons 2356s.
>
> oprofile output can be seen at http://p.defau.lt/?OIR1vDFK4cze_fmBTQbV9w - system has>20% of idle cpu, which is
somewherein the top symbol :)
 

Can you run oprofile on the older kernel, so that we can compare and see 
where the time is spent?

Looks like over 7% of the time is spent in s_lock, which suggests some 
change in behavior in context switching or something like that, but 
let's see what the old profile looks like.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: update on global temporary and unlogged tables
Next
From: Fujii Masao
Date:
Subject: pg_ctl emits strange warning message