Actions

Tuning

From Whonix


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.

Nested paging and VPIDs[edit]

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

vboxmanage modifyvm Whonix-Workstation-XFCE --largepages on

vboxmanage modifyvm Whonix-Gateway-XFCE --largepages on

vboxmanage modifyvm Whonix-Workstation-XFCE --vtxvpid on

vboxmanage modifyvm Whonix-Gateway-XFCE --vtxvpid on

Hardware-accelerated graphics[edit]

Bad for security.

See VirtualBox manual: Hardware-accelerated graphics [archive].

Memory ballooning, Page Fusion, Memory overcommitment[edit]

Memory ballooning is bad for security, see this reference (it is written in context of KVM but the research also applies to any other virtualizer unless it has specific protection against that which would need to be stated somewhere).

Other settings for security?

See VirtualBox manual: Memory overcommitment [archive].

Undocumented Tuning Settings[edit]

There are probably more tuning related settings. Undocumented at Whonix ™. Documented in VirtualBox manual but not bundled as a chapter "tuning".

View all settings.

vboxmanage showvminfo Whonix-Workstation-XFCE

Learn about all of these settings. Read VirtualBox manual [archive].

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, UniStation and Hardened Gentoo TG.

PCI passthrough[edit]

Might greatly improve graphics performance. Bad for security as VMs should not have direct access to physical hardware.

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 [archive].



Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Rss.png Matrix logo.svg.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png Monero donate whonix.png

Share: Twitter | Facebook

Have you contributed [archive] to Whonix ™? If so, feel free to add your name and highlight what you did on the Whonix authorship [archive] page.

https link onion link

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 [archive] of the Open Invention Network [archive]. 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 [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] 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.