Open asarubbo opened 1 year ago
Hello Dave,
for install_freeswitch.sh and install_drachtio.sh there is an hardcoded -j4 for make commands.
install_freeswitch.sh
install_drachtio.sh
This causes machines with a single core processor to go into an overhead and machines with more than 4 cores to go slowly than they can go.
The best solution is define a variable called NPROC into common (proposed into #27) in this way:
NPROC
common
NPROC="$( nproc )"
and make arguments will be:
make -j"${NPROC}"
Thanks
HINT: if not broken, make install can also be parallelized as make install -j"${NPROC}"
make install
make install -j"${NPROC}"
Hello Dave,
for
install_freeswitch.sh
andinstall_drachtio.sh
there is an hardcoded -j4 for make commands.This causes machines with a single core processor to go into an overhead and machines with more than 4 cores to go slowly than they can go.
The best solution is define a variable called
NPROC
intocommon
(proposed into #27) in this way:and make arguments will be:
Thanks
HINT: if not broken,
make install
can also be parallelized asmake install -j"${NPROC}"