An Improved Linux MEMSET Is Being Tackled For Possibly Better Performance
Written by Michael Larabel in Linux Kernel on 14 September 2019 at 04:26 PM EDT. 15 Comments
LINUX KERNEL --
Borislav Petkov has taken to improve the Linux kernel's memset function with it being an area previously criticzed by Linus Torvalds and other prominent developers.

Petkov this week published his initial patch for better optimizing the memset function that is used for filling memory with a constant byte.

The new memset approach is talked at length in this kernel mailing list message.

Veteran kernel developer Ingo Molnar was quick to comment and brought up that the improvements could offer performance implications. "That looks exciting - I'm wondering what effects this has on code footprint - for example defconfig vmlinux code size, and what the average per call site footprint impact is? If the footprint effect is acceptable, then I'd expect this to improve performance, especially in hot loops."

It will be interesting to see where this work leads.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Linux Kernel News
Popular News This Week