← Back to team overview

linaro-release team mailing list archive

[Bug 709245] Re: panda: USB disk IO slow

 

I have been able to reproduce this bug using bonnie++.  The process I
used was to install Oneiric using the netboot installer to an external
USB SATA drive and boot with that as my root filesystem (SD only has
bootloaders & kernel).

Steps to reproduce on a running system:

On panda (no ping):
sudo apt-get install bonnie++
bonnie++ -n 0 -m "USB HD" -q 1>>bonnie.csv

After this runs, on a different system on the same network, start "sudo ping -i 0.001 panda" (assuming the panda is in the host lookup), then on the panda run:
bonnie++ -n 0 -m "USB HD with ping" -q 1>>bonnie.csv

This will produce the results attached (bonnie.csv).  Bonnie.html is an
html formatted version of the output (with non-run tests removed).


** Attachment added: "bonnie.html"
   https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/709245/+attachment/2218631/+files/bonnie.html

-- 
You received this bug notification because you are a member of Linaro
Release Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/709245

Title:
  panda: USB disk IO slow

Status in Linaro Linux:
  Confirmed
Status in “linux-ti-omap4” package in Ubuntu:
  Confirmed

Bug description:
  My Panda's USB seems to be significantly slower than a Beagle C4.

  hdparm shows buffered reads as ~12MB/s on the Panda, and about ~20-25MB/s on a Beagle C4 from the same
  external Lacie USB disk.

  Kernel is 2.6.37-1002-linaro-omap

  Disk shows as:

  [    5.170440] scsi 0:0:0:0: Direct-Access     LaCie    d2 quadra             PQ: 0 ANSI: 4
  [    5.172546] sd 0:0:0:0: Attached scsi generic sg0 type 0
  [    5.175415] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)

  The board is otherwise idle during the test.

  Doing perf_2.6.37-12 record -a dd if=/dev/sda of=/dev/null bs=4096
  count=100000

  shows :
      81.41%         swapper  [kernel.kallsyms]     [k] default_idle
       6.33%              dd  [kernel.kallsyms]     [k] __copy_to_user
       0.94%         swapper  [kernel.kallsyms]     [k] cpu_idle
       0.51%              dd  [kernel.kallsyms]     [k] __make_request
       0.51%  perf_2.6.37-12  [kernel.kallsyms]     [k] __copy_from_user

  
  which suggests it's not CPU constrained.

  Dave

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux-linaro/+bug/709245/+subscriptions