public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* blockfile access patterns logging
@ 2004-01-08 12:00 bert hubert
  2004-01-08 14:08 ` Jens Axboe
  2004-01-08 14:30 ` Valdis.Kletnieks
  0 siblings, 2 replies; 7+ messages in thread
From: bert hubert @ 2004-01-08 12:00 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel

Jens,

For some time I've wanted to log exactly what linux is reading and writing
from my harddisk - for a variety of reasons. The current reason is that my
very idle laptop writes to disk every once in a while (or reads, I don't
know).

Now, conceptually this should not be very hard, but I'd like to ask your
thoughts on where I might insert some crude logging? There are lots of
places that might be better or worse for some reason.

I'd love to be as close to the physical block device as possible, short of
rewriting actual IDE drivers.

Any tips? Or is this idea crazy?

Thanks!

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

^ permalink raw reply	[flat|nested] 7+ messages in thread
* blockfile access patterns logging
@ 2004-01-08 14:11 Samium Gromoff
  0 siblings, 0 replies; 7+ messages in thread
From: Samium Gromoff @ 2004-01-08 14:11 UTC (permalink / raw)
  To: ahu; +Cc: linux-kernel


> Jens,                                                                                    
>                                                                                          
> For some time I've wanted to log exactly what linux is reading and writing               
> from my harddisk - for a variety of reasons. The current reason is that my               
> very idle laptop writes to disk every once in a while (or reads, I don't                 
> know).                                                                                   

Have you mounted the fs with -o noatime?

> Now, conceptually this should not be very hard, but I'd like to ask your                 
> thoughts on where I might insert some crude logging? There are lots of                   
> places that might be better or worse for some reason.                                    
>                                                                                          
> I'd love to be as close to the physical block device as possible, short of               
> rewriting actual IDE drivers.                                                            
>                                                                                          
> Any tips? Or is this idea crazy?                                                         
>                                                                                          
> Thanks!                                                                                  
>                                                                                          
> --                                                                                       
> http://www.PowerDNS.com      Open source, database driven DNS Software                   
> http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO                

regards, Samium Gromoff



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

end of thread, other threads:[~2004-01-08 14:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-08 12:00 blockfile access patterns logging bert hubert
2004-01-08 14:08 ` Jens Axboe
2004-01-08 14:30 ` Valdis.Kletnieks
2004-01-08 14:39   ` Jens Axboe
2004-01-08 14:54     ` Valdis.Kletnieks
2004-01-08 14:58       ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2004-01-08 14:11 Samium Gromoff

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