Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Shreesh Adiga <16567adigashreesh@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] swscale/x86/rgb2rgb: add AVX512ICL versions of shuffle_bytes
Date: Sat, 25 Jan 2025 21:20:50 +0530
Message-ID: <CA+-x59bmT7p39fYPN_yQzYiYenPXZK4MTM938FPGxuHZHqYctQ@mail.gmail.com> (raw)
In-Reply-To: <d55ef1d6-e3e6-4e52-b179-b1f8b3f1088c@gmail.com>

> Try running it several times using the same seed, so
> "tests/checkasm/checkasm --test=sw_rgb --bench 17575157", and make sure
> no power saving feature is enabled (so the CPU frequency doesn't change
> based on load). That may help getting consistent results.

After running "echo performance | tee
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor" and
recompiling ffmpeg with "--enable-linux-perf", I am seeing the below
numbers:

shuffle_bytes_0321_c:                                   56.5 ( 1.00x)
shuffle_bytes_0321_ssse3:                               18.0 ( 3.14x)
shuffle_bytes_0321_avx2:                                10.0 ( 5.65x)
shuffle_bytes_0321_avx512icl:                            9.0 ( 6.28x)
shuffle_bytes_1230_c:                                   84.5 ( 1.00x)
shuffle_bytes_1230_ssse3:                               18.2 ( 4.63x)
shuffle_bytes_1230_avx2:                                22.2 ( 3.80x)
shuffle_bytes_1230_avx512icl:                           10.0 ( 8.45x)
shuffle_bytes_2103_c:                                   49.8 ( 1.00x)
shuffle_bytes_2103_ssse3:                               21.2 ( 2.34x)
shuffle_bytes_2103_avx2:                                17.5 ( 2.84x)
shuffle_bytes_2103_avx512icl:                            7.5 ( 6.63x)
shuffle_bytes_3012_c:                                   84.5 ( 1.00x)
shuffle_bytes_3012_ssse3:                               17.0 ( 4.97x)
shuffle_bytes_3012_avx2:                                16.0 ( 5.28x)
shuffle_bytes_3012_avx512icl:                           16.2 ( 5.20x)
shuffle_bytes_3210_c:                                   92.8 ( 1.00x)
shuffle_bytes_3210_ssse3:                               25.8 ( 3.60x)
shuffle_bytes_3210_avx2:                                14.0 ( 6.62x)
shuffle_bytes_3210_avx512icl:                            9.0 (10.31x)

Thanks,
Shreesh
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

  reply	other threads:[~2025-01-25 15:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-25 14:25 Shreesh Adiga
2025-01-25 14:33 ` James Almer
2025-01-25 15:11   ` Shreesh Adiga
2025-01-25 15:39     ` James Almer
2025-01-25 15:50       ` Shreesh Adiga [this message]
2025-01-25 16:17         ` James Almer
2025-01-25 22:27 ` Ronald S. Bultje

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+-x59bmT7p39fYPN_yQzYiYenPXZK4MTM938FPGxuHZHqYctQ@mail.gmail.com \
    --to=16567adigashreesh@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git