ICEfaces
  1. ICEfaces
  2. ICE-9834

Icefaces 3.3 DomResponseWriter.getOldDocument() cosumes too much CPU on partial rendering if DOM compression is enabled

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      CentoOS 5.2, Oracle Java 1.7.0_25
    • Workaround Exists:
      Yes
    • Workaround Description:
      disable DOM compression from web.xml

      Description

      Migrating from 1.8.2 to 3.3 caused degraded performance with high CPU consumption (went more than 95% on 30 concurrent requests). This only happens on partial rendering. GET request is fine. Profiler shows that the DomResponseWriter.getOldDocument() is eating up CPU time. We disabled DOM compression as a temporary solution.

      Here are some numbers (30 sessions with on total 1500 repeat using JMeter)

      With compression enabled :
        * GET Request : ~550ms
        * POST request (partial rendering) : more than 8 seconds

      With compression disabled (POST is still taking more than GET request):
       * GET : 500ms
       * POST : 650ms

      NOTE: testing with few threads does not have this effect. The time for post processing depends on the size of the page and the total number of current requests.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dipendra Pokhrel
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: