centos – Speed up memmory allocation

We have some servers CentOS 7 with 1Tb RAM for large math calculation.

When server is just rebooted, at application start memory allocation is realy fast
enter image description here

When some calculations were already performed on the server (large uptime) (more then 3 hour required for memory allocation)

enter image description here

Strace log fullfilled with brk and sched_yield

brk
brk
brk
brk
....
sched_yield
sched_yield
brk
....

Sysctl: vm.swappiness = 1
Monitoring show that swap not used during memory allocation.

Is it possible to speed up memory allocation for application with some system tuning?

Read more here: Source link