# ./big_script.d
dtrace: failed to enable './big_script.d': DIF program exceeds maximum program size
# mdb -kw
Loading modules: [ ... ]
> dtrace_dof_maxsize/E
dtrace_dof_maxsize:
dtrace_dof_maxsize: 262144
> dtrace_dof_maxsize/Z 0t524288
dtrace_dof_maxsize: 0x40000 = 0x80000
> dtrace_dof_max_size/E
dtrace_dof_maxsize:
dtrace_dof_maxsize: 524288
> $q
# ./big_script.d
dtrace: script './big_script.d' matched 264 probes
Thursday, March 31, 2005
Long DTrace scripts
If you try to write/run large DTrace script you can encounter problem that DTrace won't let you run such a script. In that case you can increase dtrace_dof_maxsize which can be changed on the fly (or you can put it in /etc/system). For example:
Wednesday, March 30, 2005
Open Solaris meeting
Me and some other Open Solaris Pilot Members met in Palo Alto two weeks ago on unofficial meeting. It was really nice to meet some of Pilot members in real life. I know that there're more such unofficial meetings. And traffic on Pilot list has vastly increased lastly. Open Solaris is live even before it launched! :)
On April 26th there's gonna be first official Open Solaris Meeting in California.
On April 26th there's gonna be first official Open Solaris Meeting in California.
Tuesday, March 29, 2005
SMF presentation
Liane Praza has posted really nice presentation about administering a Solaris with SMF.
SX 3/05 available
Here you can download new Solaris Express bits. Dan Price has blogged about new features in this release. In his previous blog entry you can find What's New for 2/03 release. Both releases have features and bug fixes which are not in Solaris 10 (yet). So if you want to try with latest Solaris bits SX is a way to go.
btw: some bug fixes or features in this release are result of my own BUGs or RFEs I sent to Sun. It's nice to see that Sun is really listening to its customers. And it's not the first time Sun fixed a bug or implemented RFE I requested.
btw: some bug fixes or features in this release are result of my own BUGs or RFEs I sent to Sun. It's nice to see that Sun is really listening to its customers. And it's not the first time Sun fixed a bug or implemented RFE I requested.
Friday, March 25, 2005
Processor sets for interrupts partitioning
I have a server which has a lot of nocanput errors on GEM interfaces. Changing sq_max_size doesn't help and it's high by default in S10FCS anyway (default now is 10000). There's still quite a lot of CPU power left on server. What can I do quickly? First I did use intrstat 1 so I can identify which CPUs are used for those GEM NICs. Then I created CPU set using psrset which contains CPUs used for interrupts for GEMs. That way CPUs in the newly created CPU set are used only for interrupts. I can see about 2-3x times lower nocanput rate on this server. Quick and easy. But it's just a beginning :)
Wednesday, March 23, 2005
Friday, March 04, 2005
Comparing Red Hat EL 4 to Solaris 10
Here you can find a nice comparison of RHEL AS 4 and Solaris 10 on the same hardware (x64). While in 32bit Solaris lost in two tests and won one, in 64bit Solaris was a clear winner to Linux in all tests.
Wednesday, March 02, 2005
PID provider internals
Adam Leventhal has put interesting presentation about DTrace PID provider internals. You can find it here.
I wouldn't put it better then Adam himself:
If you're interested at all in instrumentation or want to know more about the pid provider or are just a super nerd who enjoys reading about cool, low-level hackery, it's probably worth a read.
I wouldn't put it better then Adam himself:
If you're interested at all in instrumentation or want to know more about the pid provider or are just a super nerd who enjoys reading about cool, low-level hackery, it's probably worth a read.
SX 2/05 available
There is a new Solaris Express available. Here's What's New:
New and Updated Drivers - Chelsio 10gb NIC driver
Fibre Channel HBA Port Utility
Metaslot in the Cryptographic Framework
IKE Enhancements
Support for iSCSI Devices
Xorg Release 6.8.2
And there's more.
btw: SX (Solaris Express) is a snapshot of current Solaris under development, so if you want newest features it's a way to go. You can find more information about SX on its official page.
UPDATE: Thanks to Dan Price we can find here more detailed information on SX 2/05.
And there's more.
btw: SX (Solaris Express) is a snapshot of current Solaris under development, so if you want newest features it's a way to go. You can find more information about SX on its official page.
UPDATE: Thanks to Dan Price we can find here more detailed information on SX 2/05.
Tuesday, March 01, 2005
DTrace tricks
If you use DTrace then here you can find PDF with some tips&tricks in DTrace. It has been written by DTrace creators themselves! Some tricks are obvious some not. It's a must read for every DTrace user.