linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-mm@kvack.org
Subject: Re: http://ds9a.nl/cacheinfo project - please comment & improve
Date: Wed, 30 May 2001 23:48:06 +0200	[thread overview]
Message-ID: <20010530234806.C8629@home.ds9a.nl> (raw)
In-Reply-To: <Pine.LNX.4.21.0105301648290.5231-100000@freak.distro.conectiva>; from marcelo@conectiva.com.br on Wed, May 30, 2001 at 04:54:12PM -0300

On Wed, May 30, 2001 at 04:54:12PM -0300, Marcelo Tosatti wrote:

> You're using the "address_space->dirty_pages" list to calculate the number
> of dirty pages.

I was wondering about that. In limited testing I've never seen a non-0
content of the dirty list. I ran:

dd if=/dev/zero of=test count=100000 &
while true ; do ./cinfo test; done

And saw no dirty pages. 

> So I suggest you to check for the PG_dirty (with the PageDirty macro) bit
> on pages of that list to know if they are really dirty. 

Ok - will do. I plan to release a slightly improved version shortly that
addresses this issue. Thanks!

Oh, if anybody has ideas on statistics that should be exported, please let
me know. On the agenda is a bitmap that describes which pages are actually
in the cache.

Regards,

bert

-- 
http://www.PowerDNS.com      Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

  reply	other threads:[~2001-05-30 21:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-27 20:20 bert hubert
2001-05-30 19:54 ` Marcelo Tosatti
2001-05-30 21:48   ` bert hubert [this message]
2001-05-30 20:27     ` Marcelo Tosatti
2001-05-31 17:17     ` Ingo Oeser
2001-05-31 21:53       ` bert hubert
2001-06-03 17:04         ` bert hubert
2001-06-04 12:20           ` Hugh Dickins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010530234806.C8629@home.ds9a.nl \
    --to=ahu@ds9a.nl \
    --cc=linux-mm@kvack.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox