Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You'll wish that you had done some of the hard things when they were easier to do.


comp / comp.os.linux.advocacy / FFMPEG and AVX-512

SubjectAuthor
* FFMPEG and AVX-512Farley Flud
`- Re: FFMPEG and AVX-512DFS

1
Subject: FFMPEG and AVX-512
From: Farley Flud
Newsgroups: comp.os.linux.advocacy
Organization: UsenetExpress - www.usenetexpress.com
Date: Wed, 6 Nov 2024 18:13 UTC
From: fflud@gnu.rocks (Farley Flud)
Subject: FFMPEG and AVX-512
Newsgroups: comp.os.linux.advocacy
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 64
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Wed, 06 Nov 2024 18:13:16 +0000
Nntp-Posting-Date: Wed, 06 Nov 2024 18:13:16 +0000
X-Received-Bytes: 2525
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Message-Id: <180573a7e44048c1$882$228995$802601b3@news.usenetexpress.com>
View all headers

After reading that FFMPEG devs have implemented AVX-512, I wanted
to know if my Gentoo build has this enabled.

FFMPEG is a bitch to build. It has DOZENS, if not HUNDREDS, of options.

My Xeon W has full AVX-512 and this is what my Gentoo build log shows:

x86 assembler nasm
MMX enabled yes
MMXEXT enabled yes
3DNow! enabled no
3DNow! extended enabled no
SSE enabled yes
SSSE3 enabled yes
AESNI enabled yes
AVX enabled yes
AVX2 enabled yes
AVX-512 enabled yes
AVX-512ICL enabled yes

Hoorah! I have full FFMPEG AVX-512 capability!

Does AVX-512 make a fucking difference? You can bet your sweet
ass that it fucking does.

Check the FFMPEG logos:

https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/FFmpeg_Logo_new.svg/1280px-FFmpeg_Logo_new.svg.png

The green "zigzag" pattern at the left represents the ZIGZAG SCAN
that is ubiquitous in video processing.

Usually, video is processed with 8X8 blocks of data. These blocks
need to be scanned in a zigzag fashion and this will involve many instructions.

But a zigzag scan can be accomplished through simple byte permutation and
AVX-512 has the "vpermb" instruction which can permute 64 bytes in one fell swoop!

If the block data is not 8-bit then the bytes can be used as indices to
the actual, higher bit, video data.

Linus Torvalds has criticized Intel for bothering to implement AVX-512
but in this case Torvalds if full of fucking shit. AVX-512 is super!

Only Xeon W has full AVX-512. Intel is removing it from its Core processors.

What about AMD?

Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!

All the retards that buy AMD should know that AMD has phony AVX-512.
On AMD, data lanes are only 256 bytes and AVX-512 is implemented
via a "double pumping" method.

Only Intel (Xeon W) has true 512-bit AVX-512.

AMD is garbage. Intel is the fucking best.

Intel AVX-512 even gives GPUs a run for their money.

Unless one has an Intel AVX-512 machine then one is a retarded pauper.

Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!

Subject: Re: FFMPEG and AVX-512
From: DFS
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Wed, 6 Nov 2024 23:52 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: guhnoo-basher@linux.advocaca (DFS)
Newsgroups: comp.os.linux.advocacy
Subject: Re: FFMPEG and AVX-512
Date: Wed, 6 Nov 2024 18:52:56 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <vggvgn$2am27$2@dont-email.me>
References: <180573a7e44048c1$882$228995$802601b3@news.usenetexpress.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 07 Nov 2024 00:52:55 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4cc8377e3ad94d1c563dc60bd7380c60";
logging-data="2447431"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3VF4VK8Xuh00E609Ivy3N"
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:v/dFbMkj02EpoGk0HoF5jkj6l1Q=
In-Reply-To: <180573a7e44048c1$882$228995$802601b3@news.usenetexpress.com>
Content-Language: en-US
View all headers

On 11/6/2024 1:13 PM, Lameass Larry Piet wrote:

> AMD has phony AVX-512.

Feeb has phony info (as usual)

"Zen 5 revamps AVX-512 implementation

The biggest IPC gains were seen in workloads that used AMD's AVX-512
vector extensions, which have been reworked this generation to feature a
full 512-bit data path as opposed to the "double-pumped" 256-bit
approach we saw in Zen 4 in 2022."

Ever heard of a Pyrrhic victory? The hours you burned writing this shit
post and futzing with Gentoo and looking up AVX-512 on AMD will NEVER be
recouped by the few seconds you save with it running your shit-code on
your low-end Xeon W, which is bested in every way possible by cheaper
and cooler and faster AMD chips.

I stuck with only Intel from 1986 to 2022 (36 years), but my next few
chips will definitely be AMD.

I don't much trust Intel any more, based on their half-ass response to
the widespread instabilities in their 13th and 14th gen chips.

1

rocksolid light 0.9.8
clearnet tor