Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL7.1 on AIX5L is running with too poor ferformance

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us
Cc: leslie(at)boreas(dot)dti(dot)ne(dot)jp, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL7.1 on AIX5L is running with too poor ferformance
Date: 2001-07-30 13:18:07
Message-ID: 20010730221807H.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
> "Leslie" <leslie(at)boreas(dot)dti(dot)ne(dot)jp> writes:
> > PostgreSQL7.1 is now running on AIX5L( S85, 6GB memory, 6CPU), which was
> > running on Linux before(Pentium3, 2CPU, as far as I
> > remember.......sorry......).
> > The performance( on AIX5L ) is just half as good as the one( on Linux ).
> 
> Hmm ... is the AIX compilation selecting an appropriate TAS
> implementation for spinlocks? 

I think yes. I have compiled 7.1 on an AIX5L box and found that TAS()
was replaced by:

	 cs((int *) (lock), 0, 1)

> If it's falling back to semaphore-based
> spinlocks, I can easily believe that you might take a 2X performance
> hit.  Possibly s_lock.h needs some additional #if tests for AIX5.
--
Tatsuo Ishii

In response to

pgsql-hackers by date

Next:From: jgrayDate: 2001-07-30 14:33:06
Subject: Re: From TODO, XML?
Previous:From: Christopher Kings-LynneDate: 2001-07-30 09:07:26
Subject: Portal question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group