Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-716

Erlang/OTP 21.0.1 slow with Windows uniprocessor host

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 21.0.1, 21.1, 22.0
    • Fix Version/s: 21.2
    • Component/s: None
    • Labels:

      Description

      Please refer to this erlang-questions message:

      http://erlang.org/pipermail/erlang-questions/2018-June/095833.html

      I havng Windows 8.1 ande reproduced this behavior usi Windows 2008R2 virtual machines running on VirtualBox 5.2.18 (Arch Linux host system). Please see the attached Vagrantfile.

      To reproduce:

      • Start up VM using vagrant up in the same directory as the Vagrantfile
      • Download the Erlang 21.0.1 installer on the host system, and copy to the same directory as the Vagrantfile
      • Within the VM, map a drive using net use * \\vboxsvr\vagrant /p:n. Generally this will become the Z: drive.
      • Copy the otp_win64_21.0.1.exe from Z: to a directory on the VM
      • Run the installer, using the default settings
      • Start the task manager to view CPU usage - the "Performance" tab is useful
      • Run the command to reproduce the issue: erl.exe -noinput -eval "io:format(erlang:system_info(version)), halt()."
      • Note that the command takes several seconds to run, and consumes 100% CPU while doing so
      • Stop the VM, and modify the Vagrantfile to specify 2 CPUS
      • Re-start the VM and re-run the test. Note that performance and CPU use are acceptable.

      If you install 20.3 via the otp_win64_20.3.exe installer and re-run the test with one CPU, you will notice that execution time and CPU usage are acceptable.

        Attachments

          Activity

            People

            Assignee:
            sverker Sverker Eriksson
            Reporter:
            lukebakken Luke Bakken
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: