All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christer Weinigel <christer@weinigel.se>
To: jim owens <jowens@hp.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Tuning for Compact Flash
Date: Mon, 29 Sep 2008 14:23:54 +0200	[thread overview]
Message-ID: <48E0C8DA.6090502@weinigel.se> (raw)
In-Reply-To: <48DFA291.2030206@hp.com>

jim owens wrote:
> Christer Weinigel wrote:
>> I installed Fedora 9 on the Compact Flash, with a small boot partition 
>> and then one large encrypted LVM partition where I put the swap 
>> partition and an ext3 file system.  This turned out to be bog slow, 
>> write speed to the ext3 file system seem to be about 1MByte/s which is 
>> just horrible.  Since Transcend claims 45MByte/s read bandwidth and 
>> 16MByte/s write bandwidth, this seems much too low.
> 
> CF is not an SSD.  A CF is designed and spec'd to store large images.
> Neither CF nor USB thumb drives are intended as a primary system
> hard drive.  They work great for transferring data between machines
> but no filesystem or tuning will make them perform with the same
> characteristics you expect of your primary hard drive.

Of course it won't behave like a hard drive, but it would be nice if 
there was a file system with performance that didn't suck as badly on a 
compact flash.  Plain NAND flash is nothing like a hard drive either, 
but with a file system designed for the peculiarities of NAND flash, it 
does behave decently.

And it seems that the Silicon Motion SM223 controller used for Transcend 
Compact flash is the same that is used in some models of the Asus EEE 
and in a Transcend SSD, so in this case a CF is a SSD.

Anyway, I think I'll write a couple of more test programs to explore the 
performance characteristics of my particular flash device, see how 
alignment and accesses to different areas on the flash behave (since 
Artem mentioned that they may be optimised for FAT).

But I was hoping that someone else had already done this.  I can't be 
the only person with a laptop where a SSD won't fit and who wants to run 
Linux off a common of the shelf flash disk.

   /Christer

  parent reply	other threads:[~2008-09-29 12:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-27 12:54 Tuning for Compact Flash Christer Weinigel
2008-09-28 15:28 ` jim owens
2008-09-29  6:54   ` Artem Bityutskiy
2008-09-29 12:23   ` Christer Weinigel [this message]
2008-09-29 15:17     ` Martin K. Petersen
2008-09-29 23:11       ` Christer Weinigel
2008-10-02 16:40         ` Chuck Lever

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=48E0C8DA.6090502@weinigel.se \
    --to=christer@weinigel.se \
    --cc=jowens@hp.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /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.