public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rene Herman <rene.herman@keyaccess.nl>
To: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: External USB2 HDD affects speed hda
Date: Tue, 31 May 2005 01:21:37 +0200	[thread overview]
Message-ID: <429BA001.2030405@keyaccess.nl> (raw)

Hi Bartlomiej.

My Maxtor 6Y120P0 on AMD756 (UDMA66) normally gives me 50 MB/s according 
to hdparm -t:

===
# hdparm -t /dev/hda

/dev/hda:
  Timing buffered disk reads:  152 MB in  3.01 seconds =  50.57 MB/sec
===

However, the second I switch on my external USB2 drive (Western Digital 
Essential 160G, connected via a PCI card USB2 controller, on a private IRQ):

===
usb 1-3: new high speed USB device using ehci_hcd and address 3
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
   Vendor: WD        Model: 1600BB External   Rev: 0412
   Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: assuming drive cache: write through
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
sda: assuming drive cache: write through
  sda: sda1 sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
===

the hdparm -t result drops down to 42MB/s:

===
# hdparm -t /dev/hda

/dev/hda:
  Timing buffered disk reads:  130 MB in  3.04 seconds =  42.77 MB/sec
===

Switching the USB2 HDD off again does not work to bring back the 50 MB/s:

===
# eject sda
# hdparm -t /dev/hda

/dev/hda:
  Timing buffered disk reads:  128 MB in  3.01 seconds =  42.57 MB/sec

[ push button ]

usb 1-3: USB disconnect, address 3

# hdparm -t /dev/hda

/dev/hda:
  Timing buffered disk reads:  130 MB in  3.04 seconds =  42.73 MB/sec
===

After a reboot, it's 50 MB/s again. Any idea what this is?

The USB HDD is not firing interrupts or anything. It just sits idle. 
Fully repeatable on 2.6.11.11 and 2.6.12-rc5.

Rene.

             reply	other threads:[~2005-05-30 23:28 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-30 23:21 Rene Herman [this message]
2005-06-01  8:18 ` External USB2 HDD affects speed hda Pavel Machek
2005-06-01 18:25   ` Rene Herman
2005-06-01 19:40     ` David Brownell
2005-06-01 22:14       ` Rene Herman
2005-06-01 22:33         ` Rene Herman
2005-06-01 23:43           ` David Brownell
2005-06-02  1:23             ` Mikulas Patocka
2005-06-02  2:17               ` David Brownell
2005-06-02 13:19                 ` Rene Herman
2005-08-05 22:34                   ` Rene Herman
2005-09-17  2:36                     ` David Brownell
2005-09-17 14:45                       ` Rene Herman
2005-12-12 23:24                         ` Rene Herman
2005-06-02 13:57         ` Lennart Sorensen
2005-06-02 13:11           ` Rene Herman
2005-06-02 20:37             ` Lennart Sorensen
2005-06-02 22:49             ` Grant Coady
2005-06-02 23:56               ` Rene Herman
2005-06-03  0:54                 ` David Brownell
2005-06-01 11:48 ` Mark Lord
2005-06-01 18:30   ` Rene Herman
2005-06-01 19:15     ` Petr Vandrovec
2005-06-01 19:45       ` Rene Herman
2005-06-01 20:37         ` David Brownell
2005-06-01 22:24           ` Rene Herman
2005-06-01 23:40             ` David Brownell
  -- strict thread matches above, loose matches on Subject: below --
2005-12-21  7:08 Helmut Toplitzer
2005-12-21  8:10 ` 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=429BA001.2030405@keyaccess.nl \
    --to=rene.herman@keyaccess.nl \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --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