Slow SD card and USB HDD I/O for block sizes bigger than a couple of bytes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ti-omap4 (Ubuntu) |
Confirmed
|
Medium
|
Bryan Wu |
Bug Description
I'm observing weird I/O behavior with natty's 2.6.38-1209-omap4 kernel running on a pandaboard:
When reading from a USB HDD, the relationship between read block sizes and throughput looks like this: http://
(the buffer cache has been flushed with hdparm -f between every measurement)
This HDD gets about 28MB/s on windows, and about 32MB/s without this weird foldback on my natty x86 desktop: http://
The same (but to a lesser extent) happens with slower USB storage devices as well: http://
This also appears to affect SD card access, but also to a lesser extent: http://
As the maximum throughput (which is still way too slow) is reached at around 128 bytes block size, which is way below sector size, and as this happens for SD card access as well, this suggests that the problem is coming from some more generic code than the MMC or USB controller driver.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-
ProcVersionSign
Uname: Linux 2.6.38-1209-omap4 armv7l
Architecture: armel
Date: Tue May 24 00:11:32 2011
ProcEnviron:
LANGUAGE=de_DE:en
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: linux-ti-omap4
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux-ti-omap4 (Ubuntu): | |
assignee: | nobody → Bryan Wu (cooloney) |
importance: | Undecided → Medium |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | New → Confirmed |
Brian, does the ping workaround described here affect your measurements? /bugs.launchpad .net/linux- linaro/ +bug/709245
https:/