Block device vs char device reads

Howard, Michael (MED) Michael.Howard at med.ge.com
Thu Feb 19 12:08:13 EST 2004


Hello,

I've been doing some benchmarking on reading from the 2 drivers. The
number of page reads the block device requires is many times more than
the char.  I'm poking through mtdblock.c trying to understand what it is
doing.  Is this behaviour to be expected?  Is there any way to optimize
it?

I need to use the block device as I'm mounting JFFS2 on top but
performance has been terrible.  Any help would be much appreciated.


Thanks
Mike



More information about the linux-mtd mailing list