From: Tomasz Chmielewski <mangoo@wpkg.org>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Strage buffer behaviour
Date: Wed, 14 Nov 2007 12:02:29 +0100 [thread overview]
Message-ID: <473AD5C5.4030803@wpkg.org> (raw)
Denys Vlasenko wrote:
> On Sunday 11 November 2007 11:33, Tino Keitel wrote:
>> The dd command reads 100 MB from each partition two times in a row. It
>> looks like sda1 and sda2 are not bufferd (the first 4 dd runs), but
>> sda3 and sda4 are (the last 4 dd runs).
>>
>> The computer is a Mac mini with a 2,5" SATA hard disk. The first 2
>> partitions contain EFI and MacOS X, and are unused in Linux. The last 2
>> partitions are an ext3 partition for / and an LVM for the rest of the
>> sytem.
>>
>> Any hints how the dd/buffering behaviour could be explained? The system
>> was mostly idle, and the numbers are reproducible across reboots.
>
> IIRC only mounted partitions' reads are cached.
Or, in general, those devices which kernel actually "uses" (mounted, but
also LVM, RAID, which don't have to be mounted to get cached).
--
Tomasz Chmielewski
http://lists.wpkg.org
next reply other threads:[~2007-11-14 11:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-14 11:02 Tomasz Chmielewski [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-11 18:33 Strage buffer behaviour Tino Keitel
2007-11-11 19:39 ` Heikki Orsila
2007-11-12 19:44 ` Denys Vlasenko
2007-11-12 20:46 ` Heikki Orsila
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=473AD5C5.4030803@wpkg.org \
--to=mangoo@wpkg.org \
--cc=linux-kernel@vger.kernel.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