From: Tristan <9p-st@imu.li>
To: 9fans@9fans.net
Subject: Re: [9fans] usb slowness
Date: Mon, 5 Mar 2012 19:01:42 -0500 [thread overview]
Message-ID: <2579b8.491be6b4.43V1.mx@tumtum.plumbweb.net> (raw)
In-Reply-To: <a8e253e864a522cd17f1389c0acb20c7@hamnavoe.com>
> You can use time(1) while reading usb disk to see if cpu is really the
> bottleneck, or if in fact your machine is spending most of its time
> waiting for a usb interrupt. If the machine is mostly idle, profiling
> clock ticks should usually find it sitting at the HLT instruction which
> happens to be couple of bytes before _strayintr.
time suggests that it is waiting for interrupts: 0.03u 0.75s 25.42r
if i force polling, it's a little faster: 0.01u 0.45s 17.70r
(dd -if /dev/sdU0.0/data -of /dev/null -bs 65536 -count 1024)
holding a second, time wouldn't show interrupt-handling time, correct?
load remains fairly low during both, but system calls and context
switches are high.
time to read up on ehci...
thank you,
tristan
--
All original matter is hereby placed immediately under the public domain.
next prev parent reply other threads:[~2012-03-06 0:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-04 1:56 Tristan
2012-03-05 15:46 ` erik quanstrom
2012-03-05 16:05 ` Richard Miller
2012-03-05 16:14 ` erik quanstrom
2012-03-05 16:20 ` Richard Miller
2012-03-06 13:19 ` Tristan
2012-03-06 15:36 ` Tristan
2012-03-06 16:10 ` Richard Miller
2012-03-06 18:55 ` erik quanstrom
2012-03-06 22:22 ` Tristan
2012-03-07 5:50 ` Tristan
2012-03-07 5:53 ` Tristan
2012-03-07 9:31 ` Charles Forsyth
2012-03-10 3:13 ` [9fans] donehead changed before ack Tristan
2012-03-10 12:33 ` erik quanstrom
2012-03-10 15:14 ` Tristan
2012-03-07 15:27 ` [9fans] usb slowness Richard Miller
2012-03-05 15:56 ` Richard Miller
2012-03-06 0:01 ` Tristan [this message]
2012-03-06 10:39 ` Richard Miller
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=2579b8.491be6b4.43V1.mx@tumtum.plumbweb.net \
--to=9p-st@imu.li \
--cc=9fans@9fans.net \
/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).