public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Aaron Williams <Aaron.Williams@caviumnetworks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Poor ext2 performance (was USB storage performance EHCI question)
Date: Sun, 23 Jan 2011 14:05:38 -0800	[thread overview]
Message-ID: <4D3CA632.5030209@caviumnetworks.com> (raw)

I traced down the poor performance I was seeing with USB to only the
ext2 filesystem.  With FAT32 I am getting 10MB/sec for file transfers,
but with ext2 I am only getting 100KB/sec.

I formatted the drive with:

mkfs.ext3 -j -L iomega -O dir_index,has_journal,large_file -t ext3 -v
/dev/sdc1

mke2fs 1.41.11 (14-Mar-2010)
fs_types for mke2fs.conf resolution: 'ext3', 'default'
Calling BLKDISCARD from 0 to 1014095872 failed.
Filesystem label=iomega
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
61952 inodes, 247582 blocks
12379 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=255852544
8 block groups
32768 blocks per group, 32768 fragments per group
7744 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

I have seen this behavior with several drives. I do not see this poor
performance with IDE.

I am using EHCI USB with all of the latest patches. I have made only
minimal changes. Our code base is based off of 2010.09 but I have
applied all of the GIT patches to USB and the filesystems with only a
couple exceptions in the USB code (which do not affect performance).

I don't have any other platforms to test the USB performance with.

-Aaron

                 reply	other threads:[~2011-01-23 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4D3CA632.5030209@caviumnetworks.com \
    --to=aaron.williams@caviumnetworks.com \
    --cc=u-boot@lists.denx.de \
    /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