From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roberto Spadim Subject: Re: SSD - TRIM command Date: Mon, 21 Feb 2011 22:55:24 -0300 Message-ID: References: <4D62CF5F.6080007@cfl.rr.com> <20110222003610.GB29101@bounceswoosh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: =?ISO-8859-1?Q?Mathias_Bur=E9n?= Cc: "Eric D. Mudama" , Phillip Susi , David Brown , linux-raid@vger.kernel.org List-Id: linux-raid.ids it can be used for badblock reallocation if harddisk have it a harddisk is near to NOR ssd with variable accesstime, if head is near sector to be read/write accesstime is small, if sector is far from head, access time increase (normaly <=3D1 disk revolution if head control system is good, for 7200rpm 1revolution is near to 8.33ms) 2011/2/21 Mathias Bur=E9n : > On 22 February 2011 01:46, Roberto Spadim wro= te: >> if it make sense on ssd, harddisk make sense too, it's a block devic= e >> like ssd, the diference of ssd/harddisk? access time, >> bytes(bits)/block, life time >> bad block exist in ssd and harddisk, ssd can realloc online, some ha= rddisks too >> >>> no, because the host may immediately write to a trim'd sector >> yes, filesystem know where exists a unused sector >> if device (harddisk/ssd) know and have a reallocation algorithm, it >> can realloc without telling filesystem to do it (that's why TRIM is >> interesting) >> since today ssd use NAND (not NOR) the block size isn't 1 bit like a >> harddisk head. trim for harddisk only make sense for badblock >> reallocation >> -------------------------- >> getting back to the first question, can MD support trim? yes/no/not >> now/some levels and layouts only? >> -- >> Roberto Spadim >> Spadim Technology / SPAEmpresarial > > This explains a bit why trim is good for SSDs and has nothing to do > with harddrives at all, since they use spinning platters and not > chips. http://www.anandtech.com/show/2738/10 > > // Mathias > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid"= in > the body of a message to majordomo@vger.kernel.org > More majordomo info at =A0http://vger.kernel.org/majordomo-info.html > --=20 Roberto Spadim Spadim Technology / SPAEmpresarial -- To unsubscribe from this list: send the line "unsubscribe linux-raid" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html