[Cocci] [PATCH 0/2 V3] Improve Coccinelle Parallelisation

2020-10-07 Thread Sumera Priyadarsini
Coccinelle utilises all available threads to implement parallelisation. However, this results in a decrease in performance. This patchset aims to improve performance by modifying cocciccheck to use at most one thread per core by default in machines with more than 4 hyperthreads. Sumera

[Cocci] [PATCH 2/2 V3] Documentation: Coccinelle: Modify parallelisation information in docs

2020-10-07 Thread Sumera Priyadarsini
This patchset modifies coccicheck to use at most one thread per core by default in machines with more than 4 hyperthreads for optimal performance. Modify documentation in coccinelle.rst to reflect the same. Signed-off-by: Sumera Priyadarsini --- Changes in V2: Update scripts/coccicheck

[Cocci] [PATCH 1/2 V3] scripts: coccicheck: Change default value for parallelism

2020-10-07 Thread Sumera Priyadarsini
By default, coccicheck utilizes all available threads to implement parallelisation. However, when all available threads are used, a decrease in performance is noted. The elapsed time is minimum when at most one thread per core is used. For example, on benchmarking the semantic patch kfree.cocci