<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>memory on They call me Brett</title>
		<link>https://www.phy.bnl.gov/~bviren/tags/memory/</link>
		<description>Recent content in memory on They call me Brett</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Wed, 25 Nov 2026 19:22:42 -0500</lastBuildDate>
		
			<atom:link href="https://www.phy.bnl.gov/~bviren/tags/memory/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Profiling memory and CPU usage</title>
				<link>https://www.phy.bnl.gov/~bviren/talks/wire-cell/2025/05/30/profiling/</link>
				<pubDate>Fri, 30 May 2025 00:00:00 +0000</pubDate>
				<guid>https://www.phy.bnl.gov/~bviren/talks/wire-cell/2025/05/30/profiling/</guid>
				<description>A how-to talk on profiling the memory and CPU usage of Wire-Cell Toolkit jobs with Google PerfTools and Valgrind, motivated by DNNROI inference optimization. It shows how to run the profilers with LD_PRELOAD, generate and view call graphs with google-pprof, and use the Valgrind callgrind, massif and memcheck tools. It closes with pointers to GPU and kernel-level profiling tools.</description>
			</item>
			<item>
				<title>WCP to WCT Speedups</title>
				<link>https://www.phy.bnl.gov/~bviren/talks/wire-cell/2024/04/03/clustering-speedup/</link>
				<pubDate>Wed, 03 Apr 2024 00:00:00 +0000</pubDate>
				<guid>https://www.phy.bnl.gov/~bviren/talks/wire-cell/2024/04/03/clustering-speedup/</guid>
				<description>Reports speedups when porting WCP clustering to the Wire-Cell Toolkit, from about 73 s of clustering (about 90 s for the full job) down to about 11.5 s after redesigning the k-d tree interface from NFKD to NFKDVec. Also covers a fix to is_connected() that removed multimap inefficiency and the dropping of unneeded extra point data. It ends with the remaining slow components and memory issues.</description>
			</item>
			<item>
				<title>Adding more CPU or GPU slows things down</title>
				<link>https://www.phy.bnl.gov/~bviren/articles/salad/</link>
				<pubDate>Sun, 17 Oct 2021 00:00:00 +0000</pubDate>
				<guid>https://www.phy.bnl.gov/~bviren/articles/salad/</guid>
				<description>&lt;p&gt;Adding more computing units reduces computing throughput.  I will try&#xA;to describe what I mean by this true but internally paradoxical&#xA;sounding statement, some ways we can break it and the new problems&#xA;these solutions bring.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Drivers of Memory Usage</title>
				<link>https://www.phy.bnl.gov/~bviren/talks/dune/2019/05/21/memory-usage-first-stage/</link>
				<pubDate>Tue, 21 May 2019 00:00:00 +0000</pubDate>
				<guid>https://www.phy.bnl.gov/~bviren/talks/dune/2019/05/21/memory-usage-first-stage/</guid>
				<description>Estimates the memory needed for DUNE readout, from one APA of TPC data at 184 MB to 461 MB for six protoDUNE APAs and up to 154 TB for the far detector readout window, and shows that the raw digit vector is the bottleneck. It recommends a per-APA first stage that holds one APA at a time, runs only decoding, noise filtering and signal processing, and does not write raw digits to output, since the sparse signal data is much smaller than the raw data.</description>
			</item>
	</channel>
</rss>
