Date: Tue, 15 Jan 2013 23:48:25 -0800 From: Dieter BSD <dieterbsd@gmail.com> To: freebsd-hackers@freebsd.org Subject: Re: IBM blade server abysmal disk write performances Message-ID: <CAA3ZYrB%2B4LU=YRQsvYB19sE9ywjejyP7Gc4j8fpTGx2LaZm4kw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Karim writes: > It is quite obvious that something is awfully slow on SAS drives, > whatever it is and regardless of OS comparison. We swapped the SAS > drives for SATA and we're seeing much higher speeds. Basically on par > with what we were expecting (roughly 300 to 400 times faster then what > we see with SAS...). Major clue there! According to wikipedia: "Most SAS drives provide tagged command queuing, while most newer SATA drives provide native command queuing" [1] Note that the driver says "Command Queueing enabled" without specifying which. If the driver is trying to use SATA's NCQ but the drive only speaks SCSI's TCQ, that could explain it. Or if the TCQ isn't working for some other reason. See if there are any error messages in dmesg or /var/log. If not, perhaps the driver has extra debugging you could turn on. Get TCQ working and make sure your partitions are aligned on 4 KiB boundaries (in case the drive actually has 4 KiB sectors), and you should get the expected performance. [1] http://en.wikipedia.org/wiki/Serial_attached_SCSI
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA3ZYrB%2B4LU=YRQsvYB19sE9ywjejyP7Gc4j8fpTGx2LaZm4kw>