Skip to main content

Topic: Ogg Vorbis acceleration project (Read 131929 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • forart.eu
  • [*][*]
Ogg Vorbis acceleration project
Reply #75
OK, I just succesfully tested ALL builds both on XP Pro and 7 Ultimate @ 64 bits.

CPU: Sempron 140 unlocked @ AMD Athlon II X2 440
XP64: foobar 1.0.3 / q5
7 64: foobar 1.1 / q0

Source information:
-----------------------
File: Krless - Ecce Krless.flac
Duration : 1:03:45.307 (168696024 samples)
Sample Rate : 44100 Hz
Channels : 2
Bits Per Sample : 16
Bitrate : 957 kbps
Codec : FLAC
Encoding : lossless
Tool : reference libFLAC 1.1.4 20070213
Embedded Cuesheet : no
Audio MD5 : BE924B523EF3E6281357C403BBA6650B

Faster version *seems* (human impression) SSE2 < SSE3 < SSE.

EDIT: ok, just tested all 3 encoders on 96 KHz / 24 bit source and works on XP64/foobar 1.0.3/q5

Source information:
-----------------------
Duration : 31:46.000 (182976000 samples)
Sample Rate : 96000 Hz
Channels : 2
Bits Per Sample : 24
Bitrate : 4608 kbps
Codec : PCM
Encoding : lossless

Speed *seems* (human impression again) exactly the opposite (btw source is not compressed): SSE < SSE2=SSE3.

...i'll investigate better this next week.
  • Last Edit: 20 July, 2010, 09:55:44 AM by forart.eu

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #76
Excellent, thanks.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • AshenTech
  • [*][*]
Ogg Vorbis acceleration project
Reply #77
Thanks for the feedback and suggestions. In the hope of resolving this, here are three compiles, this time with oggenc2.87:

SSE3 - http://www.rarewares.org/files/ogg/oggenc2...7-Lancerx64.zip
SSE2 - http://www.rarewares.org/files/ogg/oggenc2...cerx64-SSE2.zip
SSE - http://www.rarewares.org/files/ogg/oggenc2...ncerx64-SSE.zip

I have to say that for standard length song tracks, ie., approx. 4 mins, there seems to be negligible speed difference between them on a q6600 @ 3.2GHz and 8GB DDR2 although any difference will no doubt be more apparent on a longer encoding exercise.

Feedback and experience with these would be welcome.

TIA.


will test when i get home.

will these give the same quality as the aoTuV 5.7 builds, or would there need to be another build based on aoTuV 5.7?

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #78
These are all based on 5.7.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • AshenTech
  • [*][*]
Ogg Vorbis acceleration project
Reply #79
this is just very odd, every time i try and run them either mediacoder crashes or dbpoweramp errors, yet the older compile still works fine.....

  • forart.eu
  • [*][*]
Ogg Vorbis acceleration project
Reply #80
OK, i made a quick test @ q0 with different bitrate sources (24/96 and 16/44), here's results (on AMD):

SSE < SSE3 = SSE2

SSE3 is slightly faster than SSE2 (which is the slower), both are slower - 2/3 sec. in any encoding - than SSE which is obviously the winner.

I'll test same files on different processor to understand if Intel compiler cheats.
  • Last Edit: 22 July, 2010, 11:27:12 AM by forart.eu

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #81
this is just very odd, every time i try and run them either mediacoder crashes or dbpoweramp errors, yet the older compile still works fine.....

It is, indeed. 

Given that the several versions do appear to run on AMD cpus, it's difficult to come to any conclusion. I'll produce a VC compile in the next day, or so, and it will be interesting to see whether that runs. If you also have problems with that, it would seem that the problem lies somewhere in your set up.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #82
OK, i made a quick test @ q0 with different bitrate sources (24/96 and 16/44), here's results (on AMD):

SSE < SSE3 = SSE2

SSE3 is slightly faster than SSE2 (which is the slower), both are slower - 2/3 sec. in any encoding - than SSE which is obviously the winner.

I'll test same files on different processor to understand if Intel compiler cheats.

Thanks.  I know Intel is supposed to be removing that bias but I don't actually know whether it is supposed already to have happened, or whether it will be at some future time. 

As mentioned above, on my own systems (a variety of Intel CPUs - q6600s, e6600, e6420 and e4300, all overclocked to varying degrees), there is really little to choose between the compiles for speed.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #83
BTW there is a small utility called iccpatch that removes any check for intel/non-intel processor in executable files.

Found 3 versions of it:

http://freearc.org/download/testing/iccpatch.rar
http://lunatics.kwsn.net/downloads/iccpatch-windows0.7z
and www . mediafire . com/?b7dprscd53sx4t3

But I don't expect significant difference...

  • AshenTech
  • [*][*]
Ogg Vorbis acceleration project
Reply #84
BTW there is a small utility called iccpatch that removes any check for intel/non-intel processor in executable files.

Found 3 versions of it:

http://freearc.org/download/testing/iccpatch.rar
http://lunatics.kwsn.net/downloads/iccpatch-windows0.7z
and www . mediafire . com/?b7dprscd53sx4t3

But I don't expect significant difference...


any instructions on how to use this?

  • forart.eu
  • [*][*]
Ogg Vorbis acceleration project
Reply #85
any instructions on how to use this?


I found this "How I (an Idiot) applied the AMD Patch..." guide:

Quote
  • I opened explore and made new folder in C: called Patch.
  • I downloaded the ICC progam and used the 7z unzipper from chickens site and unzipped it into C:\\Patch
  • I downloaded the SaH_5.15_KWSN_SSE3-Intel_Ben-Joe_2.0_B.7z and unzipped it into C:\\Patch
  • I clicked run and typed cmd.
  • Somehow I got it to C:
  • I typed CD patch and got to C:\\Patch
  • I then typed iccpatch.exe SaH_5.15_KWSN_SSE3-Intel_Ben-Joe_2.0_B.exe (the space between the iccpatch.exe and SaH seems to be very important)then clicked enter.
  • it said something about 10 instances and I closed it.
  • I closed boinc and 2 instances of Cli.exe in task manager.
  • I renamed a copy of Boinc to Boinc1.
  • I opened Boinc\\projects and deleted the app with the seti Icon.
  • I copied the SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B with the seti Icon, the SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B PDB file and one called SaH_5.15_KWSN_SSE3_Ben-Joe_2.0_B.exe~ into the original boinc folder and said YES to all.
  • closed all windows and restarted boinc with no problems.
  • Last Edit: 23 July, 2010, 04:23:07 AM by forart.eu

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #86
This version of the patcher comes with instructions, etc.

http://encode.ru/attachment.php?attachment...mp;d=1274432954

I have not tried this so cannot warrant whether it is helpful, or otherwise.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • forart.eu
  • [*][*]
Ogg Vorbis acceleration project
Reply #87
OK, did a quick test on Intel E2200/XP64 (work PC) and speed results seems more correct:

SSE3 < SSE2 < SSE

SSE3 is the winner, SSE2 is slightly slower than it and SSE is the loser (8 sec. difference !).

I honestly don't know if it's the compiler "bug", but i suggest a compilers' shootout (GCC vs. ICC vs. MSC)

Ogg Vorbis acceleration project
Reply #88
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?
  • Last Edit: 24 July, 2010, 06:21:52 AM by Steve Forte Rio

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #89
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #90
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip

This has no FLAC support, but otherwise runs OK. On one of my systems (XP x64), speedwise, it's mid way between the regular oggenc2x64 and the full ICL SSE3 Lancer x64 build.

Let me know if this runs, or not!
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • forart.eu
  • [*][*]
Ogg Vorbis acceleration project
Reply #91
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip


Quick test: it works (at least with 16/44 source) and is slower - about 8/9 secs. - than ICL on my AMD.

Would love to test GCC (MinGW) build too !

...and "someone" uses Orc too...
  • Last Edit: 24 July, 2010, 07:51:11 PM by forart.eu

  • AshenTech
  • [*][*]
Ogg Vorbis acceleration project
Reply #92
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip

This has no FLAC support, but otherwise runs OK. On one of my systems (XP x64), speedwise, it's mid way between the regular oggenc2x64 and the full ICL SSE3 Lancer x64 build.

Let me know if this runs, or not!


crashes with dbpoweramp even with .wav files, again, no clue why, everything else has been working, and the older x64 builds work great(just have to set them to vista compat mode to keep them from crashing)

  • Lear
  • [*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #93
I made some speed tests on a full CD using the recently posted builds, as well as one without the Lancer optimizations (using aoTuV 5.7). The tests were done on a Core2 Quad Q9550 running 64-bit Vista:

Code: [Select]
Stadard, x86              31,6343x
Lancer, x86               58,1845x
Lancer, x64, MSVC SSE3    55,2260x
Lancer, x64, SSE          55,2260x
Lancer, x64, SSE2         62,6603x
Lancer, x64, SSE3         63,8889x

The files from the x86 builds had a slightly higher bitrate compared to the x64 builds (108.8 vs 107 kb/s).

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #94
MSVC SSE3 compile here: http://www.rarewares.org/files/ogg/oggenc2...ancerx64-VC.zip

This has no FLAC support, but otherwise runs OK. On one of my systems (XP x64), speedwise, it's mid way between the regular oggenc2x64 and the full ICL SSE3 Lancer x64 build.

Let me know if this runs, or not!


crashes with dbpoweramp even with .wav files, again, no clue why, everything else has been working, and the older x64 builds work great(just have to set them to vista compat mode to keep them from crashing)

I'm sorry to see that you still have problems with these builds. I'd like to try to help more but I really am completely out of ideas. If anyone has any other suggestions or ideas, please let's hear them!
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • john33
  • [*][*][*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #95
Thanks to those have provided feedback and test results. Lear's results pretty much align with my own.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • Lear
  • [*][*][*]
  • Developer
Ogg Vorbis acceleration project
Reply #96
I'm sorry to see that you still have problems with these builds. I'd like to try to help more but I really am completely out of ideas. If anyone has any other suggestions or ideas, please let's hear them!

Finding the problem without a debugger can be difficult. Seems like you can get something similar to core dumps on Windows, using WinDbg (see here for a short description). Haven't used WinDbg myself though.

Ogg Vorbis acceleration project
Reply #97
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 


I hope Steve had better luck getting this to work, because all I got was that infamous "Windows has to shut down this encoder because something's wrong it" message when I tried to use it in foobar2000 :-(
  • Last Edit: 03 August, 2010, 02:56:48 PM by RazorBoy143

  • AshenTech
  • [*][*]
Ogg Vorbis acceleration project
Reply #98
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 


I hope Steve had better luck getting this to work, because all I got was that infamous "Windows has to shut down this encoder because something's wrong it" message when I tried to use it in foobar2000 :-(


try compat mode and set it to vista, see if that helps.

Ogg Vorbis acceleration project
Reply #99
Where can I download the fastest (and latest) SSE3 32-bit version of accelerated oggenc2?

It's still this one:
http://www.rarewares.org/files/ogg/oggenc2...b5.7-Lancer.zip 


I hope Steve had better luck getting this to work, because all I got was that infamous "Windows has to shut down this encoder because something's wrong it" message when I tried to use it in foobar2000 :-(


try compat mode and set it to vista, see if that helps.


I don't understand. Could you be more specific?