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
Bregalad
post Oct 1 2011, 00:33
Post #2





Group: Members
Posts: 18
Joined: 9-October 08
Member No.: 59840



Hi I just tried your build and it works perfectly. Thx for your work The_Sven! (btw it's amazing to think that all this is possible thanks to you and BlackSword and Aoyumi and Xiph!)

But doing my tests some weird things happened and I have some questions.
I wanted to test Lancer SSE3MT optimizations so I went get the files on BlackSword's website. I didn't pay attention to the fact the oggenc file I got had .exe as extension and I just replaced /usr/bin/oggenc with this one and tried. And it worked! And I also remarked a sensible speed-up (about 20% better) compared to the simple SSE optimization.
Then I realized what I did and I don't understand why it worked. I checked the properties of the file /usr/bin/oggenc and the type was indeed DOS/Windows executable (application/x-ms-dos-executable).

So I'm wondering how was it possible to work? I thought maybe because of Wine but I didn't ask in the terminal to run this program via Wine, or maybe would it be possible my system (I'm using Ubuntu 11.04) recognized type of the program and run it via Wine?
Also is there some cons / known problems for using thus the .exe in my Linux system?
Anyway I think I'm gonna use the version compiled by The_Sven but I'm curious about this strange thing "using a Windows program under Linux working so good I could have never suspected there was something wrong".
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: 21st April 2014 - 11:27