On Feb 17, 2025, at 16:47, Mark Millard <mark...@yahoo.com> wrote:
> 
> I was doing a experimental poudriere(-devel) bulk -a style run
> with TMPFS_BLACKLIST= use that included specifying electron*
> in the list (and something like 900+ other names or patterns).
> I got an spike in the RAM+SWAP used when builders worked on
> the 3 electron* (with somewhat under 2700 packages to go at
> that point):
> 
> 
> # du -sm 
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/*/portdistfiles/*/
> 4561 
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/01/portdistfiles/electron/
> 541 
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/08/portdistfiles/KDE/
> 9253 
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/09/portdistfiles/electron/
> 122 
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/11/portdistfiles/ladybird-g20240505/
> 8587 
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/12/portdistfiles/electron/
> 
> The electron* 's are in (from df -m output, but less whitespace):
> 
> tmpfs  238187   5741 232445     2%    
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/01
> tmpfs  242881  10435 232445     4%    
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/09
> tmpfs  242215   9769 232445     4%    
> /usr/local/poudriere/data/.m/main-CA76-bulk_a-default/12
> 
> The (4561+9253+8587) MiBytes are a substantial part of that.
> 
> I wonder if portdistfiles/*/ would be appropriate for avoiding
> tmpfs use for packages identified in TMPFS_BLACKLIST .

Some of my notation choices were over specific, selecting just directories.
More complete is:

# du -sm 
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/*/portdistfiles/* | sort 
-rn | head
9253    
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/09/portdistfiles/electron
8587    
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/12/portdistfiles/electron
6545    
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/14/portdistfiles/chromium-132.0.6834.159.tar.xz
6545    
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/13/portdistfiles/chromium-132.0.6834.159.tar.xz
4561    
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/01/portdistfiles/electron
2713    
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/07/portdistfiles/iridium-browser-2024.11.131.1.tar.xz
541     
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/08/portdistfiles/KDE
70      
/usr/local/poudriere/data/.m/main-CA76-bulk_a-default/10/portdistfiles/blender-4.2.0.tar.xz
. . .

(The 2nd chromium is ungoogled-chromium.)

So for the first 7 of those: somewhat over 37 GiBytes of tmpfs
use in an overlapping overall-time-frame, just for the portdistfiles/
contributions.


===
Mark Millard
marklmi at yahoo.com


Reply via email to