Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 12:58:29 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/cam/ata ata_all.c ata_da.c src/sys/geom geom_dev.c src/sys/sys ata.h
Message-ID:  <201001191259.o0JCxRpl058121@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2010-01-19 12:58:29 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/cam/ata          ata_all.c ata_da.c 
    sys/geom             geom_dev.c 
    sys/sys              ata.h 
  Log:
  SVN rev 202615 on 2010-01-19 12:58:29Z by mav
  
  MFC r201139:
  Add BIO_DELETE support to ada(4):
  - For SSDs use TRIM feature of DATA SET MANAGEMENT command, as defined by
  ACS-2 specification working draft.
  - For CompactFlash use CFA ERASE command, same as ad(4) does.
  
  With this patch, `newfs -E /dev/ada1` was able to restore write speed of
  my heavily weared OCZ Vertex SSD (firmware 1.4) up to the initial level
  for the most part of it's capacity.
  
  I have no idea whether it is normal, but for some reason it takes 200ms
  to handle any TRIM command on this drive, that was making delete extremely
  slow. But TRIM command is able to accept long list of LBAs and the length of
  that list seems doesn't affect it's execution time. Implemented request
  clusting algorithm allowed me to rise delete rate up to reasonable numbers,
  when many parallel DELETE requests running.
  
  Revision   Changes    Path
  1.1.2.11   +7 -1      src/sys/cam/ata/ata_all.c
  1.2.2.12   +241 -111  src/sys/cam/ata/ata_da.c
  1.102.2.4  +2 -2      src/sys/geom/geom_dev.c
  1.41.2.6   +11 -3     src/sys/sys/ata.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001191259.o0JCxRpl058121>