After reading Belyakov's paper a few questions for the experts occurred to me:<br><br>Since Linux allows multiple swap partitions, is there anything to be gained by using two -- the first, a compcache swap file and the second on flash, perhaps with Belyakov's MTD layer.  First question is whether Linux treats the two swap files in an order, such that it only uses the flash swap if the compcache is exhausted.  If so, instrument the I/O rate to swap, first to study the relative sizing and second -- could the I/O rate to the flash swap be a signal to prune activities?<br>
<br><div class="gmail_quote">On Thu, Dec 18, 2008 at 6:25 AM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Dec 18, 2008 at 11:21 AM, Chris Ball <<a href="mailto:cjb@laptop.org">cjb@laptop.org</a>> wrote:<br>
> And see this old mail from Mitch:<br>
><br>
>   <a href="http://lists.laptop.org/pipermail/devel/2007-December/009030.html" target="_blank">http://lists.laptop.org/pipermail/devel/2007-December/009030.html</a><br>
><br>
> (Mitch doesn't mention how he feels about swapping in particular.<br>
> We could perhaps attempt to conduct some experimen<br>
<br>
</div>Not sure if this particular patchseries ever made it, but Richard<br>
Purdie has been working on this area (marc lets you see all his posts<br>
to lkml, and it's all around mtd, compression, swap).<br>
<a href="http://marc.info/?l=linux-kernel&m=117285102508455&w=2" target="_blank">http://marc.info/?l=linux-kernel&m=117285102508455&w=2</a><br>
<br>
Might also be worthwhile to ping him...<br>
<br>
cheers,<br>
<br>
<br>
<br>
martin-who's-reading-lkml-while-xs-reboots<br>
<div class="Ih2E3d">--<br>
 <a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
 <a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
 - ask interesting questions<br>
 - don't get distracted with shiny stuff  - working code first<br>
 - <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Devel mailing list<br>
<a href="mailto:Devel@lists.laptop.org">Devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/devel" target="_blank">http://lists.laptop.org/listinfo/devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"Don't think for a minute that power concedes. We have to work like our future depends on it."  -- Barack Obama<br>