Re: FSM patch - performance test - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: FSM patch - performance test
Date
Msg-id 48D29838.9040405@enterprisedb.com
Whole thread Raw
In response to Re: FSM patch - performance test  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: FSM patch - performance test  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: FSM patch - performance test  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Tom Lane wrote:
> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>> Zdenek Kotala wrote:
>>> My conclusion is that new implementation is about 8% slower in OLTP 
>>> workload.
> 
>> Thanks. That's very disappointing :-(
> 
> One thing that jumped out at me is that you call FreeSpaceMapExtendRel
> every time a rel is extended by even one block.  I admit I've not
> studied the data structure in any detail yet, but surely most such calls
> end up being a no-op?  Seems like some attention to making a fast path
> for that case would be helpful.

Yes, most of those calls end up being no-op. Which is exactly why I 
would be surprised if those made any difference. It does call 
smgrnblocks(), though, which isn't completely free...

Zdenek, can you say off the top of your head whether the test was I/O 
bound or CPU bound? What was the CPU utilization % during the test?

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: New FSM patch
Next
From: Gregory Stark
Date:
Subject: Re: Do we really need a 7.4.22 release now?