public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Need help tracing regular write activity in 5 s interval
@ 2002-06-02 13:55 Matthias Andree
  2002-06-04 11:21 ` Padraig Brady
  0 siblings, 1 reply; 14+ messages in thread
From: Matthias Andree @ 2002-06-02 13:55 UTC (permalink / raw)
  To: Linux-Kernel mailing list

Hello,

I am using some recent Linux 2.4.x version (2.4.19-pre8-ac5 for now),
and I have been observing regular disk activity at 5 s intervals for
some time now which are not related to a particular kernel version.

I have reiserfs and ext3fs file systems mounted.

The first thing that came to mind with the "5 s interval" was DJB's
"svscan", but neither mount -o remount,noatime / nor killall -STOP
svscan helped.

The next thing that comes to mind is that journalling file systems
commit their journal every five seconds. But I have a hard time finding
out which file system does this or which process causes blocks to be
marked dirty again. I'd really like to get rid of this regular activity
unless there's a need.

So: is there any trace software that can tell me "at 15:52:43.012345,
process 4321 marked 7 blocks dirty on device /dev/hda5" (or even more
detail so I can figure if it's just an atime update -- as with svscan --
or a write access)? And that is NOT to be attached to a specific process
(hint: strace is not an option).

Also, I'd like to suggest again a mount option that marks filesystems as
"clean" automatically after all changes have been committed. This may be
most useful with "noatime", though.

Thanks in advance,

-- 
Matthias Andree

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Need help tracing regular write activity in 5 s interval
@ 2002-06-02 15:25 Thunder from the hill
  2002-06-02 15:41 ` Kevin Krieser
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Thunder from the hill @ 2002-06-02 15:25 UTC (permalink / raw)
  To: Matthias Andree; +Cc: Linux Kernel Mailing List

Hi,

> So: is there any trace software that can tell me "at 15:52:43.012345,
> process 4321 marked 7 blocks dirty on device /dev/hda5" (or even more
> detail so I can figure if it's just an atime update -- as with svscan --
> or a write access)? And that is NOT to be attached to a specific process
> (hint: strace is not an option).

Problem: we'd have to do that using printk. printk issues another write 
call, which will mark things dirty. Issued is another printk, which marks 
things dirty and issues another printk...

I suppose one write would become looped here?

Regards,
Thunder
-- 
ship is leaving right on time	|	Thunder from the hill at ngforever
empty harbour, wave goodbye	|
evacuation of the isle		|	free inhabitant not directly
caveman's paintings drowning	|	belonging anywhere


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-06-05 22:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-02 13:55 Need help tracing regular write activity in 5 s interval Matthias Andree
2002-06-04 11:21 ` Padraig Brady
2002-06-04 11:41   ` Muli Ben-Yehuda
2002-06-04 11:43   ` Xavier Bestel
2002-06-04 12:04   ` Erik Andersen
2002-06-05 14:08     ` Padraig Brady
2002-06-05 15:13       ` Padraig Brady
2002-06-05 15:50       ` Owen Taylor
2002-06-05 16:43         ` Padraig Brady
2002-06-05 22:22           ` Padraig Brady
  -- strict thread matches above, loose matches on Subject: below --
2002-06-02 15:25 Thunder from the hill
2002-06-02 15:41 ` Kevin Krieser
2002-06-02 16:12 ` Kenneth Johansson
2002-06-02 20:19 ` Matthias Andree

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox