Seminaria - Instytut Informatyki Analitycznej

stycznia 2027

20270114
Poprzedni tydzień
Następny tydzień

How much memory does a program need? Buffer minimization via max-coloring

Data: 14.01.2027
Czas rozpoczęcia: 14:45

Kacper Poneta

Programs with tight memory constraints, such as protocol stacks in mobile devices, often manage memory themselves: they keep a pool of buffers and reuse them between requests that are never alive at the same time. Deciding how large these buffers must be leads to the max-coloring problem. Given a graph with vertex weights, find a proper coloring that minimizes the sum, over all color classes, of the heaviest vertex in each class. For interval graphs, the vertices are memory requests with lifetimes and sizes.

In this talk, based on the paper of Pemmaraju, Raman and Varadarajan, we explain why max-coloring differs from classical dynamic storage allocation. We then show that, on interval graphs, applying the simple First-Fit strategy to vertices in non-increasing order of weight gives a constant-factor approximation, and we connect the problem to online coloring of interval graphs. We will see First-Fit at work on a timeline of buffers, and we finish with how the same question appears in memory planning for modern software.

  1. S. V. Pemmaraju, R. Raman and K. Varadarajan, Buffer minimization using max-coloring, Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms, 2004, pp. 562–571.