OSDI '23 - Triangulating Python Performance Issues with SCALENE
Emery D. Berger, University of Massachusetts Amherst, Sam Stern, University of Massachusetts Amherst, Juan Altmayer Pizzorno, University of Massachusetts Amherst
This paper proposes the Scalene Python profiler. Scalene precisely and simultaneously profiles CPU, memory, and GPU usage, all with low overhead. Scalene's CPU and memory profilers help Python programmers direct their optimization efforts by distinguishing between inefficient Python and efficient native execution time and memory usage. Scalene's memory profiler employs a novel sampling algorithm that lets it operate with low overhead yet high precision. It also incorporates a novel algorithm that automatically pinpoints memory leaks within Python or across the Python/native boundary. Scalene tracks a new metric called copy volume, which highlights costly copying operations that can occur when Python silently converts between native and Python data representations, or between CPU and GPU. Since its introduction, Scalene has been widely adopted, with over 675,000 downloads to date. We present experience reports from developers who used Scalene to achieve significant performance improvements and memory savings.
View the full OSDI '23 program at https://www.usenix.org/conference/osd...
In questa pagina del sito puoi guardare il video online OSDI '23 - Triangulating Python Performance Issues with SCALENE della durata di ore minuti seconda in buona qualità , che l'utente ha caricato USENIX 05 ottobre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,217 volte e gli è piaciuto 36 spettatori. Buona visione!