ReferencePlatforms/Test/WinXP
Configuration Details
From XP SP2 OEM, X11-45391
Downloaded Software Updates
TODO
Configuration Changes
- Turned OFF all automatic updates
- Turned ON firewall; allowed RDP and SSH
- Turned off all MS networking, leaving only TCP/IP
- Created tester account
- Turned on RDP; allowed tester and Administrator to connect
- Turned off screensavers
Install supplemental language support
(from http://www.microsoft.com/globaldev/handson/user/xpintlsupp.mspx)
- used XP SP2 OEM, X11-45391
Install Third-party applications
- Python 2.4.4
- 'Install for all users'
- Append 'C:\python24;c:\python24\scripts' to the PATH.
- Python Win32 Extensions
- PyYaml
- Info-Zip
- Download and extract Info-Zip
- Place 'unzip.exe' and 'unzip32.dll' in c:\windows
- CVS
- Download CVS
- Extract to c:\windows
- Wget
- Download Wget to c:\windows
- Chmod, rm, etc.
- Download and install Coreutils
- Append 'c:\program files\gnuwin32\bin' to PATH.
- Twisted 2.4.0 (Includes zope-interface)
RealVNC
VNC *must* be used to get real performance numbers.
Download and install RealVNC.
On the 'Select Additional Tasks' page use the following options:
[x] Register and configure VNC Server for Service-Mode
[x] Start the VNC Server in Service-Mode
When the 'VNC Server Properties (Service-Mode)' window pops up:
- Use 'VNC Password Authentication'
- Click 'Configure' and set a password
- Click 'Connections'
- Make sure 'Accept connections on port:' is checked and set to port 5900
- Uncheck 'Serve Java viewer via HTTP'.
- Restart the computer
Do not logon with RDP from this point on. It will break the VNC server.
Buildbot
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot cd buildbot c:\python24\python setup.py build c:\python24\python setup.py install
Change the contents of c:\python24\scripts\buildbot.bat to '@python c:\python24\scripts\buildbot %*
Setting up a Buildbot Slave
How to setup a Buildbot Talos slave (replace the master.host, username, and password with the correct values)
cd c:\ mkdir talos-slave buildbot create-slave talos-slave master.host:9989 username password
You should then start the slave once to create the proper directory structure.
buildbot start talos-slave buildbot stop talos-slave
Apache
The DocumentRoot will be dependent on the builddir of your Buildbot slave. In this section that directory will be referred to as $BUILDDIR.
Pageset
You will need to install a page set in c:\pages.
The rest
- Download and install Apache 2.2.4
- Set 'Network Domain' and 'Server Name' to 'localhost'.
- Create an empty directory so Apache doesn't complain:
mkdir c:/talos-slave/$BUILDDIR/talos
- Change DocumentRoot and 'C:/Program Files..." <Directory> tag to 'c:/talos-slave/$BUILDDIR/talos'.
- Add an alias so Apache knows where the pageset is. Add this to your httpd.conf:
Alias /page_load_test/pages c:/pages <Directory c:/pages> Options Indexes Order allow,deny Allow from all </Directory>
- Restart Apache from the system tray icon
- Test the install by browsing to 'http://localhost/page_load_test/framecycler.html'. You should see rapidly changing pages.
- Turn off logging, remove any lines that begin with "ErrorLog" or "CustomLog"
Updating Talos
Assuming your Buildbot master configuration is proper, Buildbot will automatically update Talos on every performance run. If the pageset is updated, you will need to refresh c:/pages.