Troubleshooting
Problem
Attempts to run code generation with dependencies against the same model from same environment using IBM Rationa Rhapsody version 8.0 or above might result in taking much longer time than previous version.
Cause
This phenomenon is related to a new feature, Parallel Code Generation, which was introduced on Rhapsody version 8.0.
By default, property CG::General::ParallelCodeGeneration is set as BasedOnNumberOfCores.
If your model is using default settings and your environment has multiple processors, the tool would launch multiple rhapsodyCL.exe processes to generate code parallelly.
NOTE:
Parallel Code Generation distributes the whole work into several processes, each re-loading the relevant part of the model. Because of this behaviour, enabling parallel code generation feature would probably worsen the tool performance if your environment only has one processor.
Environment
Rhapsody version 8.0 or higher
Resolving The Problem
To avoid the performance issue, you need to disable Parallel Code Generation feature by setting the value of CG::General::ParallelCodeGeneration to Disabled.
Alternatively you can try another setting UserDefinedNumberOfProcesses combining with property CG::Geneal::UserDefinedParallelProcesses to intentionally request the tool launching multiple rhapsodyCL.exe processes regardless only one physical processor is available.
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21677491