[tbb-dev] SELFRANDO_write_layout_file enabled intentionally?

Georg Koppen gk at torproject.org
Fri May 19 10:20:00 UTC 2017


Rusty Bird:
> Hi,
> 
> start-tor-browser sets the SELFRANDO_write_layout_file environment
> variable to an empty string, which *enables* [1] the creation of the
> 7 MB /tmp/<PID>.mlf layout file. This adds 2 seconds of startup time
> on my system.
> 
> Would it make sense to *disable* it for alpha/stable builds? If so,
> the export line in start-tor-browser should be removed. (People who
> really want the layout file for debugging could still enable it by
> running "SELFRANDO_write_layout_file= ./start-tor-browser".)

Yes, I think it is not unreasonable to remove that line once we move
with selfrando to the stable series. I'd like to keep if for the alpha
series for a while, though, as it might help to debug crashes in case we
need to.

Georg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tbb-dev/attachments/20170519/579835d6/attachment.sig>


More information about the tbb-dev mailing list