VirtualBox

Changeset 73157 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jul 16, 2018 12:44:47 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123753
Message:

FE/Qt: bugref:8793 Try to convince our users to use CPU cap. functinality a bit more judiciously

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp

    r72677 r73157  
    475475        if (m_pSliderCPUExecCap->value() < (int)m_uMedGuestCPUExecCap)
    476476        {
    477             message.second << tr(
    478                 "The processor execution cap is set to a low value. This may make the machine feel slow to respond.");
    479         }
     477            message.second << tr("The processor execution cap is set to a low value. This may make the machine feel slow to respond.");
     478        }
     479
     480        /* Warn user about possible performance degradation and suggest lowering # of CPU assigned to the VM instead : */
     481        if (m_pSliderCPUExecCap->value() < 100)
     482        {
     483            if(m_uMaxGuestCPU > 1 && m_pSliderCPUCount->value() > 1)
     484            {
     485                message.second << tr("Please consider lowering the number of CPU assigned to the virtual machine rather"
     486                                     " than setting the processor execution cap");
     487            }
     488            else if (m_uMaxGuestCPU > 1)
     489            {
     490                message.second << tr("Lowering the processor execution cap may result in a decline in performance.");
     491
     492            }
     493        }
     494    }
    480495
    481496        /* Serialize message: */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette