taskManeage - Tasks: task #16623, GCC Build directory RAM usage

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #16623: GCC Build directory RAM usage

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Mon 17 Feb 2025 01:18:08 AM UTC
   
 
Should Start On:  Sun 16 Feb 2025 11:00:00 PM UTC Should be Finished on:  Sun 16 Feb 2025 11:00:00 PM UTC
Category:  Software Priority:  5 - Normal
Status:  Postponed Privacy:  Public
Assigned to:  makhlaghi Percent Complete:  100%
Open/Closed:  Open Effort:  0.00

Discussion

Mon 17 Feb 2025 01:18:08 AM UTC, original submission:  

The GCC RAM usage during its build is significant; so in this task, we'll keep a record of the RAM usage. To generate the per-second RAM report, the first command was ran before starting to build GCC (and stopped after GCC is built) and with the second command (using Gnuastro's table, we convert the reported values in blocks to GiB):


$ c=1; while true; do POSIXLY_CORRECT=1 df -P /dev/shm/maneage-* | awk 'NR==2{print '$c', $3}'; c=$((c+1)); sleep 1; done > mem-usage.txt

$ asttable mem-usage.txt -c1,'arith $2 512 x 1024 / 1024 / 1024 /' -o mem.fits


The chart below shows the result for GCC 14.2.0 (at the end it goes just above 9GiB!):



We will keep this task open to track the RAM usage in future versions of GCC.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code