ZFS Slow Performance Fix
Update: The following information could be beneficial to some, however my issues actually were with Caviar black drives shipping with TLER disabled. You need to pay Western Digital a premium for their “RAID” drives with TLER enabled. So for anyone reading this, avoid consumer Western Digital drives if you plan on using them for RAID.
zfs_vdev_max_pending
I can’t believe how long I have been tolerating horrible concurrent IO performance on OpenSolaris running ZFS. When I have any IO intensive writes happening the whole system slows down to a crawl for any further IO. Running “ls” on a uncached directory is just painful.
victori@opensolaris:/opt# iostat -xnz 1
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 87.0 0.0 2878.1 0.0 0.0 0.0 0.4 0 100 c4t0d0
0.0 83.0 0.0 2878.1 0.0 0.1 0.2 0.7 1 50 c4t1d0
1.0 0.0 28.0 0.0 0.0 0.0 0.0 5.4 0 1 c4t2d0
Notice c4t0d0 is blocking at 100%. If a disk is blocking at 100% good luck getting the disk to do any other operations such as reads.
SATA disks do Native Command Queuing while SAS disks do Tagged Command Queuing, this is an important distinction. Seems like OpenSolaris/Solaris is optimized for the latter with a 32 wide command queue set by default. This completely saturates the SATA disks with IO commands in turn making the system unusable for short periods of time.
Dynamically set the ZFS command queue to 1 to optimize for NCQ.
echo zfs_vdev_max_pending/W0t1 | mdb -kw
And add to /etc/system
set zfs:zfs_vdev_max_pending=1
Enjoy your OpenSolaris server on cheap SATA disks!
Hi to every body, it’s my first pay a quick visit of this web site; this web site consists of awesome and truly fine material in favor of readers.
I have read a few good stuff here. Certainly value bookmarking for revisiting.
I surprise how much effort you set to make this kind of magnificent informative
website.
I read a lot of interesting content here. Probably you spend a lot of time writing,
i know how to save you a lot of time, there is an online tool that creates readable, SEO friendly posts in seconds,
just search in google – laranitas free content source
Sweet blog! I found it while surfing around on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to
get there! Thanks
Hello there! Quick question that’s entirely off topic.
Do you know how to make your site mobile friendly? My site looks weird when browsing
from my iphone4. I’m trying to find a template or plugin that might be able to fix
this problem. If you have any suggestions, please share.
Cheers!
all the time i used to read smaller content which also clear their motive, and that is also happening with this article which I
am reading here.
Write more, thats all I have to say. Literally, it seems as though you relied on the video to
make your point. You definitely know what youre
talking about, why waste your intelligence on just posting videos to your
site when you could be giving us something informative to read?
Thank you for the auspicious writeup. It if truth be told used to
be a entertainment account it. Look complicated
to far introduced agreeable fro you! By the way, how could we
be in contact?
Heya! I realize this is somewhat off-topic however I had to ask.
Does operating a well-established website such as yours require a massive
amount work? I am completely new to running a blog however I do write in my journal
on a daily basis. I’d like to start a blog so I can share my experience and thoughts
online. Please let me know if you have any kind of suggestions or tips for brand new aspiring blog owners.
Appreciate it!
I am curious to find out what blog platform you’re working with?
I’m experiencing some minor security issues with my latest blog and I would like to find something more
safeguarded. Do you have any suggestions?
It’s awesome to go to see this web site and reading the
views of all mates on the topic of this post, while I am also keen of getting familiarity.
We absolutely love your blog and find nearly all of your post’s to be what
precisely I’m looking for. Does one offer guest writers to write
content available for you? I wouldn’t mind composing a
post or elaborating on most of the subjects you write regarding here.
Again, awesome website!
My brother recommended I might like this blog. He was entirely right.
This publish truly made my day. You cann’t consider simply how a lot time I had
spent for this info! Thanks!
I have read so many articles or reviews regarding the
blogger lovers except this article is in fact a nice piece of writing, keep it
up.
I think this is among the most vital info for me.
And i’m glad reading your article. But wanna remark on some general things, The web site style is perfect, the articles is
really great : D. Good job, cheers
I’m amazed, I must say. Seldom do I come across a blog that’s both
equally educative and interesting, and without a doubt, you’ve hit the nail on the head.
The problem is an issue that too few men and women are speaking intelligently about.
I’m very happy that I found this in my search for something
concerning this.
Hello terrific blog! Does running a blog such as this take a great deal of work?
I’ve virtually no knowledge of programming however I had
been hoping to start my own blog soon. Anyways, if you have any recommendations or tips for new blog owners please share.
I know this is off topic however I simply wanted to ask.
Appreciate it!
Write more, thats all I have to say. Literally,
it seems as though you repied on the video to make our point.
You obviously know what youre tlking about, why waste your intelligence on just posting videos to your weblog
when you could be giving us something informative to
read?
Great post. I used to be checking continuously this weblog and I am impressed!
Very helpful information specially the closing part 🙂 I handle such info much.
I used to be looking for thnis certain information for
a very long time. Thanks and best of luck.
The mdb hack throws an error in current Omnios LTS. Not sure why that is. I used it on earlier Illumos builds.
I have to convey my passion for your kind-heartedness supporting persons that have the need for guidance on that situation. Your very own commitment to getting the message throughout became especially productive and have continuously permitted women much like me to get to their goals. Your own helpful report denotes so much to me and somewhat more to my peers. Best wishes; from all of us.