![]() |
Windows Terminal Server, Virtualization, Application Delivery, Windows Software Development, Market Analysis, Training Classes and more... |
|
|
Navigation |
|
|||||||||||||||||||
|
|||||||||||||||||||||
|
|
Awards |
|
||
|
||||
Posted by Benny Tritsch on April 24, 2007 – updated on July 17, 2007
[Introduction] [Test
Environment] [Tools
and Scripts] [Methodology] [Results] [Conclusions]
[Appendix 1: Performance Counters Used] [Appendix 2:
Step-by-Step Description]
To assist with testing, I developed testing scripts and tools used on the different client and server computers.
Before the start of the tests, 250 local user accounts had to be created on each server platform. These test user accounts were added to the local Users group and Remote Desktop Users group. This was accomplished through a Visual Basic script.
|
nMaxUsers = 401 |
Listing: Script nuser.vbs, which creates 400 user accounts by using Windows Script Host. The script has to be executed in the context of a user session with administrator privileges.
The tests performed for this white paper are based on launching a sequence of applications and opening documents. The following applications were installed on the Terminal Servers.
NOTE: See “Setting up the Server” for more details on tuning the applications.
During the test three applications were launched using the following documents.
During the tests, the applications showed specific memory footprints, all related to the documents loaded. Winword.exe used between 13 and 18 megabytes, Notepad.exe used approx. 3 megabytes, and Acrobat Reader used almost 30 megabytes per session.
During the test sequence, the user sessions are initiated from the load generators by visionapp Remote Desktop Load Edition. An XML file on each client defines the IP address of the target server and the user credentials (username and password).
NOTE: It is no problem to open up to 40 user sessions from each of the load generators.
The standard settings for this test sequence were the following:
Figure: One instance of vRD Load Edition with 20 users configured and displayed within vRD right after the start of a test sequence. At this time, no test user is logged in yet.
|
<?xml version="1.0" encoding="utf-16"?>
|
Listing: XML sample file used to configure vRD Load Edition
It is not possible to open the same physical document file from multiple user sessions. Consequently, it was necessary to provide individual document files for all users. For this purpose, individual user profiles were used, which allowed the required documents to be copied to each user's desktop and to launch its associated application.
In order to create the user profiles automatically without using a domain controller, we added a simple script to the Startup folder of All Users. Its purpose was to copy all required document files from a common source to each user’s desktop of as soon as the user logged in. After a delay of 10 seconds, the ASCII document was loaded with Notepad.exe. After another 20 seconds, the PDF document was loaded with Adobe Acrobat Reader. Finally, after 20 seconds more, the Word document was loaded by Microsoft Word. NOTE: The average size of each user profile generated during the test was 7.3 MB.
NOTE: The delays between the different actions in the script were controlled by calling the command-line tool Sleep.exe from the Microsoft Windows Server 2003 Resource Kit.
We had to make sure that the paths for launching the 32-bit applications Adobe Acrobat Reader and Microsoft Word were set properly. While the path on the 32-bit platform was “C:\Program Files\”, the path on the 64-bit platform was “C:\Program Files (x86)\”. On the 64-bit platform, the login script looked as follows:
|
@echo off |
Listing: The script BigIron.cmd in the Startup folder of All Users