Last update: March 17, 2019. This website uses cookies. By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. More information

 Actions

Tuning

Tuning[edit]

Introduction[edit]

Everything absolutely optional. Mostly largely untested!

At the top of the Tuning chapter are the easier tuning steps. The farther you go down, the more skill will be required.

Increase Virtual Machine RAM[edit]

If less important identifiers are not important to you, and this is most likely very unimportant, you could use VirtualBox settings and increase the RAM for your Virtual Machine(s). Whonix-Workstation ™ will profit most, if you run into low RAM. Also Whonix-Gateway ™ could profit if you are creating big numbers of circuits and keep Tor busy. You can check how much RAM is free using free -m in Terminal.

More CPU cores[edit]

On systems with multi-core processors, if less important identifiers are not important to you, and this is most likely unimportant, you could increase the number of cores available to the Virtual Machine(s) in VirtualBox settings.

Removing packages[edit]

For example you could experiment with uninstalling Nepomuk and virtuoso.

Replacing Desktop Environment[edit]

See Other Desktop Environments.

Synthetic CPU[edit]

If less important identifiers are not important to you, you could try if deactivating the Synthetic CPU increases performance for you.

VBoxManage modifyvm "Whonix-Workstation" --synthcpu off

VBoxManage modifyvm "Whonix-Gateway" --synthcpu off

Nested paging and VPIDs[edit]

You could increase performance by using Nested paging and/or VPIDs. It is unknown, if that may decrease security or stability. See VirtualBox manual: Nested paging and VPIDs for more information.

vboxmanage modifyvm Whonix-Workstation --largepages on

vboxmanage modifyvm Whonix-Gateway --largepages on

vboxmanage modifyvm Whonix-Workstation --vtxvpid on

vboxmanage modifyvm Whonix-Gateway --vtxvpid on

Hardware-accelerated graphics[edit]

Requires Guest Additions, therefore not recommended, see above. Can increase performance.

See VirtualBox manual: Hardware-accelerated graphics.

Memory ballooning, Page Fusion, Memory overcommitment[edit]

Requires Guest Additions, therefore not recommended, see above. Can increase performance.

See VirtualBox manual: Memory overcommitment.

64 bit architecture[edit]

Several methods. The last method is probably the most useful one.

Maybe it would enhance security and/or performance by using an amd64 kernel. How much sense that makes when the rest of the system is still 32 bit?

sudo apt-get install linux-image-amd64

You could try to Debian Multiarch HOWTO.

Or better create amd64 builds yourself from source.

Optimized builds[edit]

Since the concept behind Whonix ™ is not tied to anything, you could create your own implementation. Perhaps using Gentoo with optimized build flags for your system. See Whonix ™ Framework, OneVM and Hardened Gentoo TG.

PCI passthrough[edit]

Might greatly improve graphics performance. Might have security implications.

Essentially this feature allows to directly use physical PCI devices on the host by the guest even if host doesn't have drivers for this particular device. See VirtualBox Manual: PCI passthrough.


No user support in comments. See Support.

Comments will be deleted after some time. Specifically after comments have been addressed in form of wiki enhancements. See Wiki Comments Policy.


Add your comment
Whonix welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Random News:

Interested in becoming an author for the Whonix News Blog or writing about anonymity, privacy and security? Please get in touch!


https | (forcing) onion

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian. Debian is a registered trademark owned by Software in the Public Interest, Inc.

Whonix ™ is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.