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.
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 […]
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 […]
In: Solaris · Tagged with: book
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 […]
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 […]
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 […]
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.
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 […]
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.
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.