ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

"Compacting the Uncompactable" by Bobby Powers

Автор: Strange Loop Conference

Загружено: 2019-09-14

Просмотров: 28932

Описание: Programs written in C/C++, can suffer from serious memory fragmentation, leading to low utilization of memory, degraded performance, and application failure due to memory exhaustion. This problem extends to languages like Ruby and Python, where the standard interpreters for these languages are themselves C programs. This talk introduces Mesh, a plug-in replacement for malloc that, for the first time, eliminates fragmentation in unmodified C/C++ applications through compaction. A key challenge is that, unlike in garbage-collected environments, the addresses of allocated objects in C and C++ are directly exposed to programmers, and applications may do things like stash addresses in integers or store flags in the low bits of aligned addresses. This hostile environment makes it impossible to safely relocate objects, as the runtime cannot precisely locate and update pointers. Mesh combines novel randomized algorithms with widely-supported virtual memory operations to provably reduce fragmentation, breaking long-established worst-case bounds on memory efficiency with high probability. Mesh generally matches the runtime performance of state-of-the art memory allocators while reducing memory consumption and eliminating pathological cases; in particular, Mesh reduces the memory of consumption of Firefox by 16% and Redis by 39%. There are efforts underway to incorporate Mesh's approach to eliminate fragmentation into existing allocators, like jemalloc.

Bobby Powers
University of Massachusetts Amherst
@lilbobbypowers

Bobby is a PhD candidate in the PLASMA Lab at UMass Amherst, and a software engineer at Stripe. His interests span systems and programming languages, with a focus on making existing software more efficient, more secure, and usable in new contexts.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
"Compacting the Uncompactable" by Bobby Powers

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Надоели файлы? Вот, пожалуйста, сокеты • C • Live coding

Надоели файлы? Вот, пожалуйста, сокеты • C • Live coding

"Outperforming Imperative with Pure Functional Languages" by Richard Feldman

"A Little Taste of Dependent Types" by David Christiansen

"Categories for the Working Hacker" by Philip Wadler

"Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022)

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Swiss tables в Go. Наиболее полный разбор внутреннего устройства новой мапы

Swiss tables в Go. Наиболее полный разбор внутреннего устройства новой мапы

«Проектирование API на основе типов в Rust» Уилла Крайтона

«Проектирование API на основе типов в Rust» Уилла Крайтона

How we program multicores - Joe Armstrong

How we program multicores - Joe Armstrong

Зачем нужна топология?

Зачем нужна топология?

"Performance Matters" by Emery Berger

Си — Язык Программирования, Без Которого Не Было бы Linux, Windows и JS

Си — Язык Программирования, Без Которого Не Было бы Linux, Windows и JS

Zorin OS против Windows 11 – реальная замена?

Zorin OS против Windows 11 – реальная замена?

Чему вас не учат на курсе CS50 о памяти

Чему вас не учат на курсе CS50 о памяти

"Concatenative programming and stack-based languages" by Douglas Creager

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

"From Geometry to Algebra and Back Again: 4000 Years of Papers" by Jack Rusher

Ложное разделение ресурсов: почему ваш многопоточный код загадочным образом работает так медленно!

Ложное разделение ресурсов: почему ваш многопоточный код загадочным образом работает так медленно!

Алгоритмы и структуры данных за 15 минут! Вместо 4 лет универа

Алгоритмы и структуры данных за 15 минут! Вместо 4 лет универа

Как устроена компьютерная графика? OpenGL / C++

Как устроена компьютерная графика? OpenGL / C++

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]