|
eValid -- Automated Web Quality Solution
Browser-Based, Client-Side, Functional Testing & Validation,
Load & Performance Tuning, Page Timing, Website Analysis,
and Rich Internet Application Monitoring.
© Copyright 2000-2007 by Software Research, Inc.
|
|
Machine Adjustments for eValid LoadTest Operation
eValid Home
Summary
When running LoadTest scenarios -- i.e. a loadtest.evl type playback script --
remember that you are asking eValid to launch each *.evs script in its own eValid browser.
Because eValid imposes NO limit on the number of browsers you can open with eValid's
LOAD LoadTest feature
it is fairly easy to overload your system resources.
Typical Symptoms
Warning messages (in the form of modal popups)
from the Windows operating system like
"Failed to create empty document" or
"An unsupported operation was attempted"
are the usually result of an eValid LoadTest run
that is overloading the operating system in some way.
Note the neither of these error messages is actually from eValid per se,
but instead are eValid's response to requests made to the underlying operating system.
In most cases you can run up to ~20 parallel eValid instances
without seeing either of these messages.
With more than ~20 parallel eValid instances you will likely see these messages regularly.
Key Parameters
There are several key system settings:
Virtual Memory,
Desktop Heap,
Performance Options, and
Memory usage.
These system settings may need to be adjusted to get the best performance out
of eValid in LoadTest mode.
It is good practice to copy down and/or make backup files
of your default system settings
in case you need to re-establishing default settings.
Base Machine Description
The instructions to set Virtual Memory and Desktop Heap
settings were made using the following PC:
| Property | Recommendation |
| WorkStation CPU | Pentium III 733 or later |
| System Memory | 512 MB RAM or greater |
| OS | Windows 2000/XP with latest SPs |
| Video RAM | 64 MB SDRAM |
|
The actual number you have to set Virtual Memory and/or Desktop Heap
settings to may vary due to hardware, OS, and LoadTest configurations.
Machine Adjustments
- How To Set Virtual Memory Size
Applies to NT 4.0 Service Pack 6a, Windows 2000 Professional Edition and Windows XP.
Here is the sequence to set the Virtual Memory Size.
For Windows NT 4.0 SP 6a Users:
- Right Click [My Computer]
- Select [Properties]
- Select [Performance] > [Change]
- Set Initial Size(MB): 900
- Maximum Size(MB): 900
- Click [Set] > [OK] and exit out completely.
- Reboot the machine to have changes take effect.
For Windows 2000 Users:
- Right Click [My Computer]
- Select [Properties]
- Select[Advanced] > [Performance Options...] > [Change]
- Set Initial Size(MB): 900
- Maximum Size(MB): 900
- Click [Set] > [OK] and exit out completely.
- Reboot the machine to have changes take effect.
For Windows XP Users:
- Right Click [My Computer]
- Select [Properties]
- Select[Advanced] > [Performance] > [Settings]
- Select[Advanced] > [Virtual Memory] > [Change]
- Set Initial Size(MB): 900
- Maximum Size(MB): 900
- Click [Set] > [OK] and exit out completely.
- Reboot the machine to have changes take effect.
-
How To Set Desktop Heap Size
Here is the sequence of changes to be made to set the Desktop Heap Size.
- Select [Start Menu] > [Run] then type regedit and click [OK] button.
- In the registry editor select:
[HKEY_LOCAL_MACHINE] > [System] > [CurrentControlSet] > [Control] > [SessionManager] > [SubSystems]
- Right click [Windows]
- In the pop up menu select [Modify].
- In the editable dialog-box copy and paste the long
string into a text file using Notepad or some text editor
to save the setting as a backup.
- In the editable dialog-box use the arrow key
to scroll to the part of the string that reads:
| Machine OS |
Original Registry Setting |
| Windows NT 4.0 SP 6a |
SharedSection=1024,3072 |
| Windows 2000/XP |
SharedSection=1024,3072,512 |
- Change the "3072" to "16384" for 25+ parallel playbacks
or
set change the "3072" to "32768" for up to 50+ parallel playbacks.
ADDITIONAL NOTES:
- The above was found by searching for "Heap Settings" and "Desktop Heap Settings" at
www.microsoft.com, where more recent information may be available.
- The three numbers above, "1024,3072,512" may vary from machine to machine.
Be sure to change only the second value ("3072"),
or whatever number is in its place,
to the numbers mentioned above,
or adjust the number that favors your machine and LoadTest needs.
-
You have to have enough system memory (RAM)
to satisfy the requirements of the previous setting(s).
-
You will have to try different settings using the above methods
as each machine, hardware, and OS, may be slightly different in its requirements.
-
Changing the Performance Options
Changing the performance options of Windows 2000 Professional can adequately
assist in allocating enough resources to aid in completion of LoadTests with
large numbers of browser to be opened.
To change the Performance Options in Windows NT and Windows 2000:
- Right click [My Computer]
- Click on [Properties]
- Click on [Advanced]
- Click on [Performance Options]
- Click on [Optimize Performance for Background Services]
- Click on [OK] and exit out completely.
- Reboot the machine to have these changes take effect.
To change the Performance Options in Windows XP:
- Right click [My Computer]
- Click on [Properties]
- Click on [Advanced]
- Click on [Performance] > [Settings]
- Click on [Advanced] in Performance Options
- Click on [Processor Scheduling for Background Services]
- Click on [Memory Usage for System Cache]
- Click on [OK] and exit out completely.
- Reboot the machine to have these changes take effect.
-
Video Card Issues
LoadTest runs often are graphics-intensive processes.
There are known video card issues in such runs.
Tests which exceed more than a large number simultaneous playbacks may
affect the refresh rate of the screen and this may make the screen unreadable.
eValid V6 build #172 and later used a different method for handling
allocation of Global Data Objects,
and the incidence of video card interaction failures are considerably reduced.
To ensure smooth operation
of 50+ simultaneous eValid browsers,
we recommend having at least 64 MB of RAM allocated for the video.
To check the amount of RAM your video card has installed:
For Windows 2000/NT Users:
- Click on [Start]
- Click on [Settings]
- Click on [Control Panel]
- Click on [Display]
- Click on [Settings]
- Click on [Advanced]
- Click on the [Display Type] tab, if Windows NT and skip 7.
- Click on the [Adapter] tab
The amount of RAM present with your video card should be
indicated here by Memory Size.
For Windows SP Users:
- Click on [Start]
- Click on [Control Panel]
- Click on [Display]
- Click on [Settings]
- Click on [Advanced]
- Click on the [Adapter] tab
The amount of RAM present with your video card should be
indicated here by Memory Size.