Date: Fri, 22 Jul 2016 14:27:11 -0500 From: Karl Denninger <karl@denninger.net> To: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: ZFS, SSD and encryption Message-ID: <c52ebaa8-e82b-1a17-d868-52c40032c3d5@denninger.net> In-Reply-To: <CAASnNnpnST%2BD6fVT%2BFrH%2BomkwNQb4rG1NJk0T=O2AetzrXEThA@mail.gmail.com> References: <CAJPDrRtLBNKr4BynSGMRfFGdAR0ZbDuwfcqkLupvk5HtgqrbQg@mail.gmail.com> <b8b000ff-289c-7348-8b63-00f3ac51accf@denninger.net> <CAASnNnpnST%2BD6fVT%2BFrH%2BomkwNQb4rG1NJk0T=O2AetzrXEThA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 7/22/2016 14:02, Eric A. Borisch wrote: > On Friday, July 22, 2016, Karl Denninger <karl@denninger.net > <mailto:karl@denninger.net>> wrote: > > > On 7/22/2016 07:48, Nikos Kastanas wrote: > > I have a Lenovo X220 laptop running FreeBSD 10.3-RELEASE with > ZFS and > > encryption on a plain HDD. I am considering buying a Samsung Pro > 850 SSD to > > boost performance but I am not sure if TRIM and ZFS+Encryption > work well > > together. After some research online, I found *this page* > > <https://www.freebsd.org/doc/faq/all-about-zfs.html>which states the > > following: > > > > *Note: * > > ZFS TRIM may not work with all configurations, such as a ZFS > filesystem on > > a GELI-backed device. > > > > From what I can understand from the above note, I should not use the > > encryption option when installing FreeBSD with ZFS on an SSD. > TRIM will not > > work correctly and therefore the SSD performace will be impacted. > Meh. Simply not true. > > > It will not work on 10.3, but will work (as Karl demonstrates) on > 11.x. Here's the commit to head enabling it: > > https://svnweb.freebsd.org/base?view=revision&revision=286444 > > And here's what is in 10.3 (BIO_DELETE case returns EOPNOTSUPP): > > https://svnweb.freebsd.org/base/releng/10.3/sys/geom/eli/g_eli.c?revision=296373&view=markup#l319 > > - Eric Note that the system in question (from which the stats were pulled) was on 10.2 for an extended period of time, with SSDs, and with Geli-encrypted disks. It was fine with no performance issues; whether there is a problem with earlier releases has much to do with the disks in question. In the case of the Intel 730s it works perfectly well even though TRIM is not passed through in that case. -- Karl Denninger karl@denninger.net <mailto:karl@denninger.net> /The Market Ticker/ /[S/MIME encrypted email preferred]/ [-- Attachment #2 --] 0 *H 010 `He 0 *H _0[0C)0 *H 010 UUS10UFlorida10U Niceville10U Cuda Systems LLC10UCuda Systems LLC CA1"0 *H Cuda Systems LLC CA0 150421022159Z 200419022159Z0Z10 UUS10UFlorida10U Cuda Systems LLC10UKarl Denninger (OCSP)0"0 *H 0 X@vkY Tq/vE]5#֯MX\8LJ/V?5Da+ sJc*/r{ȼnS+ w")ąZ^DtdCOZ ~7Q '@a#ijc۴oZdB&!Ӝ-< ?HN5y 5}F|ef"Vلio74zn">a1qWuɖbFeGE&3(KhixG3!#e_XƬϜ/,$+;4y'Bz<qT9_?rRUpn5 Jn&Rx/p Jyel*pN8/#9u/YPEC)TY>~/˘N[vyiDKˉ,^" ?$T8 v&K%z8C @?K{9f`+@,|Mbia 007++0)0'+0http://cudasystems.net:88880 U0 0 `HB0U0, `HB OpenSSL Generated Certificate0U-h\Ff Y0U#0$q}ݽʒm50U0karl@denninger.net0 *H Owbabɺx&Uk[(Oj!%p MQ0I!#QH}.>~2&D}<wm_>V6v]f>=Nn+8;q wfΰ/RLyUG#b}n!Dր_up|_ǰc/%ۥ nN8:d;-UJd/m1~VނיnN I˾$tF1&}|?q?\đXԑ&\4V<lKۮ3%Am_(q-(cAeGX)f}-˥6cv~Kg8m~v;|9:-iAPқ6ېn-.)<[$KJtt/L4ᖣ^Cmu4vb{+BG$M0c\[MR|0FԸP&78"4p#}DZ9;V9#>Sw"[UP7100010 UUS10UFlorida10U Niceville10U Cuda Systems LLC10UCuda Systems LLC CA1"0 *H Cuda Systems LLC CA)0 `He M0 *H 1 *H 0 *H 1 160722192711Z0O *H 1B@xrx7h3H54us5?bCUnH{0l *H 1_0]0 `He*0 `He0 *H 0*H 0 *H @0+0 *H (0 +710010 UUS10UFlorida10U Niceville10U Cuda Systems LLC10UCuda Systems LLC CA1"0 *H Cuda Systems LLC CA)0*H 1010 UUS10UFlorida10U Niceville10U Cuda Systems LLC10UCuda Systems LLC CA1"0 *H Cuda Systems LLC CA)0 *H Y$`qNuվi~#;I%[h>v7R/TbLў$~վݶx sE֙o.2f7 lWʧ1HIg?k|L pZr$//+_NegzkmO g=N%NI)1Iwκqx34^0S۞E{Ա7! Y-$k<G]M_ym!i:'=+"}0\d>s7#1N蟥nFlH^mDpAaNkd^ PEDͬ[C VT%"*0QkZUVj<$$KFMLQ6% w-)-)GӥHrL߆Ga}~E;9U8y:)`kZXr8SI|aX'waq0P:*bL[AȶĈQ{F1home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c52ebaa8-e82b-1a17-d868-52c40032c3d5>
