Eric Lowe wrote:
David McDaniel (damcdani) wrote:
I'd try to use dtrace to get more insight but I cant figure out where
to start since I cant find the place(s) in the kernel where the dumping
is actually taking place.
core() -> do_core() -> {struct execsw->exec_core()} -> elfcore() ->
core_write()
core() is called from kernel fault context (trap() -> psig() or
kern_gpfault() on x86/64, or trap_cleanup() on sun4*) which explains why
it's priority 60.
- Eric
The core dump loop does call delay_sig(1); this should wait for .01
seconds between each write of 32 * 8K. You may wish to patch
core_chunk in /etc/system (or w/ mdb -kw for real time experiments)
to see if reducing the size of writes will help.
http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/os/core.c#core_chunk
DTrace is your friend here as well...
- Bart
--
Bart Smaalders Solaris Kernel Performance
[EMAIL PROTECTED] http://blogs.sun.com/barts
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org