Re: Re: RE: [ADMIN] High memory usage [PATCH]

From: Michael Stephenson <mstephenson(at)tirin(dot)openworld(dot)co(dot)uk>
To: Gunnar Rønning <gunnar(at)polygnosis(dot)com>
Cc: "'PostgreSQL jdbc list'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Re: RE: [ADMIN] High memory usage [PATCH]
Date: 2001-06-26 16:35:15
Message-ID: Pine.LNX.4.30.0106261727550.23283-100000@tirin.openworld.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-jdbc pgsql-patches

> I agree that the tests are pretty inconclusive. We need something that
> simulates real usage better. What platform are you testing on Linux ?
> If so with native threads or green threads ?

Linux, I'm using native threads with the hot spot I'm using native
threads, which as I said was performing pretty much identically in both
cases. The non hot spot machine was using green threads which is where the
difference in performance was measurable.

> | I personally would advocate applying a patch similar to below to the
> | current cvs source.
>
> This I don't understand, was your intention to remove thread safety with this
> patch ? Looking at the way you introduce SimpleDateFormat as an instance
> variable it seems so.

Yeah, the patch is rubbish, I did it that way to remove the
(comparitively expensive) ThreadLocal.get inside the setDate and
SetTimeStamp, which is clearly stupid.

Michael xxx

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Barry Lind 2001-06-26 17:00:47 Re: High Memory Usage Patch -- Disregard my last message
Previous Message Barry Lind 2001-06-26 16:34:02 Re: [ADMIN] High memory usage [PATCH]

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-06-26 17:00:47 Re: High Memory Usage Patch -- Disregard my last message
Previous Message Barry Lind 2001-06-26 16:34:02 Re: [ADMIN] High memory usage [PATCH]

Browse pgsql-patches by date

  From Date Subject
Next Message Barry Lind 2001-06-26 17:00:47 Re: High Memory Usage Patch -- Disregard my last message
Previous Message Barry Lind 2001-06-26 16:34:02 Re: [ADMIN] High memory usage [PATCH]