pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tv@fuzzy.cz>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Tomas Vondra <tv@fuzzy.cz>
Cc: gnuoytr@rcn.com
Cc: pgsql-performance@postgresql.org
Subject: Re: Reports from SSD purgatory
Date: Wed, 24 Aug 2011 21:54:48 +0200
Message-ID: <7f2f649f65217953bec5b3f3ca9c6998.squirrel@sq.gransy.com> (raw)
In-Reply-To: <CAHyXU0zDA+3naKPdVf5h9=gOSWPwPa2fUc+Psbwna5SgUU3TAw@mail.gmail.com>
References: <4E49B0A0.2060705@2ndQuadrant.com>
	<201108241848.061232@ms14.lnh.mail.rcn.net>
	<d32d411b09d8e7c614772de567a94229.squirrel@sq.gransy.com>
	<CAHyXU0zDA+3naKPdVf5h9=gOSWPwPa2fUc+Psbwna5SgUU3TAw@mail.gmail.com>

On 24 Srpen 2011, 21:41, Merlin Moncure wrote:
> On Wed, Aug 24, 2011 at 2:32 PM, Tomas Vondra <tv@fuzzy.cz> wrote:
>> On 24 Srpen 2011, 20:48, gnuoytr@rcn.com wrote:
>>> Also, given that PG is *nix centric and support for TRIM is win
>>> centric,
>>> having that makes a big difference in performance.
>>
>> Windows specific? What do you mean? TRIM is a low-level way to tell the
>> drive 'this block is empty and may be used for something else' - it's
>> just
>> another command sent to the drive. It has to be supported by the
>> filesystem, though (e.g. ext4/btrfs support it).
>
> Well, it's a fair point that TRIM support is probably more widespread
> on windows.

AFAIK the only versions that supports it natively are Windows 7 and
Windows Server 2008 R2 - with other versions you're stuck with
command-line tools equal to wiper.sh or hdparm. So I don't see a
significant difference here - with a reasonably new systems (at least
kernel 2.6.33), the support is about the same.

Obviously there more machines with Windows, especially in the field of
desktop/laptop, but that does not make the TRIM Windows-specific I guess.
Most of them runs old versions (without TRIM support) anyway.

Tomas




view thread (13+ messages)  latest in thread

Message-ID: <7f2f649f65217953bec5b3f3ca9c6998.squirrel@sq.gransy.com>
Permalink:  ../7f2f649f65217953bec5b3f3ca9c6998.squirrel@sq.gransy.com/
Also on:    postgresql.org/message-id/7f2f649f65217953bec5b3f3ca9c6998.squirrel@sq.gransy.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tv@fuzzy.cz, mmoncure@gmail.com, gnuoytr@rcn.com
  Subject: Re: Reports from SSD purgatory
  In-Reply-To: <7f2f649f65217953bec5b3f3ca9c6998.squirrel@sq.gransy.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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