FFmpeg Devs Boast of Up To 94x Performance Boost After Implementing Handwritten AVX-512 Assembly Code

Anton Shilov reports via Tom's Hardware: FFmpeg is an open-source video decoding project developed by volunteers who contribute to its codebase, fix bugs, and add new features. The project is led by a small group of core developers and maintainers who oversee its direction and ensure that contributions meet certain standards. They coordinate the project's development and release cycles, merging contributions from other developers. This group of developers tried to implement a handwritten AVX512 assembly code path, something that has rarely been done before, at least not in the video industry. The developers have created an optimized code path using the AVX-512 instruction set to accelerate specific functions within the FFmpeg multimedia processing library. By leveraging AVX-512, they were able to achieve significant performance improvements -- from three to 94 times faster -- compared to standard implementations. AVX-512 enables processing large chunks of data in parallel using 512-bit registers, which can handle up to 16 single-precision FLOPS or 8 double-precision FLOPS in one operation. This optimization is ideal for compute-heavy tasks in general, but in the case of video and image processing in particular. The benchmarking results show that the new handwritten AVX-512 code path performs considerably faster than other implementations, including baseline C code and lower SIMD instruction sets like AVX2 and SSSE3. In some cases, the revamped AVX-512 codepath achieves a speedup of nearly 94 times over the baseline, highlighting the efficiency of hand-optimized assembly code for AVX-512. Read more of this story at Slashdot.
Stars pay tribute to Quincy Jones

Stars pay tribute to Quincy Jones

Oprah Winfrey, Sir Elton John and Barack Obama among the famous figures who have paid tribute to Quincy Jones following his death at the age of 91.

Perplexity Will Show Live US Election Results Despite AI Accuracy Warnings

An anonymous reader quotes a report from Ars Technica: On Friday, Perplexity launched an election information hub that relies on data from The Associated Press and Democracy Works to provide live updates and information about the 2024 US general election, which takes place on Tuesday, November 5. "Starting Tuesday, we'll be offering live updates on elections using data from The Associated Press so you can stay informed on presidential, senate, and house races at both a state and national level," Perplexity wrote in a blog post. The site will pull data from special data sources (called APIs) hosted by the two organizations. As of Monday, Perplexity's hub currently provides interactive information on voting requirements, poll times, and summaries about ballot measures, candidates, policy positions, and endorsements. Users can ask questions about the information similar to using a chatbot like ChatGPT. Perplexity's embrace of providing election information is an exception in the AI field. Wary about accidentally providing misinformation, competitor AI assistants from OpenAI, Google, and Anthropic currently direct users elsewhere or decline to answer election questions. OpenAI's ChatGPT Search directs election result queries to The Associated Press and Reuters. Perplexity describes its new elections hub as "an entry point for understanding key issues." But like other AI models, Perplexity can produce confabulations (plausible incorrect information) when generating responses. That could present an accuracy problem because the site's Voter Guide service uses AI language models to summarize and interpret information pulled from the web. Here's what Ars Technica advises: "Take what you see on Perplexity's site with a huge grain of salt -- do not rely on it without verifying the information with a trustworthy external source." Read more of this story at Slashdot.