From: "Alessandro Suardi" <alessandro.suardi@gmail.com>
To: "Rene Herman" <rene.herman@keyaccess.nl>
Cc: "Lev A. Melnikovsky" <melnikovsky@mail.ru>,
"David Brownell" <david-b@pacbell.net>,
"Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: ehci-hcd affects hda speed
Date: Thu, 20 Mar 2008 06:08:39 +0100 [thread overview]
Message-ID: <5a4c581d0803192208w6db8f2aaj42eac883de126585@mail.gmail.com> (raw)
In-Reply-To: <47E1B062.4060709@keyaccess.nl>
On Thu, Mar 20, 2008 at 1:31 AM, Rene Herman <rene.herman@keyaccess.nl> wrote:
> On 20-03-08 00:47, Lev A. Melnikovsky wrote:
>
> > Just in case - I do have an A7V8X-based PC in the office and have
> > performed a simple experiment.
> >
> > #1. Idle USB controller has no effect on PCI performance (I again
> > measured hda throughput).
> >
> > #2. Default value for register 4Bh is 09h.
> >
> > #3. I have detected no effect of changing [4Bh]=29h. Particularly, USB
> > FLASH read speed is ~8MB/s and hda read speed is ~40MB/s regardless of
> > [4Bh] content. During hda timing, "dd if=/dev/sda of=/dev/null bs=1024"
> > was running in another window (/dev/sda being the USB stick).
> >
> > My interpretation, is that bit5 at offset 4B may _not_ be an "EHCI sleep
> > time select" like it is for VT6212. Am I missing something?
>
> No, very useful test, thanks much. Patch as submitted for revision 0x6x will
> stand then.
>
> I do wonder -- is your hda throughput also the same before _ever_ attaching
> anything to the EHCI controller and after? In my case, the slow down only
> happened after switching on my external USB drive once, and would persist
> from that time until reboot (or unloading ehci-hcd, which I kept modular for
> exactly that reason).
>
> The sleep time wasn't the core problem, so I wonder of later VIA chips do
> still have the active async schedule problem...
>
> Alessandro? You said there still was a difference for you between no EHCI at
> all and EHCI after tweaking 4B as Lev showed. How much?
When used setpci to tweak the setting, my hdparm -t went
from 17 to 25MB/s on /dev/hda.
With your patch applied, now after booting it says 33MB/s for
hda and 37MB/s on hdb (and I can burn DVDs at a stable 6x
now, while growisofs backed off to 4x in less than a minute
before the patch).
If the patch does exactly what setpci did, then perhaps I had
other activity on hda at the moment I ran the test...
--alessandro
"We act as though comfort and luxury were the chief requirements
of life, when all that we need to make us really happy is
something to be enthusiastic about."
(Charles Kingsley)
next prev parent reply other threads:[~2008-03-20 5:08 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 22:27 Lev A. Melnikovsky
2008-03-05 16:19 ` Rene Herman
2008-03-05 20:03 ` Alessandro Suardi
2008-03-05 21:03 ` David Brownell
2008-03-06 16:25 ` Alessandro Suardi
2008-03-06 20:10 ` Lev A. Melnikovsky
2008-03-10 10:11 ` Lev A. Melnikovsky
2008-03-15 22:46 ` Lev A. Melnikovsky
2008-03-17 16:15 ` Alessandro Suardi
2008-03-17 21:06 ` David Brownell
[not found] ` <47DC596A.4010800@keyaccess.nl>
[not found] ` <200803171400.40045.david-b@pacbell.net>
2008-03-17 23:23 ` Rene Herman
2008-03-17 23:26 ` Rene Herman
2008-03-18 0:00 ` David Brownell
2008-03-18 0:24 ` Lev A. Melnikovsky
2008-03-18 1:27 ` Rene Herman
2008-03-18 1:45 ` David Brownell
2008-03-18 1:23 ` Rene Herman
2008-03-18 1:55 ` David Brownell
2008-03-18 3:13 ` Rene Herman
2008-03-19 23:47 ` Lev A. Melnikovsky
2008-03-20 0:31 ` Rene Herman
2008-03-20 5:08 ` Alessandro Suardi [this message]
2008-03-20 11:35 ` Rene Herman
2008-03-20 21:01 ` Alessandro Suardi
2008-04-15 19:56 ` Lev A. Melnikovsky
2008-04-15 20:02 ` Oliver Neukum
2008-04-15 20:41 ` Lev A. Melnikovsky
2008-04-16 5:38 ` Oliver Neukum
2008-04-16 22:23 ` Lev A. Melnikovsky
2008-04-17 8:20 ` Oliver Neukum
2008-04-15 20:24 ` Rene Herman
2008-04-15 20:32 ` Rene Herman
2008-04-15 23:17 ` David Brownell
2008-04-16 22:44 ` Lev A. Melnikovsky
2008-03-18 22:02 ` Alessandro Suardi
2008-03-18 22:09 ` Rene Herman
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=5a4c581d0803192208w6db8f2aaj42eac883de126585@mail.gmail.com \
--to=alessandro.suardi@gmail.com \
--cc=david-b@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
--cc=melnikovsky@mail.ru \
--cc=rene.herman@keyaccess.nl \
/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
all inboxes | Powered by JetHome®