From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Sat, 2 Oct 2010 08:20:02 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] disturbing disk access Topicbox-Message-UUID: 5c2f18be-ead6-11e9-9d60-3106f5b1d025 > 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