ReferencePlatforms/Test/Linux: Difference between revisions

Jump to navigation Jump to search
Line 4: Line 4:


== Configuration Changes ==
== Configuration Changes ==
Turn off screensaver (do not turn on screen saver when computer is idle)
Make the following changes:
Do not allow the monitor to turn off when the computer is idle (this is in the Power Management section of screen saver options)
* System -> Preferences -> Screen Resolution
 
** 1280 x 1024/60Hz/Normal
/etc/X11/xorg.conf:
* System -> Preferences -> Screen Saver
Add the following two lines to the "Monitor" section:
** disable 'Activate screensaver when computer is idle'
HorizSync 30-81
* System -> Preferences -> Power Management
VertRefresh 56-60
** 'Never' put computer to sleep
In the "Screen" section use the following options (removing/replacing old options):
** 'Never' put display to sleep
DefaultDepth 24
* System -> Administration -> Login Window
SubSection "Display"
** in Security tab select 'Enable Automatic Login'
  Depth 24
* System -> Administration -> Synaptic Package Manager
  Modes "1280x1024" "1024x768"
** install cpufrequtils (002-5)
EndSubSection
 
/etc/gdm/gdm.conf:
AutomaticLoginEnable=true
AutomaticLogin=mozqa
Make sure to restart gdm to pick up the changes:
sudo /etc/init.d/gdm restart
 
replace random with urandom
cd /dev
rm random; mknod random c 1 9
 
=== Throttling ===
Install cpufrequtils (002-2)
Check cpufreq-info for the name of the CPUs on the given box, then run these commands with the appropriate numbers:
cpufreq-set -c 0 -g userspace
cpufreq-set -c 1 -g userspace
cpufreq-set -c 0 -f 1000
cpufreq-set -c 1 -f 1000
Check cpufreq-info again for correct installation, can be confirmed by running:
cat /dev/zero > /dev/null &
Watch in top that the %cpu is topped out, check cpufreq-set to see that it isn't using all the cpu's Mhz.  Make sure that you kill this process after you've done this check.


== Third-party applications ==
== Third-party applications ==
541

edits

Navigation menu