Archive for the ‘Solaris’ Category

Faster ::memstat

A new updated ::memstat mdb command is coming to Solaris. Read more details here. In short, the expected speedup ranges from 13X up to 500X in the best cases, so if you’re sitting behind M9000 you’ll certainly praise it.

Posted on August 12, 2009 at 11:25 am by sergeyt · Permalink · Leave a comment
In: Solaris

Sleeping in a /vol

If running “ls -l /” stalls but the same command to any other directory works seamlessly then most probably you’re hitting the following issue. To confirm that use truss: # truss ls -l . . . lstat64(“/vol”, 0xFFBFF8E8) (sleeping…) Additionally try “grep /var/adm/message” for NFS errors: # grep NFS /var/adm/messages NFS server for volume management […]

Posted on July 22, 2009 at 1:32 pm by sergeyt · Permalink · Leave a comment
In: Solaris

Solaris 10 Internals

Just finished re-reading few chapters of Solaris 10 Internals and I must admin this book is truly awesome. It’s not only because it’s well written and very detailed but also spiced with code examples and this fact just encourages you to dive deeper and deeper. Moreover, this book covers some topics (i.e. Memory, The Process […]

Posted on July 6, 2009 at 3:31 pm by sergeyt · Permalink · Leave a comment
In: Solaris · Tagged with: 

ZFS source tour

Whilst reading another highly interesting and cognitive post about ZFS SLOG from Brendan Gregg I came across a valuable link that holds a brief overview of ZFS related source code. Devote a little part of your time to familiarize with ZFS structure and its main building blocks. It’s definitely worth that and, who knows, may […]

Posted on July 2, 2009 at 9:19 am by sergeyt · Permalink · Leave a comment
In: Solaris

Oracle’s option that neglects DR on SUN

I’m in no way an Oracle expert and my opinion has no influence but still I’d like to point out on a ridiculously stupid behavior caused by a hidden Oracle’s parameter called _enable_NUMA_optimization. As I’ve been told by our DBAs, in Oracle 9 this option was set to FALSE but in Oracle 10.2.0.1 they decided […]

Posted on June 26, 2009 at 11:28 am by sergeyt · Permalink · Leave a comment
In: Solaris

Disable mpxio per vendor basis

If you ever wondered about disabling mpxio not only per port but per vendor basis then you’d be surprised to know how easy it’s really to fulfill. Just edit /kernel/drv/scsi_vhci.conf file appropriately: device-type-scsi-options-list = “VendorID1ProductID1”, “disable-option”, “VendorID2ProductID2”, “disable-option”, … “VendorIDnProductIDn”, “disable-option”; disable-option = 0x7000000; So if you, just like me, want to disable mpxio for […]

Posted on June 25, 2009 at 4:06 pm by sergeyt · Permalink · Leave a comment
In: Solaris

Handful of links

Just came across a very useful blog note full of the essential Solaris papers. Solaris white album: essential papers. Noticed that some of these documents were lately released imprinted verbatim in “Solaris Internals” book.

Posted on June 15, 2009 at 2:48 pm by sergeyt · Permalink · Leave a comment
In: Solaris

Maximum number of processes

If you’re with some Linux background under you belt then probably the first command you would think about is ulimit -a. The same command exists under Solaris root@root # ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited open files (-n) 32768 pipe size (512 […]

Posted on May 28, 2009 at 11:09 pm by sergeyt · Permalink · Leave a comment
In: Solaris

What’s new in OpenSolaris 2009.06

If you’re curious about new feature and technologies that are going to be introduced in the new upcoming OpenSolaris release then this presentation prepared by Peter Dennis is a must read.

Posted on May 27, 2009 at 10:53 pm by sergeyt · Permalink · Leave a comment
In: Solaris

ZFS prefetch

Outstanding article about one of ZFS inner mechanisms. Worth reading for everyone who wants to step beyond and understand ZFS internals. Thank you Ben.

Posted on May 25, 2009 at 11:05 pm by sergeyt · Permalink · Leave a comment
In: Solaris