Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-17 Thread Dan Mick
Bill Shannon wrote: > I just wanted to follow up on this issue I raised a few weeks ago. > > With help from several of you, I had all the information and tools > I needed to start debugging my problem. Which of course meant that > my problem disappeared! > > At one point my theory was that ksh93

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-14 Thread Bill Shannon
I just wanted to follow up on this issue I raised a few weeks ago. With help from several of you, I had all the information and tools I needed to start debugging my problem. Which of course meant that my problem disappeared! At one point my theory was that ksh93 was updating my .history file per

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-02 Thread Brendan Gregg - Sun Microsystems
G'Day, On Sat, Mar 01, 2008 at 08:58:53PM -0800, Bill Shannon wrote: > Roch Bourbonnais wrote: > >>> this came up sometime last year .. io:::start won't work since ZFS > >>> doesn't call bdev_strategy() directly .. you'll want to use something > >>> more like zfs_read:entry, zfs_write:entry and zf

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-01 Thread Jonathan Edwards
On Mar 1, 2008, at 7:22 PM, Roch Bourbonnais wrote: > That's not entirely accurate. I believe ZFS does lead to > bdev_strategy being called and io:::start > will fire for ZFS I/Os. The problem is that a ZFS I/O can be > servicing a number of ZFS operations on a > number of different files (whi

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-01 Thread Bill Shannon
Roch Bourbonnais wrote: >>> this came up sometime last year .. io:::start won't work since ZFS >>> doesn't call bdev_strategy() directly .. you'll want to use something >>> more like zfs_read:entry, zfs_write:entry and zfs_putpage or zfs_getpage >>> for mmap'd ZFS files >> > > Ed: > That's not ent

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-01 Thread Jeff Bonwick
> I recently converted my home directory to zfs on an external disk drive. > Approximately every three seconds I can hear the disk being accessed, > even if I'm doing nothing. The noise is driving me crazy! > [...] > Anyway, anyone have any ideas of how I can use dtrace or some other tool > to tra

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses

2008-03-01 Thread Roch Bourbonnais
Le 1 mars 08 à 22:14, Bill Shannon a écrit : > Jonathan Edwards wrote: >> >> On Mar 1, 2008, at 3:41 AM, Bill Shannon wrote: >>> Running just plain "iosnoop" shows accesses to lots of files, but >>> none >>> on my zfs disk. Using "iosnoop -d c1t1d0" or "iosnoop -m >>> /export/home/shannon" >>>

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses: try er_kernel

2008-03-01 Thread Martin . Itzkowitz
Bill Shannon wrote: > Marty Itzkowitz wrote: >> Interesting problem. I've used disk rattle as a measurement of io >> activity before >> there were such tools for measurement. It's crude, but effective. >> >> To answer your question: you could try er_kernel. It uses DTrace to >> do statistical c

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses: try er_kernel

2008-03-01 Thread Bill Shannon
Marty Itzkowitz wrote: > Interesting problem. I've used disk rattle as a measurement of io > activity before > there were such tools for measurement. It's crude, but effective. > > To answer your question: you could try er_kernel. It uses DTrace to > do statistical callstack sampling, and is d

Re: [zfs-discuss] [dtrace-discuss] periodic ZFS disk accesses: try er_kernel

2008-03-01 Thread Marty Itzkowitz
Interesting problem. I've used disk rattle as a measurement of io activity before there were such tools for measurement. It's crude, but effective. To answer your question: you could try er_kernel. It uses DTrace to do statistical callstack sampling, and is described on our kernel profiling