DisableAllSwap question

Jacob Appelbaum jacob at appelbaum.net
Thu Nov 26 17:56:46 UTC 2009


Scott Bennett wrote:
>      I'm currently running 0.2.2.5-alpha but will probably move to
> 0.2.2.6-alpha fairly soon.  In the Changelog there is a note about a new
> option available in 0.2.2.6-alpha called DisableAllSwap.  I'm running
> FreeBSD, and my only swap area is GELI-encrypted disk slice.  Doesn't
> that effectively accomplish the same thing on my system without requiring
> a lot of real memory to be tied up in fixed pages (a.k.a. "wired" pages)?
> Or is there some further advantage to be gained by using both that I've
> missed?

The goal behind DisableAllSwap is to ensure that no memory is ever paged
out to disk. If you have encrypted swap space, it's probably not an
issue if your have information swapped out to disk.

There may be some speed improvements from never having memory paged out
to disk but it's probably minimal.

If you'd like to test it, we'd sure would love to know if it works
properly on FreeBSD.

Best,
Jacob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 155 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20091126/67fd293a/attachment.pgp>


More information about the tor-talk mailing list