[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65533] gmake-4.4.1 has a performance regression: at least the nwch
From: |
Yuri |
Subject: |
[bug #65533] gmake-4.4.1 has a performance regression: at least the nwchem project now builds much slower |
Date: |
Fri, 29 Mar 2024 10:58:24 -0400 (EDT) |
Follow-up Comment #2, bug #65533 (group make):
Hi Paul,
[comment #1 comment #1:]
> Since I don't have any idea what the "nwchem" project is or how its
makefiles work and you haven't provided any short examples, I can't say for
sure.
Thank you for your insight.
For the record:
NWChem is a popular computational chemistry software package:
https://www.nwchem-sw.org/
Here is their top-level makefile:
https://github.com/nwchemgit/nwchem/blob/master/src/GNUmakefile
Assuming that your explanation is correct, the gmake process should consume
close to 100% of CPU much of the time doing these variable expansions.
However, I don't observe this. gmake's CPU usage is mostly <1%, and all
processes listed by top look like this most of the time:
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU
COMMAND
36100 nobody 1 68 0 13M 2136K piperd 1 0:00 0.70% gmake
65966 nobody 1 68 0 13M 2272K wait 4 0:00 0.00% gmake
46544 nobody 1 68 0 13M 1948K wait 3 0:00 0.00% gmake
61005 nobody 1 20 0 13M 1316K wait 1 0:00 0.00% make
83976 nobody 1 55 0 13M 1684K wait 5 0:00 0.00% sh
77926 nobody 1 68 0 14M 2952K wait 4 0:00 0.00% bash
46543 nobody 1 20 0 13M 1712K wait 4 0:00 0.00% sh
77925 nobody 1 68 0 13M 1912K wait 2 0:00 0.00% sh
77927 nobody 1 68 0 12M 1544K piperd 6 0:00 0.00% cut
It looks like they invoke a lot of external processes (cut, sed, perl, awk),
and this is somehow extremely slower than before when there is a lot of them.
Yuri
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65533>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/