X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D9DC6D1BB74 for ; Tue, 6 Apr 2004 19:47:51 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 97400-01 for ; Tue, 6 Apr 2004 19:47:51 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 337E2D1B8DF for ; Tue, 6 Apr 2004 19:47:48 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.10/8.12.10) with ESMTP id i36MkSBK007083; Tue, 6 Apr 2004 16:46:36 -0600 (MDT) Date: Tue, 6 Apr 2004 16:46:31 -0600 (MDT) From: "scott.marlowe" To: "Gregory S. Williamson" Cc: Chris Browne , Subject: Re: Raw devices vs. Filesystems In-Reply-To: <71E37EF6B7DCC1499CEA0316A2568328DC9B8E@loki.wc.globexplorer.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IHS-MailScanner: Found to be clean X-IHS-MailScanner-SpamCheck: X-IHS-MailScanner-Envelope-Sender: scott.marlowe@ihs.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/98 X-Sequence-Number: 13071 Note that the innefficiency could well lie with Informix's file system interfacing as easily as it could lie with the operating system. Do they charge extra for being able to access raw devices or somehow make more money by supporting them? If so, there could be a clear business case for lots of uwaits() in the code path that handles file systems. I'm just saying it's a possibility. On Tue, 6 Apr 2004, Gregory S. Williamson wrote: > Remarkable, perhaps, to you. Not in the Informix world. But irrelevant to postgres, no ? > > -----Original Message----- > From: Chris Browne [mailto:cbbrowne@acm.org] > Sent: Tuesday, April 06, 2004 1:57 PM > To: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Raw devices vs. Filesystems > > > gsw@globexplorer.com ("Gregory S. Williamson") writes: > > No point to beating a dead horse (other than the sheer joy of the > > thing) since postgres does not have raw device support, but ... raw > > devices, at least on solaris, are about 10 times as fast as cooked > > file systems for Informix. This might still be a gain for postgres' > > performance, but the portability issues remain. > > That claim seems really rather remarkable. > > It implies an entirely stunning degree of inefficiency in the > implementation of filesystems on Solaris. > > The amount of indirection involved in walking through i-nodes and such > is something I would expect to introduce some percentage of > performance loss, but for it to introduce overhead of over 900% > presumably implies that Sun (and/or Veritas) got something really > horribly wrong. >