All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ritesh Raj Sarraf <rrs@researchut.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: device-mapper development <dm-devel@redhat.com>,
	linux-pm@lists.linux-foundation.org,
	Milan Broz <mbroz@redhat.com>
Subject: Re: [linux-pm] dm-crypt low performance
Date: Mon, 19 Jan 2009 16:04:20 +0530	[thread overview]
Message-ID: <200901191604.21584.rrs@researchut.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0901131456570.27985-100000@iolanthe.rowland.org>


[-- Attachment #1.1: Type: text/plain, Size: 2606 bytes --]

Hi Alan,


On Wednesday 14 Jan 2009 01:30:59 Alan Stern wrote:
> >
> > rrs@learner:~$ cat /tmp/lsusb.suspend
> > Bus 005 Device 005: ID 046d:08c6 Logitech, Inc. QuickCam for DELL
> > Notebooks Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > Bus 004 Device 007: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
> > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 001 Device 005: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
> > Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> Notice that the IDE Adapter is now attached to a 1.1 bus rather than a
> 2.0 bus.  That's why it's running so much slower.
>
> > And here's the usb device listing after a fresh boot.
> >
> > rrs@learner:~$ lsusb
> > Bus 005 Device 004: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
> > Bus 005 Device 003: ID 046d:08c6 Logitech, Inc. QuickCam for DELL
> > Notebooks Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> > Bus 001 Device 004: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
> > Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> Try building a kernel with CONFIG_USB_DEBUG enabled, and post the dmesg
> log showing what happens during the disconnect, hibernate, resume, and
> reconnect.
>
> You could also try the same thing with no disconnect/reconnect.  Just
> leave the IDE adapter plugged in the whole time.
>

I've been testing the same hardware but unfortunately wasn't able to see the 
issue back again. One thing to notice is that the laptop has 4 USB ports out 
of which 3 are 1.1 and only 1 is 2.0.
The suspected faulty USB HDD Enclosure has 2 cables that I was connecting to, 
thus ending up connecting them to a 2.0 and 1.1 USB port.

I tried with just 1 port connected to USB 2.0 port and haven't been able to 
reproduce the issue back again yet. :-(
I also wasn't able to reproduce back the old issue with the pattern I 
mentioned in the previous post (1 cable connected to 1.1 and the other 
connected to 2.0 port)

I'll keep testing and post to this thread if I find something useful.

Thanks,
Ritesh
-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  parent reply	other threads:[~2009-01-19 10:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 19:22 dm-crypt low performance Ritesh Raj Sarraf
     [not found] ` <0ths36-dce.ln1-b1aPebNLFEbkkoF7R9+BZ0EOCMrvLtNR@public.gmane.org>
2009-01-13 15:50   ` [dm-devel] " Milan Broz
2009-01-13 17:37     ` Ritesh Raj Sarraf
2009-01-13 19:52       ` [dm-devel] " Ritesh Raj Sarraf
2009-01-13 19:52       ` Ritesh Raj Sarraf
2009-01-13 20:00         ` [linux-pm] " Alan Stern
2009-01-19 10:34           ` [dm-devel] " Ritesh Raj Sarraf
2009-01-19 10:34           ` Ritesh Raj Sarraf [this message]
2009-01-19 16:23             ` Alan Stern
2009-01-13 20:00         ` Alan Stern

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=200901191604.21584.rrs@researchut.com \
    --to=rrs@researchut.com \
    --cc=dm-devel@redhat.com \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mbroz@redhat.com \
    --cc=stern@rowland.harvard.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.