Tar PM optimization once per week in CQ5.4 | Community
Skip to main content
DEBAL_DAS
New Participant
October 16, 2015
Solved

Tar PM optimization once per week in CQ5.4

  • October 16, 2015
  • 7 replies
  • 2028 views

Hi,

As we know that, CRX automatically runs Tar PM optimization between 2 am and 5 am and we can configure the timing as well. It works in daily basis.

Can we configure this Tar PM optimization once per week?

We are using CQ5.4 . Please suggest.

 

Thanks,

Debal

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

Keep in mind that if you schedule it on weekly basis then it will take longer time to run and complete. You can tune the Tar PM optimization process by passing the delay parameter which will ensure that it does not continuously consume CPU and I/O resources and thereby blocking the other operations. Also there is another property "indexInMemory" which improves the performance of Tar PM  optimization by reducing the I/O. 

Check the following articles- 

http://www.wemblog.com/2012/03/how-to-run-online-backup-using-curl-in.html  

http://www.wemblog.com/2012/02/how-to-increase-tar-optimization-and.html

http://docs.adobe.com/docs/en/cq/5-5/core/administering/persistence_managers/tarpmopt.html

7 replies

Kunal_Gaba_
New Participant
October 16, 2015

Why you don't want it to run on daily basis ? If you don't run it on daily basis then your TAR files will continue to grow quickly and eat up your disk space. But if you still want to change the schedule then you can achieve it by disabling the auto scheduled optimization in the workspace.xml file and schedule a custom cron job (scheduled weekly) which invokes a curl script to trigger tarpm optimization. 

joerghoh
Employee
October 16, 2015

HI,

you should run the TarOptimize on a daily basis. If you want full flexibility (maybe running it twice a day or such), you can disable the TarOptimization in the configuration and start it manually using a cron job [1].

Jörg

[1] https://helpx.adobe.com/experience-manager/kb/TarPMOptimization.html, last section "Manually optimizing Tar files at runtime"

DEBAL_DAS
DEBAL_DASAuthor
New Participant
October 16, 2015

Hi Kunal,

Yes,we can run it on daily basis. But, I have one concern for the same. As our site is used in US and APAC regions , there would be any chance to face any performance issue while tar optimization  during weekdays.

Please suggest.

Thanks for you

Debal

DEBAL_DAS
DEBAL_DASAuthor
New Participant
October 16, 2015

Thanks a lot for suggestion.

 

Thanks,

Debal

Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Participant
October 16, 2015

Keep in mind that if you schedule it on weekly basis then it will take longer time to run and complete. You can tune the Tar PM optimization process by passing the delay parameter which will ensure that it does not continuously consume CPU and I/O resources and thereby blocking the other operations. Also there is another property "indexInMemory" which improves the performance of Tar PM  optimization by reducing the I/O. 

Check the following articles- 

http://www.wemblog.com/2012/03/how-to-run-online-backup-using-curl-in.html  

http://www.wemblog.com/2012/02/how-to-increase-tar-optimization-and.html

http://docs.adobe.com/docs/en/cq/5-5/core/administering/persistence_managers/tarpmopt.html

DEBAL_DAS
DEBAL_DASAuthor
New Participant
October 16, 2015

Hi,

As Adobe has recommended to optimize the tar file when the current system usage is low for automate optimization of tar files.

Will it be good to implement 'Automatically optimizing tar files' on daily basis. 

Have referred following link: https://docs.adobe.com/docs/en/crx/2-2/administering/persistence_managers.html (paragraph title : Automatically optimizing tar files).

Any suggestion.

Thanks,

Debal

[img]Auto-optimization-process.PNG[/img]

Lokesh_Shivalingaiah
New Participant
October 16, 2015

Hi Debal,

As Kunal mentioned, it advised to have it run on a daily basis by configuring such that it doesnt effect much !