Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To perform heavy-duty tests you need to tune your OSApica strongly recommends that tuning the default network connections for your MacOS X / macOS system to properly run local ZebraTester Load Tests.

macOS X / macOS

The OS-settings for the maximum number of network connections per process is are restricted by default to a value of 256 on almost all MacOS macOS X versions. You can verify this value by entering the command "ulimit -n" from a terminal.

This default value is too small to execute even small tests from MacOS X systems and it is also too small to monitor remotely executed cluster jobs executed on any other machines.

We recommend that you tune your MacOS X / macOS system.

To review .

  • You can verify your current value by entering the command "ulimit -n" from a terminal.

ZebraTester includes an automated script that helps set these defaults to allow proper ZebraTester loadtest executions. Locate this script in the ZebraTester Folderunder the MacTuning subFolder

Automated Tuning of OS X

Step

Screenshot

Locate the Command File:

  • In Finder, open ZebraTester Folder and MacTuning subfolder.

  • Double-Click the DoMacTuning.command script

Image Added

Review the default (non-tuned) settings

...

  • Enter "ulimit -n". Typically you will see: 256

  • Enter "launchctl limit".

  • Typically, you will see:

    • maxproc 709 1064

    • maxfiles 256 unlimited

Tuning instructions:

  • Open a Finder window and navigate to the installation subdirectory /MacTuning(typically at /Applications/ZebraTester/MacTuning)

  • Click on DoMacTuning.command

    • Image Removed

Execute the Command File:

A terminal window appears.

...

  1. Press Return to continue

...

  1. Enter the superuser password (sudo root password)

...

Restart the MacOS X / macOS system (reboot).

...

  1. The settings are displayed with the new values. On this particular system which has already been tuned, the values remain the same. On systems that have never had ZT installed, these values will be set to smaller OS X defaults.

  2. The tuning is complete.

    1. Reboot the system.

Image Added

Verify the New Settings

  • After the restart, open a terminal window and enter "ulimit -n" and "launchctl limit"

Image Added

...