AVX2?

Archive of historical development discussions
Discussions / Development has moved to GitHub
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

AVX2?

Post by gmb » Wed Apr 24, 2013 11:16 am

Here is a first preview for AVX2 @x264: http://de.scribd.com/doc/137419114/Intr ... ns-in-x264

Since Haswell adds AVX2 support very soon, is it planned to add AVX2 support for Handbrake?

User avatar
Rodeo
HandBrake Team
Posts: 12160
Joined: Tue Mar 03, 2009 8:55 pm

Re: AVX2?

Post by Rodeo » Wed Apr 24, 2013 11:37 am

This will be in the nightly builds shortly, but most likely won't be in the next stable release.

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Wed Apr 24, 2013 11:40 am

When we bump x264 again itll bring in their AVX2 code. Just bare in mind the performance difference is pretty small.
I.e probably less than 10%

gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX2?

Post by gmb » Thu Apr 25, 2013 10:16 am

Better than nothing. Have you tested AVX2?

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Thu Apr 25, 2013 11:53 am

There are many other changes that will have bigger effect. Both in Handbrake and other libraries
You are essentially getting excited over marketing hype.

The x264 project is constantly adding new optimisations. You just dont hear about them because the tech news world doesnt normallymake a big deal about it. Its not something you really need to worry or care about.

Bare in mind also haswell is still a while away yet and anyone with access to it will be under nda.

gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX2?

Post by gmb » Thu Apr 25, 2013 12:24 pm

So you didn't test, that's what I needed to know. I better wait for real tests to see what it brings or not. Don't worry, I give a s-hit about marketing.

User avatar
JohnAStebbins
HandBrake Team
Posts: 5440
Joined: Sat Feb 09, 2008 7:21 pm

Re: AVX2?

Post by JohnAStebbins » Thu Apr 25, 2013 6:58 pm

The x264 developers *have* tested and they usually say in their commit messages and/or newsletter how much each improvement gains. This time they were *very* thorough. http://www.scribd.com/doc/137419114/Int ... ns-in-x264

:oops:

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Thu Apr 25, 2013 7:29 pm

Same link as the op john ;)

gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX2?

Post by gmb » Thu May 23, 2013 4:59 pm

Does the nightly build support AVX2?

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Thu May 23, 2013 5:33 pm

Nope.

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Sat Jun 15, 2013 9:11 pm

X264 was bumped tonight so should be in tomorrows nightly.

Saying that, the current build already showed AVX2. Not sure if they didn't already have some level of optimization in there.

Either way, official numbers from x264 are 4~5% gain on AVX2 CPU's

gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX2?

Post by gmb » Sun Jun 16, 2013 4:43 pm

Can I disable AVX2? I want to test on my machine what it gains from AVX2. Also power consumption test would be possible.

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Sun Jun 16, 2013 4:52 pm

Use an older build without it.

It won't affect power consumption to any measurable degree.

gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX2?

Post by gmb » Sun Jun 16, 2013 4:57 pm

HandBrake-svn5590_x86_64-Win_GUI.exe


Is this version with AVX2?

User avatar
Rodeo
HandBrake Team
Posts: 12160
Joined: Tue Mar 03, 2009 8:55 pm

Re: AVX2?

Post by Rodeo » Sun Jun 16, 2013 5:04 pm


gmb
Bright Spark User
Posts: 332
Joined: Thu Mar 28, 2013 12:49 pm

Re: AVX2?

Post by gmb » Sun Jun 16, 2013 5:31 pm

Where I can download the last version without AVX2?

User avatar
s55
HandBrake Team
Posts: 9522
Joined: Sun Dec 24, 2006 1:05 pm

Re: AVX2?

Post by s55 » Sun Jun 16, 2013 5:34 pm

We don't keep a history of nightly builds so if you don't have a build, you'd need to build it yourself.

Post Reply