Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-30 Thread Bruce Momjian
Balazs Wellisch wrote:
> 
> Bill,
> 
> Very interesting results. I'd like to command you on your honesty.
> Having started out with the intentions of proving that FreeBSD is faster
> than Linux only to find that the opposite is true must not have been
> rewarding for you. However, these unexpected results serve only to
> reinforce the integrity of your tests.

Looking at the results, ext2 is out because it isn't crash safe, and I
have heard Reiser uses a lot more CPU to do its work.  It does show
ext3 as slow, which was expected.  Interesting how JFS came out, and XFS
would be interesting.  And, of course, it is multiple backends that
really shows PostgreSQL off, so it could radically affect the results.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-30 Thread Bruce Momjian
Christopher Kings-Lynne wrote:
> > I'm likely going to make this the default for PostgreSQL on FreeBSD
> > starting with 7.4 (just posted something to -hackers about this)f.  If
> > you'd like to do this in your testing, just apply the following patch.
> >
> > Right now PostgreSQL defaults to 8K blocks, but FreeBSD uses 16K
> > blocks which means that currently, reading two blocks of data in PG is
> > two read calls to the OS, one reads 16K of data off disk and returns
> > the 1st page, the 2nd call pulls the 2nd block from the FS cache.  In
> > making things 16K, it avoids the need for the 2nd system call which is
> > where the performance difference is coming from, afaikt.  -sc
> 
> Are you _sure_ this won't cause any atomicity problems?  Can FreeBSD write
> 16k as an atomic unit?

We pre-modified page images to WAL before modifying the page.  The disks
are only 512-byte blocks, so we don't rely on file system atomicity
anymore anyway.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-29 Thread Bill Moran
Christopher Kings-Lynne wrote:
As with all performance tests/benchmarks, there are probably dozens or
more reasons why these results aren't as accurate or wonderful as they
should be.  Take them for what they are and hopefully everyone can
learn a few things from them.
Intelligent feedback is welcome.

http://www.potentialtech.com/wmoran/postgresql.php
I notice that the Linux FSs weren't tested with noatime.  Any
reason?
My friend, (a FreeBSD committer), was wondering what the results are if you
turn off softupdates (to match Linux default installation) and use noatime.
Keep an eye on the page.  The test results will be posted shortly after I
finish them.
Keep in mind, I'm more interested in figuring out what can be done to make
Postgres _faster_, so tests along that line are going to have a higher
priority than ones that specifically compare "apples to apples" or anything
like that.
He also wonders how bug the default IO is?
Huh?

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-29 Thread Christopher Kings-Lynne
> I'm likely going to make this the default for PostgreSQL on FreeBSD
> starting with 7.4 (just posted something to -hackers about this)f.  If
> you'd like to do this in your testing, just apply the following patch.
>
> Right now PostgreSQL defaults to 8K blocks, but FreeBSD uses 16K
> blocks which means that currently, reading two blocks of data in PG is
> two read calls to the OS, one reads 16K of data off disk and returns
> the 1st page, the 2nd call pulls the 2nd block from the FS cache.  In
> making things 16K, it avoids the need for the 2nd system call which is
> where the performance difference is coming from, afaikt.  -sc

Are you _sure_ this won't cause any atomicity problems?  Can FreeBSD write
16k as an atomic unit?

Chris


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-29 Thread Christopher Kings-Lynne
> > As with all performance tests/benchmarks, there are probably dozens or
> > more reasons why these results aren't as accurate or wonderful as they
> > should be.  Take them for what they are and hopefully everyone can
> > learn a few things from them.
> >
> > Intelligent feedback is welcome.
> >
> > http://www.potentialtech.com/wmoran/postgresql.php
>
> I notice that the Linux FSs weren't tested with noatime.  Any
> reason?

My friend, (a FreeBSD committer), was wondering what the results are if you
turn off softupdates (to match Linux default installation) and use noatime.
He also wonders how bug the default IO is?

Chris


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-29 Thread Bill Moran
Shridhar Daithankar wrote:
On 26 Aug 2003 at 21:47, Bill Moran wrote:


Hey all.

I said I was going to do it, and I finally did it.

As with all performance tests/benchmarks, there are probably dozens or
more reasons why these results aren't as accurate or wonderful as they
should be.  Take them for what they are and hopefully everyone can
learn a few things from them.
Intelligent feedback is welcome.

http://www.potentialtech.com/wmoran/postgresql.php


Can we have these benchmarks and relevant information stored in a central 
archive at techdocs(Say)?

That would be better than searching mail archives..
I agree.

There doesn't seem to be a place on techdocs for benchmarks at the time.
Is there another part of the site that would be good for these to go?
I'll keep them posted on my site until a better location is found.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
---(end of broadcast)---
TIP 6: Have you searched our list archives?
  http://archives.postgresql.org


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Sean Chittenden
> >> I need to step in and do 2 things:
> SC> Thanks for posting that.  Let me know if you have any questions while
> SC> doing your testing.  I've found that using 16K blocks on FreeBSD
> SC> results in about an 8% speedup in writes to the database, fwiw.
> 
> ok.. ignore my prior request about how to set that... i missed you
> had included a patch.
> 
> Any recommendations on newfs parameters for an overly large file
> system used solely for Postgres?  Over 100Gb (with raid 10) or over
> 200Gb (with raid 5)?

Nope, you'll have to test and see.  If you find something that works,
however, let me know.  -sc

-- 
Sean Chittenden

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread scott.marlowe
On Thu, 28 Aug 2003, Sean Chittenden wrote:

> > What it still leaves quite open is just what happens when the OS has
> > more than one disk drive or CPU to play with.  It's not clear what
> > happens in such cases, whether FreeBSD would catch up, or be "left
> > further in the dust."  The traditional "propaganda" has been that
> > there are all sorts of reasons to expect PostgreSQL on FreeBSD to
> > run a bit faster than on Linux; it is a bit unexpected for the
> > opposite to seem true.
> 
> Let me nip this in the butt before people run away with ideas that
> aren't correct.  When the tests were performed in FreeBSD 5.1 and
> Linux, the hard drives were running UDMA.  When running 4.8, for some
> reason his drives settled in on PIO mode:
> 
> ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
> 241 tn 12 sn 44) retrying
> ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
> 241 tn 12 sn 44) retrying
> ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
> 241 tn 12 sn 44) retrying
> ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
> 241 tn 12 sn 44) falling back to PIO mode
> 
> The benchmarks were hardly conclusive as UDMA runs vastly faster than
> PIO.  Until we hear back as to whether cables were jarred loose
> between the tests or hearing if something else changed, I'd hardly
> consider these conclusive tests given PIO/UDMA is apples to oranges in
> terms of speed and I fully expect that FreeBSD 4.8 will perform at
> least faster than 5.1 (5.x is still being unwound from Giant), but
> should out perform Linux as well if industry experience iss any
> indicator.

Plus, in most "real" servers you're gonna be running SCSI, so it might be 
nice to see a test with a good SCSI controller (Symbios 875 is a nice 
choice) and a couple hard drives, one each for WAL and data.  This would 
more closely resemble actual usage and there are likely to be fewer issues 
with things like UDMA versus PIO on SCSI.


---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Vivek Khera
> "SC" == Sean Chittenden <[EMAIL PROTECTED]> writes:

>> I need to step in and do 2 things:
SC> Thanks for posting that.  Let me know if you have any questions while
SC> doing your testing.  I've found that using 16K blocks on FreeBSD
SC> results in about an 8% speedup in writes to the database, fwiw.

ok.. ignore my prior request about how to set that... i missed you had
included a patch.

Any recommendations on newfs parameters for an overly large file
system used solely for Postgres?  Over 100Gb (with raid 10) or over
200Gb (with raid 5)?


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Vivek Khera
> "SC" == Sean Chittenden <[EMAIL PROTECTED]> writes:

>> I need to step in and do 2 things:
SC> Thanks for posting that.  Let me know if you have any questions while
SC> doing your testing.  I've found that using 16K blocks on FreeBSD
SC> results in about an 8% speedup in writes to the database, fwiw.

Where/how does one set this?  In postgresql.conf or on the file system
or during compilation of postgres?  I'm on FreeBSD 4.8 still.

I've got a box right now on which I'm comparing the speed merits of
hardware RAID10, RAID5, and RAID50 using a filesystem benchmark
utility (bonnie++).  If I have time I'm gonna try different striping
block sizes.  Right now I'm using 32k byte stripe size.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Sean Chittenden
> I need to step in and do 2 things:

Thanks for posting that.  Let me know if you have any questions while
doing your testing.  I've found that using 16K blocks on FreeBSD
results in about an 8% speedup in writes to the database, fwiw.

I'm likely going to make this the default for PostgreSQL on FreeBSD
starting with 7.4 (just posted something to -hackers about this)f.  If
you'd like to do this in your testing, just apply the following patch.

Right now PostgreSQL defaults to 8K blocks, but FreeBSD uses 16K
blocks which means that currently, reading two blocks of data in PG is
two read calls to the OS, one reads 16K of data off disk and returns
the 1st page, the 2nd call pulls the 2nd block from the FS cache.  In
making things 16K, it avoids the need for the 2nd system call which is
where the performance difference is coming from, afaikt.  -sc

-- 
Sean Chittenden
Index: src/include/pg_config_manual.h
===
RCS file: /home/ncvs/pgsql/pgsql-server/src/include/pg_config_manual.h,v
retrieving revision 1.5
diff -u -r1.5 pg_config_manual.h
--- src/include/pg_config_manual.h  4 Aug 2003 00:43:29 -   1.5
+++ src/include/pg_config_manual.h  27 Aug 2003 17:40:12 -
@@ -23,7 +23,7 @@
  *
  * Changing BLCKSZ requires an initdb.
  */
-#define BLCKSZ 8192
+#define BLCKSZ 16384
 
 /*
  * RELSEG_SIZE is the maximum number of blocks allowed in one disk

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Bill Moran
I need to step in and do 2 things:

First, apologize for posting inaccurate test results.

Second, verify that Sean is absolutely correct.  FreeBSD 4.8 was accessing
the drives in PIO mode, which is significantly lousier than DMA, which
RedHat was able to use.  As a result, the tests are unreasonably skewed
in favor of Linux.
The only thing that the currently posted results prove is that Linux is
better at dealing with crappy hardware than BSD (which I feel we already
knew).
I did some rescrounging, and found some newer hardware stuffed in a
corner that I had forgotten was even around.  I am currently re-running
the tests and will post new results as soon as there are enough to
be interesting to talk about.
In an attempt to avoid the same mistake, I did a timed test with dd(1)
to a raw partition on both Linux and FreeBSD to ensure that both systems
are able to access the hardware at more or less the same speed. The
results of this will be included.
I'm also gathering considerably more information about the state of
the system during the tests, which should answer a number of questions
I've been getting.
To the many people who asked questions like "why not try filesystem x
on distribution y" and similar questions, the answer in most cases is
time. I've pared the tests down some so they run faster, and I'm hoping
to be able to run more tests on more combinations of configurations as
a result. Also, I never intended for anyone to assume that I was _done_
testing, just that I had enough results for folks to talk about.
I'll post again when I have enough results to be interesting, until then,
I apologize again for the inaccurate results.
Sean Chittenden wrote:
What it still leaves quite open is just what happens when the OS has
more than one disk drive or CPU to play with.  It's not clear what
happens in such cases, whether FreeBSD would catch up, or be "left
further in the dust."  The traditional "propaganda" has been that
there are all sorts of reasons to expect PostgreSQL on FreeBSD to
run a bit faster than on Linux; it is a bit unexpected for the
opposite to seem true.
Let me nip this in the butt before people run away with ideas that
aren't correct.  When the tests were performed in FreeBSD 5.1 and
Linux, the hard drives were running UDMA.  When running 4.8, for some
reason his drives settled in on PIO mode:
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) retrying
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) retrying
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) retrying
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) falling back to PIO mode
The benchmarks were hardly conclusive as UDMA runs vastly faster than
PIO.  Until we hear back as to whether cables were jarred loose
between the tests or hearing if something else changed, I'd hardly
consider these conclusive tests given PIO/UDMA is apples to oranges in
terms of speed and I fully expect that FreeBSD 4.8 will perform at
least faster than 5.1 (5.x is still being unwound from Giant), but
should out perform Linux as well if industry experience iss any
indicator.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
 joining column's datatypes do not match


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Sean Chittenden
> What it still leaves quite open is just what happens when the OS has
> more than one disk drive or CPU to play with.  It's not clear what
> happens in such cases, whether FreeBSD would catch up, or be "left
> further in the dust."  The traditional "propaganda" has been that
> there are all sorts of reasons to expect PostgreSQL on FreeBSD to
> run a bit faster than on Linux; it is a bit unexpected for the
> opposite to seem true.

Let me nip this in the butt before people run away with ideas that
aren't correct.  When the tests were performed in FreeBSD 5.1 and
Linux, the hard drives were running UDMA.  When running 4.8, for some
reason his drives settled in on PIO mode:

ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) retrying
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) retrying
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) retrying
ad0s1a: UDMA ICRC error writing fsbn 1458368 of 729184-729215 (ad0s1 bn 1458368; cn 
241 tn 12 sn 44) falling back to PIO mode

The benchmarks were hardly conclusive as UDMA runs vastly faster than
PIO.  Until we hear back as to whether cables were jarred loose
between the tests or hearing if something else changed, I'd hardly
consider these conclusive tests given PIO/UDMA is apples to oranges in
terms of speed and I fully expect that FreeBSD 4.8 will perform at
least faster than 5.1 (5.x is still being unwound from Giant), but
should out perform Linux as well if industry experience iss any
indicator.

-sc

-- 
Sean Chittenden

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Al Hulaton
http://www.potentialtech.com/wmoran/postgresql.php
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
Adding my voice to the many, thanks for sharing your results Bill. Very 
instructive.

--
Best,
Al Hulaton|  Sr. Account Engineer  |  Command Prompt, Inc.
503.222.2783  |  [EMAIL PROTECTED]
Home of Mammoth PostgreSQL and 'Practical PostgreSQL'
Managed PostgreSQL, Linux services and consulting
Read and Search O'Reilly's 'Practical PostgreSQL' at
http://www.commandprompt.com
---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Tomka Gergely
2003-08-28 ragyogó napján Ludek Finstrle ezt üzente:

> > Intelligent feedback is welcome.
> >
> > http://www.potentialtech.com/wmoran/postgresql.php
>
> Good work. But I can't find information about xfs. Do you plan to add
> this one FS in test?

http://mail.sth.sze.hu/~hsz/sql/



-- 
Tomka Gergely
"S most - vajon barbárok nélkül mi lesz velünk?
Ők mégiscsak megoldás voltak valahogy..."


---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Tomka Gergely
2003-08-28 ragyogó napján Christopher Browne ezt üzente:

> A long time ago, in a galaxy far, far away, [EMAIL PROTECTED] ("Balazs Wellisch") 
> wrote:
> > Very interesting results. I'd like to command you on your honesty.
> > Having started out with the intentions of proving that FreeBSD is faster
> > than Linux only to find that the opposite is true must not have been
> > rewarding for you. However, these unexpected results serve only to
> > reinforce the integrity of your tests.
>
> Well put.
>
> To see a result that the tester didn't really want to see/present does
> suggest good things about the tester's honesty.  There was incentive
> to hide unfavorable results.
>
> What it still leaves quite open is just what happens when the OS has
> more than one disk drive or CPU to play with.  It's not clear what
> happens in such cases, whether FreeBSD would catch up, or be "left
> further in the dust."  The traditional "propaganda" has been that
> there are all sorts of reasons to expect PostgreSQL on FreeBSD to run
> a bit faster than on Linux; it is a bit unexpected for the opposite to
> seem true.

AFAIK *BSD better in the handling of big loads - maybe when multiple
concurrent tests run against a linux and a bsd box, we see better result.
Or not.

-- 
Tomka Gergely
"S most - vajon barbárok nélkül mi lesz velünk?
Ők mégiscsak megoldás voltak valahogy..."


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Rod Taylor
Couple of questions:

What was the postgresql.conf configuration used? Default?

How many threads of the script ran? Looks like a single user only.

I assume there was nothing else running at the time (cron, sendmail,
etc. were all off?)

Do you know whether the machines were disk or I/O bound?

Was PostgreSQL compiled the same for each OS or did you use the rpm,
deb, tgz that were available?

On Tue, 2003-08-26 at 21:47, Bill Moran wrote:
> Hey all.
> 
> I said I was going to do it, and I finally did it.
> 
> As with all performance tests/benchmarks, there are probably dozens or
> more reasons why these results aren't as accurate or wonderful as they
> should be.  Take them for what they are and hopefully everyone can
> learn a few things from them.
> 
> Intelligent feedback is welcome.
> 
> http://www.potentialtech.com/wmoran/postgresql.php


signature.asc
Description: This is a digitally signed message part


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Jeff
On Tue, 26 Aug 2003, Bill Moran wrote:

>
> Intelligent feedback is welcome.
>
That's some good work there, Lou. You'll make sgt for that someday.

But I think the next step, before trying out other filesystems and options
would be concurrency. Run a bunch of these beasts together and see what
happens (I don't think too many of us have a single session running).
Perhaps even make them "interfere" with each other to create as much
"pain" as possible?

on a side note - I might be blind here - I didn't see what version of pg
you were using or any postgresql.conf tweaks - or did you just use
whatever came with each distro?

--
Jeff Trout <[EMAIL PROTECTED]>
http://www.jefftrout.com/
http://www.stuarthamm.net/



---(end of broadcast)---
TIP 6: Have you searched our list archives?

   http://archives.postgresql.org


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Christopher Browne
A long time ago, in a galaxy far, far away, [EMAIL PROTECTED] ("Balazs Wellisch") 
wrote:
> Very interesting results. I'd like to command you on your honesty.
> Having started out with the intentions of proving that FreeBSD is faster
> than Linux only to find that the opposite is true must not have been
> rewarding for you. However, these unexpected results serve only to
> reinforce the integrity of your tests.

Well put.

To see a result that the tester didn't really want to see/present does
suggest good things about the tester's honesty.  There was incentive
to hide unfavorable results.

What it still leaves quite open is just what happens when the OS has
more than one disk drive or CPU to play with.  It's not clear what
happens in such cases, whether FreeBSD would catch up, or be "left
further in the dust."  The traditional "propaganda" has been that
there are all sorts of reasons to expect PostgreSQL on FreeBSD to run
a bit faster than on Linux; it is a bit unexpected for the opposite to
seem true.
-- 
output = reverse("gro.mca" "@" "enworbbc")
http://www3.sympatico.ca/cbbrowne/sap.html
"I am aware of the benefits  of a micro kernel approach.  However, the
fact remains  that Linux is  here, and GNU  isn't --- and  people have
been working on Hurd for a lot longer than Linus has been working on
Linux." -- Ted T'so, 1992.

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Ludek Finstrle
> Intelligent feedback is welcome.
> 
> http://www.potentialtech.com/wmoran/postgresql.php

Good work. But I can't find information about xfs. Do you plan to add
this one FS in test?

Luf

---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Ron Johnson
On Tue, 2003-08-26 at 20:47, Bill Moran wrote:
> Hey all.
> 
> I said I was going to do it, and I finally did it.
> 
> As with all performance tests/benchmarks, there are probably dozens or
> more reasons why these results aren't as accurate or wonderful as they
> should be.  Take them for what they are and hopefully everyone can
> learn a few things from them.
> 
> Intelligent feedback is welcome.
> 
> http://www.potentialtech.com/wmoran/postgresql.php

I notice that the Linux FSs weren't tested with noatime.  Any 
reason?

-- 
-
Ron Johnson, Jr. [EMAIL PROTECTED]
Jefferson, LA USA

"As I like to joke, I may have invented it, but Microsoft made 
it popular"
David Bradley, regarding Ctrl-Alt-Del 


---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Ron Johnson
On Tue, 2003-08-26 at 20:47, Bill Moran wrote:
> Hey all.
> 
> I said I was going to do it, and I finally did it.
> 
> As with all performance tests/benchmarks, there are probably dozens or
> more reasons why these results aren't as accurate or wonderful as they
> should be.  Take them for what they are and hopefully everyone can
> learn a few things from them.
> 
> Intelligent feedback is welcome.
> 
> http://www.potentialtech.com/wmoran/postgresql.php

Hi,

Woody has pg 7.2.1.  Note also that Woody comes with kernel 2.4.18.

It would be interesting to see how Debian Sid (kernel 2.4.21 and
pg 7.3.3) would perform.

Thanks for the results!

-- 
-
Ron Johnson, Jr. [EMAIL PROTECTED]
Jefferson, LA USA

"Oh, great altar of passive entertainment, bestow upon me thy 
discordant images at such speed as to render linear thought impossible"
Calvin, regarding TV


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [PERFORM] The results of my PostgreSQL/filesystem performance

2003-08-28 Thread Dennis Björklund
On Tue, 26 Aug 2003, Bill Moran wrote:

> As with all performance tests/benchmarks, there are probably dozens or
> more reasons why these results aren't as accurate or wonderful as they
> should be.  Take them for what they are and hopefully everyone can
> learn a few things from them.

What version of pg was used in debian and redhat? For freebsd it's 7.2.4
it says on the page, but I see nothing about the other two. The version
that comes with Redhat 9 (Shrike) is 7.3.2.

-- 
/Dennis


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Shridhar Daithankar
On 26 Aug 2003 at 21:47, Bill Moran wrote:

> Hey all.
> 
> I said I was going to do it, and I finally did it.
> 
> As with all performance tests/benchmarks, there are probably dozens or
> more reasons why these results aren't as accurate or wonderful as they
> should be.  Take them for what they are and hopefully everyone can
> learn a few things from them.
> 
> Intelligent feedback is welcome.
> 
> http://www.potentialtech.com/wmoran/postgresql.php

Can we have these benchmarks and relevant information stored in a central 
archive at techdocs(Say)?

That would be better than searching mail archives..


Bye
 Shridhar

--
"... freedom ... is a worship word..."  "It is our worship word too."  
 -- Cloud 
William and Kirk, "The Omega Glory", stardate unknown


---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly


Re: [PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Balazs Wellisch

Bill,

Very interesting results. I'd like to command you on your honesty.
Having started out with the intentions of proving that FreeBSD is faster
than Linux only to find that the opposite is true must not have been
rewarding for you. However, these unexpected results serve only to
reinforce the integrity of your tests.

Thanks for all the work.

Balazs



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
Sent: Tuesday, August 26, 2003 6:48 PM
To: [EMAIL PROTECTED]
Subject: [PERFORM] The results of my PostgreSQL/filesystem performance
tests

Hey all.

I said I was going to do it, and I finally did it.

As with all performance tests/benchmarks, there are probably dozens or
more reasons why these results aren't as accurate or wonderful as they
should be.  Take them for what they are and hopefully everyone can
learn a few things from them.

Intelligent feedback is welcome.

http://www.potentialtech.com/wmoran/postgresql.php

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings



---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


[PERFORM] The results of my PostgreSQL/filesystem performance tests

2003-08-28 Thread Bill Moran
Hey all.

I said I was going to do it, and I finally did it.

As with all performance tests/benchmarks, there are probably dozens or
more reasons why these results aren't as accurate or wonderful as they
should be.  Take them for what they are and hopefully everyone can
learn a few things from them.
Intelligent feedback is welcome.

http://www.potentialtech.com/wmoran/postgresql.php

--
Bill Moran
Potential Technologies
http://www.potentialtech.com
---(end of broadcast)---
TIP 7: don't forget to increase your free space map settings