Closed Bug 1623200 Opened 6 years ago Closed 5 years ago

Massive performance issues with Firefox

Categories

(Core :: Graphics: WebRender, defect, P3)

68 Branch
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox78 --- wontfix

People

(Reporter: akhilraz, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file memory-report.json.gz —

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Used firefox with 5 tabs open. Regular stuff

Actual results:

the Firefox itself was taking around 2 G of memory and 3 FirefoxCP Web Content processes taking around 700-800MB of memory.

Expected results:

Some raw text about my browser :

{
  "application": {
    "name": "Firefox",
    "osVersion": "Darwin 18.7.0",
    "version": "68.4.1esr",
    "buildID": "20200107212959",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0",
    "safeMode": false,
    "updateChannel": "esr",
    "supportURL": "https://support.mozilla.org/1/firefox/68.4.1/Darwin/en-US/",
    "numTotalWindows": 1,
    "numRemoteWindows": 1,
    "remoteAutoStart": true,
    "autoStartStatus": 1,
    "policiesStatus": 1,
    "keyLocationServiceGoogleFound": true,
    "keySafebrowsingGoogleFound": true,
    "keyMozillaFound": true
  },
  "securitySoftware": {
    "registeredAntiVirus": "",
    "registeredAntiSpyware": "",
    "registeredFirewall": ""
  },
  "processes": {
    "remoteTypes": {
      "extension": 1,
      "web": 8
    },
    "maxWebContentProcesses": 8
  },
  "modifiedPreferences": {
    "accessibility.typeaheadfind.flashBar": 0,
    "browser.cache.disk.amount_written": 2055016,
    "browser.cache.disk.telemetry_report_ID": 6,
    "browser.cache.disk.capacity": 1048576,
    "browser.cache.disk.filesystem_reported": 1,
    "browser.cache.disk.hashstats_reported": 1,
    "browser.download.useDownloadDir": false,
    "browser.sessionstore.upgradeBackup.latestBuildID": "20200107212959",
    "browser.urlbar.placeholderName": "Google",
    "extensions.lastAppVersion": "68.4.1",
    "font.internaluseonly.changed": false,
    "idle.lastDailyNotification": 1584448082,
    "media.gmp-manager.lastCheck": 1584239220,
    "media.gmp-gmpopenh264.abi": "x86_64-gcc3",
    "media.gmp-gmpopenh264.lastUpdate": 1583523943,
    "media.gmp-gmpopenh264.version": "1.8.1.1",
    "media.gmp-manager.buildID": "20200107212959",
    "media.gmp-widevinecdm.abi": "x86_64-gcc3",
    "media.gmp-widevinecdm.lastUpdate": 1583523945,
    "media.gmp-widevinecdm.version": "4.10.1440.19",
    "media.gmp.storage.version.observed": 1,
    "network.predictor.cleaned-up": true,
    "places.history.expiration.transient_current_max_pages": 76876,
    "places.database.lastMaintenance": 1584139218,
    "plugin.disable_full_page_plugin_for_types": "application/pdf",
    "privacy.sanitize.pending": "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]",
    "security.sandbox.content.tempDirSuffix": "5ca7852c-2667-624e-9baa-ec25362dfbd5",
    "security.sandbox.plugin.tempDirSuffix": "bdc1646f-67c4-e249-9b92-44312e098f11",
    "services.sync.declinedEngines": "",
    "signon.importedFromSqlite": true,
    "storage.vacuum.last.index": 1,
    "storage.vacuum.last.places.sqlite": 1583529760
  },
  "lockedPreferences": {
    "browser.startup.homepage_override.mstone": "ignore",
    "browser.urlbar.suggest.searches": false,
    "browser.urlbar.userMadeSearchSuggestionsChoice": true,
    "network.automatic-ntlm-auth.trusted-uris": "https://datamigration.corp.amazon.com, https://datamigrationforoncall.corp.amazon.com",
    "network.negotiate-auth.delegation-uris": "https://.amazon.com, https://amazon.awsapps.com",
    "network.negotiate-auth.trusted-uris": "https://.amazon.com, https://amazon.awsapps.com",
    "network.trr.mode": 5,
    "security.enterprise_roots.enabled": true,
    "security.tls.version.min": 1,
    "security.webauth.u2f": true,
    "security.webauth.webauthn": true
  },
  "media": {
    "currentAudioBackend": "audiounit",
    "currentMaxAudioChannels": 2,
    "currentPreferredSampleRate": 44100,
    "audioOutputDevices": [
      {
        "name": "Headphones",
        "groupId": "AppleHDAEngineOutput:1F,3,0,1,1:0",
        "vendor": "Apple Inc.",
        "type": 2,
        "state": 2,
        "preferred": 15,
        "supportedFormat": 12336,
        "defaultFormat": 4096,
        "maxChannels": 2,
        "defaultRate": 44100,
        "maxRate": 48000,
        "minRate": 44100,
        "maxLatency": 4103,
        "minLatency": 21
      },
      {
        "name": "U28E590",
        "groupId": "AppleHDAEngineOutputDP:1F,3,2,1,1:0:{2D4C-0C4C-304D534A}",
        "vendor": "Apple Inc.",
        "type": 2,
        "state": 2,
        "preferred": 0,
        "supportedFormat": 12336,
        "defaultFormat": 4096,
        "maxChannels": 2,
        "defaultRate": 48000,
        "maxRate": 48000,
        "minRate": 32000,
        "maxLatency": 4101,
        "minLatency": 20
      }
    ],
    "audioInputDevices": [
      {
        "name": "External Microphone",
        "groupId": "AppleHDAEngineInput:1F,3,0,1,0:1",
        "vendor": "Apple Inc.",
        "type": 1,
        "state": 2,
        "preferred": 15,
        "supportedFormat": 12336,
        "defaultFormat": 4096,
        "maxChannels": 2,
        "defaultRate": 44100,
        "maxRate": 48000,
        "minRate": 44100,
        "maxLatency": 4103,
        "minLatency": 21
      }
    ]
  },
  "javaScript": {
    "incrementalGCEnabled": true
  },
  "accessibility": {
    "isActive": false,
    "forceDisabled": 0,
    "handlerUsed": false,
    "instantiator": ""
  },
  "libraryVersions": {
    "NSPR": {
      "minVersion": "4.21",
      "version": "4.21"
    },
    "NSS": {
      "minVersion": "3.44.3",
      "version": "3.44.3"
    },
    "NSSUTIL": {
      "minVersion": "3.44.3",
      "version": "3.44.3"
    },
    "NSSSSL": {
      "minVersion": "3.44.3",
      "version": "3.44.3"
    },
    "NSSSMIME": {
      "minVersion": "3.44.3",
      "version": "3.44.3"
    }
  },
  "userJS": {
    "exists": false
  },
  "intl": {
    "localeService": {
      "requested": [
        "en-US"
      ],
      "available": [
        "en-US"
      ],
      "supported": [
        "en-US"
      ],
      "regionalPrefs": [
        "en-US"
      ],
      "defaultLocale": "en-US"
    },
    "osPrefs": {
      "systemLocales": [
        "en-US"
      ],
      "regionalPrefsLocales": [
        "en-US"
      ]
    }
  },
  "crashes": {
    "submitted": [],
    "pending": 0
  },
  "sandbox": {
    "contentSandboxLevel": 3,
    "effectiveContentSandboxLevel": 3
  },
  "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 1,
    "windowLayerManagerType": "OpenGL",
    "windowLayerManagerRemote": true,
    "windowUsingAdvancedLayers": false,
    "adapterDescription": "",
    "adapterVendorID": "0x8086",
    "adapterDeviceID": "0x5926",
    "adapterRAM": "",
    "adapterDrivers": "",
    "driverVendor": "",
    "driverVersion": "",
    "driverDate": "",
    "usesTiling": true,
    "contentUsesTiling": true,
    "offMainThreadPaintEnabled": true,
    "offMainThreadPaintWorkerCount": 3,
    "targetFrameRate": 60,
    "webgl1Renderer": "Intel Inc. -- Intel(R) Iris(TM) Plus Graphics 640",
    "webgl1Version": "4.1 INTEL-12.10.16",
    "webgl1DriverExtensions": "GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier",
    "webgl1Extensions": "ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_disjoint_timer_query EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context",
    "webgl1WSIInfo": "CGL",
    "webgl2Renderer": "Intel Inc. -- Intel(R) Iris(TM) Plus Graphics 640",
    "webgl2Version": "4.1 INTEL-12.10.16",
    "webgl2DriverExtensions": "GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier",
    "webgl2Extensions": "EXT_color_buffer_float EXT_disjoint_timer_query EXT_float_blend EXT_texture_compression_rgtc EXT_texture_filter_anisotropic OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context",
    "webgl2WSIInfo": "CGL",
    "info": {
      "AzureCanvasBackend": "skia",
      "AzureFallbackCanvasBackend": "none",
      "AzureContentBackend": "skia",
      "ApzWheelInput": 1,
      "ApzDragInput": 1,
      "ApzKeyboardInput": 1,
      "ApzAutoscrollInput": 1,
      "TileHeight": 1024,
      "TileWidth": 1024
    },
    "featureLog": {
      "features": [
        {
          "name": "HW_COMPOSITING",
          "description": "Compositing",
          "status": "available",
          "log": [
            {
              "type": "default",
              "status": "available"
            }
          ]
        },
        {
          "name": "OPENGL_COMPOSITING",
          "description": "OpenGL Compositing",
          "status": "available",
          "log": [
            {
              "type": "default",
              "status": "available"
            }
          ]
        },
        {
          "name": "WEBRENDER",
          "description": "WebRender",
          "status": "opt-in",
          "log": [
            {
              "type": "default",
              "status": "opt-in",
              "message": "WebRender is an opt-in feature"
            }
          ]
        },
        {
          "name": "WEBRENDER_QUALIFIED",
          "description": "WebRender qualified",
          "status": "blacklisted",
          "log": [
            {
              "type": "default",
              "status": "available"
            },
            {
              "type": "env",
              "status": "blacklisted",
              "message": "No qualified hardware"
            }
          ]
        },
        {
          "name": "OMTP",
          "description": "Off Main Thread Painting",
          "status": "available",
          "log": [
            {
              "type": "default",
              "status": "available"
            }
          ]
        }
      ],
      "fallbacks": []
    },
    "crashGuards": []
  },
  "extensions": [
    {
      "name": "Amazon.com",
      "version": "1.1",
      "isActive": true,
      "id": "amazondotcom@search.mozilla.org"
    },
    {
      "name": "Bing",
      "version": "1.0",
      "isActive": true,
      "id": "bing@search.mozilla.org"
    },
    {
      "name": "DuckDuckGo",
      "version": "1.0",
      "isActive": true,
      "id": "ddg@search.mozilla.org"
    },
    {
      "name": "eBay",
      "version": "1.0",
      "isActive": true,
      "id": "ebay@search.mozilla.org"
    },
    {
      "name": "Google",
      "version": "1.0",
      "isActive": true,
      "id": "google@search.mozilla.org"
    },
    {
      "name": "Privacy Badger",
      "version": "2020.2.19",
      "isActive": true,
      "id": "jid1-MnnxcxisBPnSXQ@jetpack"
    },
    {
      "name": "Twitter",
      "version": "1.0",
      "isActive": true,
      "id": "twitter@search.mozilla.org"
    },
    {
      "name": "Wikipedia (en)",
      "version": "1.0",
      "isActive": true,
      "id": "wikipedia@search.mozilla.org"
    }
  ],
  "features": [
    {
      "name": "Firefox Monitor",
      "version": "3.0",
      "id": "fxmonitor@mozilla.org"
    },
    {
      "name": "Firefox Screenshots",
      "version": "39.0.0",
      "id": "screenshots@mozilla.org"
    },
    {
      "name": "Form Autofill",
      "version": "1.0",
      "id": "formautofill@mozilla.org"
    },
    {
      "name": "Web Compat",
      "version": "6.3.0",
      "id": "webcompat@mozilla.org"
    },
    {
      "name": "WebCompat Reporter",
      "version": "1.1.0",
      "id": "webcompat-reporter@mozilla.org"
    }
  ]
}

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

The memory usage of Firefox depends heavily on the content of the open sites. As long as the memory usage stays constant (= stops at some arbitrary point), it is probably not a problem.

You mention in the title that you experience massive performance problems. How do these manifest? It would be helpful, if you have steps to reproduce these problems.

Flags: needinfo?(akhilraz)
Priority: -- → P3

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3

WebRender has replaced layers so this bug is no longer actionable.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(akhilraz)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: