pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: failure notice
2+ messages / 2 participants
[nested] [flat]

* Re: failure notice
@ 2009-01-06 18:59 Scott Marlowe <scott.marlowe@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Scott Marlowe @ 2009-01-06 18:59 UTC (permalink / raw)
  To: pgsql-performance

I got this bounce message from your account,
stefano.nichele@gmail.com.  I'm on gmail too, but don't get a lot of
-perform messages into my spam folder.

Just in case you've got eliminatecc turned on on the mailing list
server, I'm resending it through the mail server without your email
address in it.


I concur with Merlin you're I/O bound.

Adding to his post, what RAID controller are you running, does it have
cache, does the cache have battery backup, is the cache set to write
back or write through?

Also, what do you get for this (need contrib module pgbench installed)

pgbench -i -s 100
pgbench -c 50 -n 10000

? Specifically transactions per second?



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Fwd: failure notice
@ 2010-10-29 18:13 Robert Haas <robertmhaas@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Haas @ 2010-10-29 18:13 UTC (permalink / raw)
  To: PostgreSQL WWW <pgsql-www@postgresql.org>

The email system at guyr-ml1@burntmail.com is spamming me with a
message telling me that guyr-ml1@burntmail.com thinks my posts are
spam.

...Robert


---------- Forwarded message ----------
From:  <MAILER-DAEMON@burntmail.com>
Date: Fri, Oct 29, 2010 at 12:45 PM
Subject: failure notice
To: robertmhaas@gmail.com


Hi. This is the qmail-send program at burntmail.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<guyr-ml1@burntmail.com>:
Sorry - The message you have sent was identified as spam by Spam
Assassin (message bounced)

--- Below this line is a copy of the message.

Return-Path: <robertmhaas@gmail.com>
Received: (qmail 29883 invoked from network); 29 Oct 2010 16:45:55 -0000
Received: from unknown (74.52.149.146)
 by burntmail.com with SMTP; 29 Oct 2010 16:45:55 -0000
From pgsql-performance-owner+M40991@postgresql.org Fri Oct 29 11:45:12 2010
Return-path: <pgsql-performance-owner+M40991@postgresql.org>
Envelope-to: guyr-ml1@burntmail.com
Delivery-date: Fri, 29 Oct 2010 11:45:12 -0500
Received: from [200.46.208.106] (helo=mx1.hub.org)
       by mx01.burntspam.com with esmtp (Exim 4.63)
       (envelope-from <pgsql-performance-owner+M40991@postgresql.org>)
       id 1PBs4l-0004Vn-Sf
       for guyr-ml1@burntmail.com; Fri, 29 Oct 2010 11:45:12 -0500
Received: from postgresql.org (mail.postgresql.org [200.46.204.86])
       by mx1.hub.org (Postfix) with ESMTP id 995F33269608;
       Fri, 29 Oct 2010 16:44:31 +0000 (UTC)
Received: from maia.hub.org (maia-5.hub.org [200.46.204.29])
       by mail.postgresql.org (Postfix) with ESMTP id 97AAD1337B6C
       for <pgsql-performance-postgresql.org@mail.postgresql.org>;
Fri, 29 Oct 2010 13:44:15 -0300 (ADT)
Received: from mail.postgresql.org ([200.46.204.86])
 by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024)
 with ESMTP id 59612-09
 for <pgsql-performance-postgresql.org@mail.postgresql.org>;
 Fri, 29 Oct 2010 16:44:08 +0000 (UTC)
X-BMDA-Edge: IPR=0,DYN=0,SRB=0,SPM=6.9,BTS=1.1,RBL=0,HIS=0,WHT=0,STR=0
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com
[209.85.214.174])
       by mail.postgresql.org (Postfix) with ESMTP id F24EF133616B
       for <pgsql-performance@postgresql.org>; Fri, 29 Oct 2010
13:44:07 -0300 (ADT)
Received: by iwn10 with SMTP id 10so3905880iwn.19
       for <pgsql-performance@postgresql.org>; Fri, 29 Oct 2010
09:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
       d=gmail.com; s=gamma;
       h=domainkey-signature:mime-version:received:received:in-reply-to
        :references:date:message-id:subject:from:to:cc:content-type
        :content-transfer-encoding;
       bh=nsTf9SMp9latxxCm4tIz7goGfoWLY9cyktdrdmnQ3NA=;
       b=XMNuOdqxryiNGYUTsa5YW9++XX7vCL/slcrHOmeCXILOSEWPjj4hcYi1d3DACRO2uU
        4YVTKrTYlgJ01AjLZRb4iR8Wa/5j6MoTCgpqyyaBelyCMqEyM5m/cS9KgtVoipnLrC/a
        vYTBfIKrSwmzyGE/HXj40uiBmLSajXTBrJHX8=
DomainKey-Signature: a=rsa-sha1; c=nofws;
       d=gmail.com; s=gamma;
       h=mime-version:in-reply-to:references:date:message-id:subject:from:to
        :cc:content-type:content-transfer-encoding;
       b=bE0oL6KD08QtxQvelBRJ6ZqCDLSgoDrKBXWJvaHQ+SDRg2cPIaSUgwX6axKk2VKDsk
        TZKVtCOWQr/sjigfdHQLuIlzjz99yELrltKIH8WWF36QwiLDpeYXLFuUve7lrj7BKNRj
        gGqxFdBSqBaZSf6qrBYh/Wk2LfdmwxQXHbm8I=
MIME-Version: 1.0
Received: by 10.231.154.73 with SMTP id n9mr4219450ibw.10.1288370647220; Fri,
 29 Oct 2010 09:44:07 -0700 (PDT)
Received: by 10.231.33.71 with HTTP; Fri, 29 Oct 2010 09:44:06 -0700 (PDT)
In-Reply-To: <AANLkTi=ttpLEgYHTViATjbtS_dm-B5iRz3vOmaVDrw__@mail.gmail.com>
References: <4CC04EA50200002500036C5E@gw.wicourts.gov>
       <201010211935.o9LJZTM21744@momjian.us>
       <4CC0513E0200002500036C68@gw.wicourts.gov>
       <4CC3E8BF.4090409@mansionfamily.plus.com>
       <4CC46479.2050206@2ndquadrant.com>
       <16724.1287952819@sss.pgh.pa.us>
       <4CC9DE0F.50401@mansionfamily.plus.com>
       <26348.1288301177@sss.pgh.pa.us>
       <AANLkTimFfBZJ5YCn6tbGbQU_G4GdsQhXbtQ2kTEKfCVx@mail.gmail.com>
       <AANLkTi=ttpLEgYHTViATjbtS_dm-B5iRz3vOmaVDrw__@mail.gmail.com>
Date: Fri, 29 Oct 2010 12:44:06 -0400
Message-ID: <AANLkTinZ3Vy55ULrQvX_m2J7p0=A59B7hbANVXOv1z1P@mail.gmail.com>
Subject: Re: [PERFORM] BBU Cache vs. spindles
From: Robert Haas <robertmhaas@gmail.com>
To: Aidan Van Dyk <aidan@highrise.ca>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, James Mansion <james@mansionfamily.plus.com>,
       Greg Smith <greg@2ndquadrant.com>, Kevin Grittner
<Kevin.Grittner@wicourts.gov>,
       Bruce Momjian <bruce@momjian.us>, jd@commandprompt.com,
       Scott Marlowe <scott.marlowe@gmail.com>, Steve Crawford
<scrawford@pinpointresearch.com>,
       pgsql-performance@postgresql.org, Ben Chobot <bench@silentmedia.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: Maia Mailguard 1.0.1
X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9,
 RCVD_IN_DNSWL_NONE=-0.0001
X-Spam-Level:
X-Mailing-List: pgsql-performance
List-Archive: <http://archives.postgresql.org/pgsql-performance;
List-Help: <mailto:majordomo@postgresql.org?body=help>
List-ID: <pgsql-performance.postgresql.org>
List-Owner: <mailto:pgsql-performance-owner@postgresql.org>
List-Post: <mailto:pgsql-performance@postgresql.org>
List-Subscribe: <mailto:majordomo@postgresql.org?body=sub%20pgsql-performance>
List-Unsubscribe:
<mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
Precedence: bulk
Sender: pgsql-performance-owner@postgresql.org
X-Relayed-For: (mx1.hub.org) [200.46.208.106]

On Fri, Oct 29, 2010 at 11:56 AM, Aidan Van Dyk <aidan@highrise.ca> wrote:
> 1) The pages you write to must be in the page cache, or your memcpy is
> going to fault them in. =A0With a plain write, you don't need the
> over-written page in the cache.

I seem to remember a time many years ago when I got bitten by this
problem.  The fact that our I/O is in 8K pages means this could be a
pretty severe hit, I think.

> 2) Now, instead of the torn-page problem being FS block/sector sized
> base, you can now actually have a possibly arbitrary amount of the
> block memory written when the kernel writes out the page. =A0you
> *really* need full-page-writes.

Yeah.

> 3) The mmap overhead required for the kernel to setup the mappings is
> less than the repeated syscalls of a simple write().

You'd expect to save something from that; but on the other hand, at
least on 32-bit systems, there's a very limited number of 1GB files
that can be simultaneously mapped into one address space, and it's a
lot smaller than the number of file descriptors that you can have
open.   Rumor has it that cutting down the number of fds that can stay
open simultaneously is pretty bad for performance, so cutting it down
to a number you can count on one hand (maybe one finger) would
probably be bad.  Maybe on 64-bit it would be OK but it seems like an
awful lot of complexity for at most a minor savings (and a pretty bad
anti-savings if point #1 kicks in).

Anyway this is all totally off-topic...

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--=20
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance




-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-10-29 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-01-06 18:59 Re: failure notice Scott Marlowe <scott.marlowe@gmail.com>
2010-10-29 18:13 Fwd: failure notice Robert Haas <robertmhaas@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox