Close Menu
    Facebook X (Twitter) Instagram
    SciTechDaily
    • Biology
    • Chemistry
    • Earth
    • Health
    • Physics
    • Science
    • Space
    • Technology
    Facebook X (Twitter) Pinterest YouTube RSS
    SciTechDaily
    Home»Technology»Phone and Computer Performance Boosted by Powerful New Memory Compacting System
    Technology

    Phone and Computer Performance Boosted by Powerful New Memory Compacting System

    By Emery Berger, University of Massachusetts at AmherstSeptember 19, 2019No Comments4 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn WhatsApp Email Reddit
    Share
    Facebook Twitter LinkedIn Pinterest Telegram Email Reddit

    Artists Illustration Computer

    UMass Amherst researchers develop powerful new memory-compacting system: Introducing ‘mesh,’ memory-saving plug-in to boost phone and computer performance.

    Applications like web browsers or smartphone apps often use a lot of memory. To address this, a research group co-led by Emery Berger, a professor of computer science at the University of Massachusetts Amherst, has developed a system they call Mesh that can automatically reduce such memory demands. Berger is presenting this work today at Cppcon, the C++ conference in Aurora, Colorado.

    Berger and colleagues in the College of Information and Computer Science (CICS) expect Mesh to have a substantial impact on the computing world, from mobile applications to desktops to data centers, because no one has previously been able to compact memory in applications written in or running on top of widely-used languages like C, C++, or Objective C, the language used for iOS apps. 

    As the authors explain, programs written in C-like languages can suffer from serious memory fragmentation, where memory is broken up, much like a bad Tetris board, Berger says, so there are many empty gaps in between. “This is how memory gets wasted,” he points out. “Imagine a Tetris board where you could stop and reorganize it at any time – this would make the game a lot easier, because you could always squeeze out the empty space. But you can’t do this in C, just as you can’t do it in Tetris.” 

    Mesh effectively squeezes out these gaps by taking advantage of a hardware feature called “virtual memory” that is supported by almost all modern computers. “The trick is to find chunks of memory that can be interleaved, sort of like when interlocking gears mesh,” Berger explains. When Mesh finds these chunks, it can reclaim the memory from one of the chunks by combining the two chunks into just one. “This meshing process works because we only change things in ‘physical’ memory. From the perspective of the program, which can only see ‘virtual’ memory, nothing has changed. This is powerful because we can do this for any application automatically.”

    The team reports that the results to date have been extremely promising; for example, using Mesh automatically reduces the memory demands of the Firefox web browser by 16%. For Redis, a popular open source data structure server, Mesh reduces memory demands by almost 40%.

    The CICS Mesh team includes professor Emery Berger, an expert in memory management who designed the algorithm that the Mac OS X memory manager is based on, professor Andrew McGregor, a specialist in algorithm design and analysis, and doctoral candidates Bobby Powers and David Tench. Powers is a fourth-year doctoral candidate who also is an infrastructure engineer at Stripe, and Tench is a fifth-year doctoral candidate specializing in randomized algorithms.

    In a field where “catastrophic fragmentation” was long accepted as inevitable, their software is a major step forward, the authors point out. “This is something that everyone thought to be impossible,” notes McGregor. “After Emery had his key insight, we were able to analyze it theoretically and design an efficient algorithm to implement the idea. Against almost 50 years of conventional wisdom, it’s great that we now have a solution to this important problem that not only works in theory, but is practical.”

    Earlier this year, Berger presented technical details at the ACM SIGPLAN Programming Language Design and Implementation conference (PLDI ’19) in Phoenix. In response to the paper, Microsoft programmer and distinguished engineer Miguel de Icaza tweeted that Mesh is a “truly inspiring work, with deep impact. A beautiful idea fully developed. What an amazing contribution to the industry.”

    Reference: “Mesh: Compacting Memory Management for C/C++ Applications” by Bobby Powers, David Tench, Emery D. Berger and Andrew McGregor, 8 June 2019, Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation.
    DOI: 10.1145/3314221.3314582

    Never miss a breakthrough: Join the SciTechDaily newsletter.
    Follow us on Google and Google News.

    Algorithm Cell Phone Computers University of Massachusetts Amherst
    Share. Facebook Twitter Pinterest LinkedIn Email Reddit

    Related Articles

    New Technique Could Enable Chips with Thousands of Cores

    Quantum Computers to Arrive with Single-Atom-Sized Transistors

    Super-Adhesive “Geckskin” Material Holds 700 Pounds

    Researchers Use Psychological Model of Human Patterns to Increase Computer IQ Score

    DARPA’s HACMS Program Seeks to Create New Technology

    Physicists Work on Nano Loudspeakers to Make Better MRIs, Quantum Computers

    Using Lasers to Cool Semiconductors

    Going Shopping During the Holidays? Your Phone Might be Watching

    Hackers Attack ATT. Is Your Wireless Phone Safe?

    Leave A Reply Cancel Reply

    • Facebook
    • Twitter
    • Pinterest
    • YouTube

    Don't Miss a Discovery

    Subscribe for the Latest in Science & Tech!

    Trending News

    This Copper Drug Clears Alzheimer’s Brain Toxins and Boosts Memory

    Adults Over 65 Lost Massive Amounts of Weight With Ozempic

    How Flocking Birds “Defy” One of Physics’ Most Fundamental Laws

    Physicists Create a New Kind of Schrödinger’s Cat State From Exotic Quantum Building Blocks

    Your Diet Could Be Missing the Key Ingredient for Heart Protection

    Researchers Warn Widely Prescribed Blood Pressure Drugs Could Be Harming Diabetic Kidneys

    James Webb Spots Something Strange Between Day and Night on an Alien Planet

    How Ancient People Moved a 6-Ton Stone 700 Kilometers to Stonehenge

    Follow SciTechDaily
    • Facebook
    • Twitter
    • YouTube
    • Pinterest
    • Newsletter
    • RSS
    SciTech News
    • Biology News
    • Chemistry News
    • Earth News
    • Health News
    • Physics News
    • Science News
    • Space News
    • Technology News
    Recent Posts
    • Scientists Uncover Cause of Inflammatory Bowel Disease Solving Decades-Old Mystery
    • The Surprising Reason Swimming Could Be Better for Your Heart Than Running
    • Could Vitamin C Be the Secret to Keeping Your Brain Younger?
    • The Surprising Fix for Robot Traffic Jams
    • Near Absolute Zero, This Transistor Starts Acting Like a Brain Cell
    Copyright © 1998 - 2026 SciTechDaily. All Rights Reserved.
    • Science News
    • About
    • Contact
    • Editorial Board
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.