Skip to main content

Performance tuning activities

One of the important steps after upgradation is applied all the possible performance tuning activities. We did following things as a part of it.
  1. Update JVM Parameters in start script
    1. Check CQ process: $ps –ef | grep cq
    2. Check crx-quickstart path : $pwdx <pid>
    3. Go to crx-quickstart path: $cd <aem-install-path>/crx-quickstart/bin
    4. Edit start file using Vi editor, Update CQ_JVM_OPTS as mentioned below;
    5. Reduce Xms heap size from 27648 MB to 12000 MB and Xmx from 27648 MB to 18000 MB
    6. Update CQ_JVM_OPTS statement from CQ 5.6.1 instance and add below properties:
    7. Doak.queryLimitInMemory=500000
    8. Doak.queryLimitReads=100000
    9. Dupdate.limit=250000
    10. Doak.fastQuerySize=true
    11. XX:+CMSScavengeBeforeRemark 
    12. -XX:+ScavengeBeforeFullGC 
    13. -XX:+ParallelRefProcEnabled 
    14. -XX:CMSInitiatingOccupancyFraction=70 
    15. -XX:+UseConcMarkSweepGC  
    16. -XX:+CMSParallelRemarkEnabled 
    17. -XX:ConcGCThreads=8 
    18. -XX:ParallelGCThreads=8 
    19. -Xloggc:/opt/adobe/author/crx-quickstart/logs/gc-auth.log 
    20. -XX:+UseGCLogFileRotation 
    21. -XX:NumberOfGCLogFiles=10 
    22. -XX:GCLogFileSize=10M 
    23. -XX:+HeapDumpOnOutOfMemoryError 
    24. -XX:HeapDumpPath=/opt/adobe/author/crx-quickstart/logs/dump 
    25. -XX:ErrorFile=/opt/adobe/author/crx-quickstart/logs/jvm/hs_err_pid%p.log 
    26. -Djackrabbit.maxQueuedEvents=1000000 
    27. -Djava.io.tmpdir=/opt/adobe/author/tmp 
    28. -Djava.awt.headless=true 
    29. -Doak.queryLimitInMemory=500000 
    30. -Doak.queryLimitReads=100000 
    31. -Dupdate.limit=250000 
    32. -Doak.fastQuerySize=true 
    33. -Dorg.apache.jackrabbit.core.security.authorization.acl.CachingEntryCollector.maxsize=30000'
  2. Installing all Hotfixes, security patches & Service packs
  3. OSGI configuration changes like
    1. Increase Cache size for CQBufferedImageCache
    2. Disable Mobile Redirect Filter, if not needed
    3. Disable Mobile TransformerFactory, if not needed
    4.  Set Number of Requests to Record to Zero in Sling Main Servlet
    5. Disable unnecessary OSGI Components
    6. Disable unused components
  4. Index optimisations
    1. Go to /oak:index/nodetype ,
    2. Edit property *declareNodeType and remove slingevent:Job from array 
    3. Reindex nodetype using operation OOTB tool. 
  5. Workflows - Convert workflow type to “Transient” (if lots of workflows are going to be used)
  6. Remove Sling Queues Configured

  1. After doing both post upgrade activities and performance tuning activities, its important to do sanity on the AEM systems
    1. Check Login page and welcome page post login.
    2. Check CRXde, CRX Explorer is accessible
    3. Check if Replication agents are accessible. 
    4. Check DAM admin access and view image properties.
    5. Check tools console (miscadmin).
    6. Check workflow console and view workflow models.
    7. Check cloud services console
    8. Check Tags console.
    9. Check Felix console (bundles, configMgr, services, components, JMX console etc.)
    10. Check Package manager console. 

Comments

Popular posts from this blog

Some SDL Tridion Interview Questions…

Many of my friends keep asking me to provide some interview questions related with SDL Tridion . Surprisingly, there are hardly any site available for questions related with SDL Tridion., though you can find host of sites for other WCMs like AEM and Sitecore. Hence, I thought to put some basic Tridion related questions on the basis of my experience with it. I know it may require several improvements but thought to share something for someone who is looking to get some Tridion related questions to start with. I will be glad to incorporate any suggestion you have. Development phases related questions - What is the development methodology recommended by SDL for development/integration based on SDL Tridion? Have you participated in any Blueprinting workshop, please share the experience? What are the inputs required in BluePrint? How can inheritance of content flow be altered explicitly? What are priority and ranking in Blueprint? What are the inputs required for Content Modeling ...

Campaign Management in Adobe CQ5/AEM

Campaign management provides digital marketers the opportunity to create dedicated experiences for visitors.   We can create content, segment visitors, push and promote targeted content for specific user profiles and manage campaigns across multiple channels. Elements in Campaign Management :- Brands: Brands are the top level unit and form a collection of Campaigns. Campaigns: A campaign is a collection of individual Experiences. Teasers: Teaser Pages / Paragraphs are used to steer specific visitor . Typically a teaser page is a temporary action that will last for a specific period of time, until it is replaced by the next teaser page. Newsletters: E-mail Communications are used to engage users and encourage them to visit your web site. These usually take the form of a newsletter, sent to Leads (which are usually grouped into Lists) Leads: The information that you have collected about your visitors and how to contact them forms the basis for your leads. Lists:Leads are u...

User generated content (UGC) implementation - SoCo or AEM communities or Adobe LiveFyre or Adobe Social

Users are contributing content more than ever before, and it's getting difficult for Enterprise systems to manage it. To cope up with this, Adobe keeps evolving their UGC ecosystem. I think it was called  Social Collaboration tool  before CQ 5.5 After CQ 5.5 it was called  Social Communities  (So-Co),  this was shortened to So-Co. With AEM 6, this was rebranded as AEM Communities. At that point, all UGC components functionality was moved into Communities from AEM. So forums, comments/ratings etc. With 6.2, the concept of a central store was introduced, so content was saved outside of AEM in a central location where all instances would read and write, this can be Mongo, or JCR (but only for single instances) or it can be cloud storage (better name than social storage) which as you know carries a cost. And then Adobe overtook another product named Livefyre which is managed comments and other UGC ...