linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nebojsa Trpkovic <trx.lists@gmail.com>
To: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: Eric Sandeen <sandeen@redhat.com>, linux-ext4@vger.kernel.org
Subject: Re: "data=writeback" and TRIM don't get along
Date: Thu, 08 Apr 2010 13:47:46 +0200	[thread overview]
Message-ID: <4BBDC262.7060504@gmail.com> (raw)
In-Reply-To: <8739z6v2ew.fsf@openvz.org>

On 04/08/10 09:17, Dmitry Monakhov wrote:
> Nebojsa Trpkovic <trx.lists@gmail.com> writes:
>> Intel X25-V 40GB (latest firmware)
> can you please provide an actual version of firmware.
> As soon as i know X25 zeroing was disabled.
> Can you please post an output of your queue flags 
> cat /sys/block/sdXXX/queue/discard_zeroes_data 

======================
cat /sys/block/sda/queue/discard_zeroes_data
1
cat /sys/block/sda/queue/discard_granularity
512
======================

Short history (you're probably talking about Intel's firmware problems):

- Intel releases X25-M (80 and 160GB) G1. G1 doesn't support TRIM.
- Intel releases X25-M (80 and 160GB) G2. G2's initial firmware doesn't
support TRIM.
- Intel makes TRIM-enabled firmware for G2 and publishes it.
- Customers hammer some of their G2 SSDs by flashing new firmware.
- Intel withdraws new firmware.
- Intel fixes firmware and releases new one (this time without nasty
behaviour). Read 2 updates on the start of first page:
http://www.anandtech.com/show/2865
- Intel sells it's technology to Kingston and Kingston starts to produce
40GB version of G2 named Kingston BootDrive SNV125-S2/40GB that doesn't
support TRIM. (Kingston produced some full-grown G1 and G2, but that is
not a point here. SNM125 and SNM225).
http://www.anandtech.com/show/2865/4
- Intel starts selling it's own 40GB G2 named X25-V with TRIM enabled
out of the box.
http://www.anandtech.com/show/2968/intel-s-x25-v-kingston-s-30gb-ssdnow-v-series-battle-of-the-125-ssds
- (guess) Intel needs too much royalties from Kingston for TRIM enabled
firmware, so Kingston SNV125-S2/40GB doesn't get (official) TRIM enabled
firmware and Kingston stops selling Intel-based SSDs.


Anyways, all X25-V are shipped with TRIM enabled firmware.
My current firmware is 2CV102HD.
hdparm -I /dev/sda gives this, too:
        Enabled Supported:
           *    Data Set Management TRIM supported
           *    Deterministic read ZEROs after TRIM

Nebojsa


      reply	other threads:[~2010-04-08 11:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  0:50 "data=writeback" and TRIM don't get along Nebojsa Trpkovic
2010-04-08  1:22 ` Eric Sandeen
2010-04-08  1:37   ` Nebojsa Trpkovic
2010-04-08  4:10     ` Eric Sandeen
2010-04-08  4:37       ` Eric Sandeen
2010-04-08  4:47         ` Eric Sandeen
2010-04-08 11:48           ` Nebojsa Trpkovic
2010-04-08 15:32             ` Eric Sandeen
2010-04-08 16:21               ` Nebojsa Trpkovic
2010-04-08 16:34                 ` Eric Sandeen
2010-04-08  7:17     ` Dmitry Monakhov
2010-04-08 11:47       ` Nebojsa Trpkovic [this message]

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BBDC262.7060504@gmail.com \
    --to=trx.lists@gmail.com \
    --cc=dmonakhov@openvz.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sandeen@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).