IPB

Welcome Guest ( Log In | Register )

Optimized vorbis encoder for Linux (SSE instructions), I have built the binary - any interest ?
The_Sven
post Nov 5 2009, 12:10
Post #1





Group: Members
Posts: 13
Joined: 5-November 09
Member No.: 74643



A quick look around the forum seemed to indicate that no-one has ever attempted to build Vorbis with Lancer optimisations for Linux ?!

So I spent a few hours fiddling and produced an executable:
- Linux
- aoTuV-beta5
- Lancer optimisations for SSE
- 32 bit (x86)
- statically linked
- around 3x faster compared to the standard aoTuV-beta5 build

I did not attempt to port Lancer's SSE2/SSE3 instructions to Linux because the difference between SSE/SSE2/SSE3 is minimal on the PCs I use.
(Intel Celeron M and AMD Turion 64x2)

Any interest? If so, I will post the binary.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
The_Sven
post Nov 14 2009, 15:04
Post #2





Group: Members
Posts: 13
Joined: 5-November 09
Member No.: 74643



I put the required patches and modifications under source control, so everyone can:
- build
- look at the diffs
- generate patches

Use the repository's web interface to browse it. You can also download the accelerated SSE Linux executable there.
http://repo.or.cz/w/vorbis-lancer-gcc.git/tree
Go to the top of the page
+Quote Post
imre_herceg
post Nov 14 2009, 17:43
Post #3





Group: Members
Posts: 47
Joined: 13-October 06
Member No.: 36310



Thank you for the binary. It is twice as fast as mainstream oggenc.
Unfortunately it accepts only wav files as input. Could you please add flac support?
You used aotuv-b5 version of 2006-10-24. Do you plan to make a binary of the latest aotuv-b5.7 (2009-03-01)?
Go to the top of the page
+Quote Post
skamp
post Nov 14 2009, 21:13
Post #4





Group: Developer
Posts: 1410
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (imre_herceg @ Nov 14 2009, 17:43) *
It is twice as fast as mainstream oggenc.

Funny, it's exactly twice as fast as aotuv b5.7 on my netbook (Arch Linux, GCC 4.4.2 on an Intel Atom N270 1.6GHz): 14.88x vs. 7.44x. Very nice!
Ideally Aoyumi would incorporate the optimizations…


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
The_Sven
post Nov 14 2009, 22:23
Post #5





Group: Members
Posts: 13
Joined: 5-November 09
Member No.: 74643



QUOTE (skamp @ Nov 14 2009, 20:13) *
Very nice!

The credit goes to the author of the Lancer Vorbis acceleration project:
http://homepage3.nifty.com/blacksword/

I just made a few patches to make it work on Linux.
Go to the top of the page
+Quote Post

Posts in this topic
- The_Sven   Optimized vorbis encoder for Linux (SSE instructions)   Nov 5 2009, 12:10
- - skamp   Better yet, post your (I assume) cleaned-up source...   Nov 5 2009, 12:19
|- - The_Sven   QUOTE (skamp @ Nov 5 2009, 11:19) Better ...   Nov 5 2009, 12:39
|- - Soap   QUOTE (The_Sven @ Nov 5 2009, 07:39) Is i...   Nov 5 2009, 13:52
|- - skamp   QUOTE (The_Sven @ Nov 5 2009, 12:39) I gu...   Nov 5 2009, 15:46
- - HotshotGG   QUOTE Any interest? If so, I will post the binary....   Nov 5 2009, 14:35
|- - The_Sven   QUOTE (HotshotGG @ Nov 5 2009, 13:35) Yes...   Nov 5 2009, 15:43
- - HotshotGG   QUOTE Do you have rarewares' contact info ? ...   Nov 5 2009, 17:59
- - The_Sven   I put the required patches and modifications under...   Nov 14 2009, 15:04
|- - imre_herceg   Thank you for the binary. It is twice as fast as m...   Nov 14 2009, 17:43
|- - skamp   QUOTE (imre_herceg @ Nov 14 2009, 17:43) ...   Nov 14 2009, 21:13
||- - The_Sven   QUOTE (skamp @ Nov 14 2009, 20:13) Very n...   Nov 14 2009, 22:23
|- - The_Sven   QUOTE (imre_herceg @ Nov 14 2009, 16:43) ...   Nov 15 2009, 00:25
||- - skamp   QUOTE (The_Sven @ Nov 15 2009, 00:25) I w...   Nov 15 2009, 08:49
||- - imre_herceg   QUOTE (The_Sven @ Nov 15 2009, 00:25) FLA...   Nov 15 2009, 11:05
|- - The_Sven   QUOTE (imre_herceg @ Nov 14 2009, 16:43) ...   Nov 15 2009, 12:44
- - Mr_Rabid_Teddybear   I compiled your snapshot vorbis-lancer-gcc-master....   Nov 15 2009, 13:49
|- - The_Sven   QUOTE (Mr_Rabid_Teddybear @ Nov 15 2009, 12...   Nov 15 2009, 14:43
|- - Mr_Rabid_Teddybear   QUOTE (The_Sven @ Nov 15 2009, 06:43) If ...   Nov 15 2009, 15:53
|- - The_Sven   QUOTE (Mr_Rabid_Teddybear @ Nov 15 2009, 14...   Nov 15 2009, 16:35
||- - Mr_Rabid_Teddybear   QUOTE (The_Sven @ Nov 15 2009, 08:35) Doe...   Nov 15 2009, 17:17
||- - [JAZ]   autoconf/automake works in linux x86, linux ARM, U...   Nov 15 2009, 17:18
||- - The_Sven   QUOTE ([JAZ] @ Nov 15 2009, 16:18...   Nov 15 2009, 17:49
||- - [JAZ]   QUOTE (The_Sven @ Nov 15 2009, 17:49) vi ...   Nov 15 2009, 18:45
|- - The_Sven   QUOTE (Mr_Rabid_Teddybear @ Nov 15 2009, 14...   Nov 16 2009, 19:38
- - maacruz   That's great Thank you very much.   Nov 19 2009, 20:32
- - imre_herceg   I was listening to some songs which go into anothe...   Jun 10 2010, 08:20
- - Bregalad   Hi I just tried your build and it works perfectly....   Oct 1 2011, 00:33
- - punkrockdude   Are the latest aoTuV available to compile? Regards...   Sep 2 2012, 23:10


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th July 2014 - 13:15