From: Rik van Riel <riel@redhat.com>
To: Ankit Jain <ankitjain1580@yahoo.com>
Cc: linux-mm@kvack.org
Subject: Re: hit/miss
Date: Fri, 8 Oct 2004 15:22:35 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0410081522100.11449-100000@chimarrao.boston.redhat.com> (raw)
In-Reply-To: <20041008173155.52028.qmail@web52901.mail.yahoo.com>
On Fri, 8 Oct 2004, Ankit Jain wrote:
> Consider a two-level memory hierarchy system M1 & M2.
> M1 is accessed first and on miss M2 is accessed. The
> access of M1 is 2 nanoseconds and the miss penalty
> (the time to get the data from M2 in case of a miss)
> is 100 nanoseconds. The probability that a valid data
> is found in M1 is 0.97. The average memory access time
> will be how much?
>
> if somebody can solve this?
If you cannot solve this yourself, you might want to
complain to your teacher for not telling you how to
do your homework ;)
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
--
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/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
prev parent reply other threads:[~2004-10-08 19:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-08 17:31 hit/miss Ankit Jain
2004-10-08 19:22 ` Rik van Riel [this message]
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=Pine.LNX.4.44.0410081522100.11449-100000@chimarrao.boston.redhat.com \
--to=riel@redhat.com \
--cc=ankitjain1580@yahoo.com \
--cc=linux-mm@kvack.org \
/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