Swap to SD cards: performance and burnout test

Sascha Silbe sascha-ml-ui-sugar-olpc-devel at silbe.org
Mon Dec 7 13:16:47 EST 2009

On Mon, Dec 07, 2009 at 03:41:10PM -0200, Emiliano Pastorino wrote:

> We're testing how much performance you gain by swapping to an sd card.
Please state exactly what SD card you're using if you publish your 
results. There seem to be quite some differences in behaviour even among 
a single product line.

> Does anyone come out with a possible test?
Compilation in general (e.g. Linux kernel or sugar-jhbuild) seems to be 
quite stressful to SD cards and often consumes a lot of memory, so might 
be a good benchmark.

> Also, we need to write and erase data as fast as possible to measure 
> the
> lifetime of the SD card.

> Is there any tool or a way to write random data to the swap space?
If you're just talking about writing to the SD card locations where the 
swap space is located, maybe SysBench [1] with suitable parameters [2] 
might be useful.
There are probably similar benchmarks for VM (Virtual Memory) in case 
you want to test the actual swapping performance.

[1] http://sysbench.sourceforge.net/
[2] http://sysbench.sourceforge.net/docs/#fileio_mode

CU Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.laptop.org/pipermail/devel/attachments/20091207/5fc8c2cd/attachment.sig>

More information about the Devel mailing list