In-memory processing using Python promises faster and more efficient computing by skipping the CPU

Python
(Image credit: Shutterstock / dTosh)

  • In-memory processing hardware exists, but software is lacking
  • Researchers created PyPIM to enable in-memory computation
  • Python commands translated into memory-executable instructions

While processor speeds and memory storage capacities have surged in recent decades, overall computer performance remains constrained by data transfers, where the CPU must retrieve and process data from memory, creating a bottleneck.

Hardware technologies enabling some operations to run in-memory have been in development for some time, but software that allows computers to perform processing operations directly in RAM, bypassing the CPU, has not been properly addressed.

According to a report on Techxplore, researchers at Technion (the Israel Institute of Technology) have developed a solution.

The memory wall problem

"With some computations now handled by the memory, we need new software," explains Shahar Kvatinsky from the Andrew and Erna Viterbi Faculty of Electrical and Computer Engineering at Technion.

"This new software has to be based on new instructions that support in-memory computations. This new computation method is so different from the conventional one that it renders some of the existing building blocks of computer science unusable. Therefore, we need to write new code, which requires a lot of time and effort from software developers."

Kvatinsky has been exploring solutions to "the memory wall problem" - the bottleneck created by the use of different hardware components for computation - for years.

His research group, led by Ph.D. student Orian Leitersdorf in collaboration with researcher Ronny Ronen, has developed PyPIM (Python Processing-in-Memory), a platform that integrates in-memory computing with the popular programming language. PyPIM transforms high-level Python commands into machine-level instructions executed directly within the computer's memory.

The team at Technion believes this new platform will enable developers to write software for PIM computers with ease. Alongside PyPIM, the researchers have created a simulation tool to aid in hardware development and evaluate performance improvements compared to conventional computers.

The researchers' findings were recently showcased at the IEEE/ACM International Symposium on Microarchitecture in Austin, Texas, and a paper detailing their work has been made available on the arXiv preprint server.

You might also like

Wayne Williams
Editor

Wayne Williams is a freelancer writing news for TechRadar Pro. He has been writing about computers, technology, and the web for 30 years. In that time he wrote for most of the UK’s PC magazines, and launched, edited and published a number of them too.

Read more
d-Matrix Corsair card
Tech startup proposes a novel way to tackle massive LLMs using the fastest memory available to mankind
Engineer, Scientists and Developers Gathered Around Illuminated Conference Table in Technology Research Center, Talking, Finding Solution and Analysing Industrial Engine Design. Close-up Hands Shot
From lab to life - atomic-scale memristors pave the way for brain-like AI and next-gen computing power
Half man, half AI.
Yet another tech startup wants to topple Nvidia with 'orders of magnitude' better energy efficiency; Sagence AI bets on analog in-memory compute to deliver 666K tokens/s on Llama2-70B
Quantification of orbital torques
We're getting achingly closer to SOT-MRAM; the memory that could one day replace DRAM and NAND, but I can't see it happening soon
BlueFive processor
British startup launches low-power RISC-V processor design to address the twin problems of memory and energy; promises up to 50% faster calculation speeds
Artists representation of a hole etched into Silicon Oxide and Silicon Nitride
Flash memory breakthrough could help supercharge NAND production for SSD, memory cards - but does it actually matter?
Latest in Pro
A close-up of a phone screen showing the Telegram, Signal and WhatsApp apps
Agentic AI has “profound” issues with security and privacy, Signal President says
A person holding out their hand with a digital AI symbol.
DeepSeek kicks off the next wave of the AI rush
How to prevent cyberattacks
NTT admits hackers accessed details of almost 18,000 corporate customers in cyberattack
Padlock against circuit board/cybersecurity background
Kali laid bare: the most famous Linux hacking distro of all time
A hand reaching out to touch a futuristic rendering of an AI processor.
CFOs: Are you ready to let go and trust AI?
Woman shocked by online scam, holding her credit card outside
Cybercriminals used vendor backdoor to steal almost $600,000 of Taylor Swift tickets
Latest in News
AOC Agon Pro AG276FK gaming monitor tilted slightly to the side, showing the Windows desktop screen
Windows 11 users get ready for more ‘recommendations’ from Microsoft – but I’m relieved to say these suggestions might actually be useful
Google Chromecast 2
Chromecast users are getting increasingly angry about a weird 'untrusted device' bug that blocks casting – but a fix is coming
A close-up of a phone screen showing the Telegram, Signal and WhatsApp apps
Agentic AI has “profound” issues with security and privacy, Signal President says
Assassin's Creed Shadows
Assassin's Creed Shadows PS5 Pro details have been revealed and the biggest difference appears to be ray tracing
Spotify AI DJ on a phone being held in a hand
Hey AI DJ, put a record on: Spotify seems set to let you speak to its AI DJ
UNA Watch
UNA Watch is the sustainable wearable that wants to replace your Apple Watch