[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making use of the BigRamPlus?



On 2013-12-17 10:17, Geert Uytterhoeven wrote:
On Tue, Dec 17, 2013 at 10:13 AM, Ingo Jürgensmann
<ij@2013.bluespice.org> wrote:
spice:/home/ij# modprobe phram phram=bigram,0x50000000,200Mi
spice:/home/ij# mkswap /dev/mtd0
mkswap: warning: truncating swap area to 17179869184 KiB

Strange... So it failed to write more data?
Can you dd 256 MiB to it?

spice:/home/ij# dd if=/dev/zero of=/dev/mtd0 bs=1M
dd: error writing '/dev/mtd0': No space left on device
257+0 records in
256+0 records out
268435456 bytes (268 MB) copied, 148.747 s, 1.8 MB/s

Not very speedy, eh? I would've expected around 10 MB/s...

How fast is it? "hdparm -tT /dev/mtd0".

spice:/home/ij# hdparm -tT /dev/mtd0

/dev/mtd0:
 Timing cached reads:   BLKFLSBUF failed: Inappropriate ioctl for device
  6 MB in  2.17 seconds =   2.77 MB/sec
BLKFLSBUF failed: Inappropriate ioctl for device
 BLKGETSIZE failed: Inappropriate ioctl for device
BLKFLSBUF failed: Inappropriate ioctl for device

--
Ciao...          //    Fon: 0381-2744150
.     Ingo     \X/     http://blog.windfluechter.net

gpg pubkey: http://www.juergensmann.de/ij_public_key.


Reply to: