TRIM support through ciss

2013-06-05 Thread Dmitry Morozovsky
Dear colleagues, I have a DB server with ciss and a bunch of disks (8 SAS + 2 Intel SATA SSD). However, this setup does not seem to support TRIM on SSDs: kstat.zfs.misc.zio_trim.bytes: 0 kstat.zfs.misc.zio_trim.success: 0 kstat.zfs.misc.zio_trim.unsupported: 418 kstat.zfs.misc.zio_trim.failed:

Re: TRIM support through ciss

2013-06-05 Thread Steven Hartland
- Original Message - From: Dmitry Morozovsky ma...@rinet.ru To: freebsd-stable@FreeBSD.org Sent: Wednesday, June 05, 2013 11:00 PM Subject: TRIM support through ciss Dear colleagues, I have a DB server with ciss and a bunch of disks (8 SAS + 2 Intel SATA SSD). However, this setup

Re: TRIM support through ciss

2013-06-05 Thread Jeremy Chadwick
On Thu, Jun 06, 2013 at 02:00:36AM +0400, Dmitry Morozovsky wrote: Dear colleagues, I have a DB server with ciss and a bunch of disks (8 SAS + 2 Intel SATA SSD). However, this setup does not seem to support TRIM on SSDs: kstat.zfs.misc.zio_trim.bytes: 0 kstat.zfs.misc.zio_trim.success:

Re: TRIM support through ciss

2013-06-05 Thread Dmitry Morozovsky
On Wed, 5 Jun 2013, Steven Hartland wrote: For ZFS you really don't want to use a HW RAID, its much better to just give ZFS the raw disks as you gain nice features like self healing :) I know this well, and use it for a dozen servers with regular SATA (enterprrize-grade though, like WD RE4s)

Re: TRIM support through ciss

2013-06-05 Thread Dmitry Morozovsky
On Wed, 5 Jun 2013, Jeremy Chadwick wrote: [snip a bit] I assume this is you running stable/9 with r251419 or newer (which just got committed a few hours ago)? Yes, sure, I missed to mention it explicitely. I haven't looked at the code, but it is very, VERY important to remember that you

Re: TRIM support through ciss

2013-06-05 Thread Steven Hartland
- Original Message - From: Dmitry Morozovsky ma...@rinet.ru well, to be a bit more precise: SSDs are split to have mirrored ZIL and splitted L2ARC, and SASes are mirrored in pairs: root@briareus:/usr/src# zpool status pool: br state: ONLINE scan: scrub repaired 0 in 0h0m with 0