From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: petkovbb@gmail.com
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [PATCH] ide-cd: remove the internal 64k buffer
Date: Tue, 19 Feb 2008 22:51:36 +0100 [thread overview]
Message-ID: <200802192251.37183.bzolnier@gmail.com> (raw)
In-Reply-To: <20080219143247.GA3980@gollum.tnic>
Hi,
On Tuesday 19 February 2008, Borislav Petkov wrote:
> Hi Bart,
>
> here's one more item from my TODO list. The removal is straight forward, after
> testing it with all my cdrom drives they all seem even to rotate quieter due to
> the automatic speed adjustment of the drive to the continuous data stream
> bandwidth in contrast to the buffer-mode in which recurring buffer-fill speedups
> caused the drive's read speeed to spike in order to keep the buffer filled up
> constantly.
>
> Still, i'd keep this a bit longer in -mm to see whether there are some
> other issues with it and with all the different workloads.
>
>
> commit a855bd5d94ddac678cf90b4b8f20dbd3ac8ea29a
> Author: Borislav Petkov <petkovbb@gmail.com>
> Date: Tue Feb 19 14:25:09 2008 +0100
>
> ide-cd: remove the internal 64k buffer
>
> This removes the internal ide-cd buffer and falls back to read-ahead block layer
> capabilities. Thorough testing (cd burning, dvd read, raw read) gives with the
> bufferless mode marginally better performance in addition to simplified code.
>
> bufferless:
>
> dd: reading `/dev/hdc': Input/output error
> 6238+0 records in
> 6238+0 records out
> 204406784 bytes (204 MB) copied, 259.891 s, 787 kB/s
>
> real 4m21.598s
> user 0m0.014s
> sys 0m0.744s
>
> with the old buffer (2.6.25-rc1):
>
> dd: reading `/dev/hdc': Input/output error
> 6238+0 records in
> 6238+0 records out
> 204406784 bytes (204 MB) copied, 262.893 s, 778 kB/s
>
> real 4m22.938s
> user 0m0.009s
> sys 0m0.771s
>
> Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
applied, thanks
prev parent reply other threads:[~2008-02-19 22:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 14:32 [PATCH] ide-cd: remove the internal 64k buffer Borislav Petkov
2008-02-19 21:51 ` Bartlomiej Zolnierkiewicz [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=200802192251.37183.bzolnier@gmail.com \
--to=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=petkovbb@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).