> even when I 'do nothing' there is a disk access every cca 15 seconds
> on my plan9 notebook.
> Can anyone tell me why this happens? Can I find what causes it?
you can start with
grep '(#S|/dev/sd..)/' /proc/*/fd
but obviously, that's just going to give you fossil or venti.
you can try looking for programs that might be sleeping for 15
seconds at a time,
minooka; g 'sleep\(15[^)][^)]' . | awk -F: '{if($1 != o)print; o = $1}'
./faces/plumb.c:119: sleep(15000);
./upas/fs/fs.c:1603: sleep(15*1000);
./upas/pop3/pop3.c:710: sleep(15*1000);
./upas/imap4d/imap4d.c:858: sleep(15*1000);
if one of these is the culprit, it may be that your fs is writing
atimes to disk every 15 seconds.
> It's quite disturbing and perhaps unnecessary...
if the wild guess above is correct, you can either
- not run these programs, or
- use kfs with atime turned off rather than your current
fs setup.
- erik