Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
28th April 2017, 17:46 | #1442 | Link |
Registered User
Join Date: Dec 2008
Posts: 589
|
I can't view the attachment because attachments have to be reviewed by moderators and approved before people can see them. Use websites like imgur.com to upload pictures if you feel like to.
But to answer your question: Intel 7700k has a default frequency of 4.2 Ghz and boosts up to 4.5 Ghz if only a few of the four cores are used. AMD 1800x has a default frequency of 3.6 Ghz and boosts up to 4 Ghz if only a few of the eight cores are used. As LAME mp3 encoder only uses older instructions sets (mmx, sse) which are pretty much same speed on both architectures, we can concentrate just on the frequency of the processors. Since the encoder is mostly single threaded, we can assume only one core or at most two cores will have some usage, so the Intel 7700k will run those cores at 4.5 Ghz and the Ryzen 1800x will run those cores at 4 Ghz. So naturally, if 7700k is considered the default speed (100%) , then ryzen 1800x should have about 89% the performance of the Intel cpu: 4.5 ghz ... 100% 4 ghz ... ? % ? % = 4 x 100 / 4.5 = 88.% Naturally, there are minute (very small) differences in the execution speed of those assembly instructions and there may be some differentiators between systems that affect the speed very little (like ddr4 ram frequency for example) The point is you would see the performance difference if you encode multiple audio tracks at the same time, so that all cores would be used. Rip an audio CD to uncompress WAV files using Exact Audio Copy and optionally (if you don't have a SSD) create a RAM Disk using software like ImDisk Ramdisk (freeware) ... you don't want the mechanical drive affect the encoding speed when you read 10-20 audio files from the hard drive at the same time. With a 7700k processor, since it has 4 cores and 8 threads, you can realistically encode around 10-12 audio files at the same time, before individual encoders would begin to wait for processor time. Let's go with 10. On the 1800x processor, since it has 8 cores and 16 threads, we could realistically go with around 20 simultaneous encodings at the same time. Both processors will have all cores used at the same time, so they won't boost (often) to their maximum frequencies, so let's assume the Intel cpu would run at 4.2 Ghz and the AMD cpu would run at 3.6 Ghz. No you have 10 x 4.2 ghz ---- 100 % 20 x 3.6 ghz ----- ? % ? % = 20 x 3.6 x 100 % / ( 10 x 4.2) = 2 x 3.6 x 100 / 4.2 = 171.42% So as long as you'll keep all the cores on the Ryzen 1800x busy encoding up to 20 individual audio tracks at the same time, you may get almost 1.5x-2x the performance compared to the 7700k Of course, these are just assumptions, you'd have to test it yourself if you have access to two such systems. |
28th April 2017, 17:47 | #1443 | Link |
Registered User
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
|
Well I see my attachment without any problem. Strange...
Edit: https://ibb.co/c87xT5 ( this is my attacment )
__________________
Live long and prosperLive long and prosperLive long and prosper Last edited by Romario; 28th April 2017 at 18:05. |
29th April 2017, 13:34 | #1444 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
You expect to much from Zen in single threaded applications. IPC is not that great in single thread! ALU table clearly shows that Zen loves when you throw multiple tasks on execution units.
So Ryzen optimization is simple. Keep all cores busy at all time!
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 29th April 2017 at 13:45. |
3rd May 2017, 15:00 | #1445 | Link |
Registered User
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
|
How can I use optimised lame 3.99.5 builds? While LameXP doesn't allow to change which lame build I use.
Sent from my LG-P880
__________________
Live long and prosperLive long and prosperLive long and prosper |
3rd May 2017, 16:36 | #1446 | Link | |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
It is still possible to use custom builds of the LameXP built-in tools (even if the manual does not mention it).
From the older LameXP FAQ: Quote:
Cheers manolito |
|
3rd May 2017, 20:10 | #1447 | Link | ||
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Having said that, there is no "magic" optimization that would make LAME run a lot faster on Zen architecture all of a sudden! Yes, LAME could probably benefit from using "modern" instruction set extensions, such as AVX or AVX2 – at the moment the assembler code in LAME only uses the SSE and SSE2 extensions – but this "problem" is not specific to the Zen architecture at all. TTBOMK, the Zen architecture did not even introduce a new instruction set extension. The reason why Ryzen 1800X performs relatively "bad" with LAME mp3 encoder is because LAME – just like most audio encoders – is completely single-threaded. And, given the current state of LAME development, I doubt this is ever going to change. Furthermore, it is well known that single-core performance still is the "weak spot" of the Zen architecture (compared to Intel Core i7 processors), even though things have been improved quite a lot since Bulldozer architecture. As others have pointed out: You will need to run many LAME instances in parallel to take full advantage of a Ryzen processor with 16 logic cores – which is exactly what LameXP does Attachments need to be approved by a mod, before other users can see/access them. I wasn't close to a computer in the last couple of days, so I couldn't approve it until now. Quote:
Don't expect any wonders, though! LameXP already ships with up-to-date binaries of LAME 3.100 Alpha – including 64-Bit build with AVX compiler-optimizations enabled. The "best" build is automatically selected, based on the CPU's capabilities. Note: Those compiler optimizations have a lesser effect on performance. That's because all the "hot" functions, where the vast majority of the CPU time is spent, already are written as hand-optimized assembler code...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 3rd May 2017 at 21:30. |
||
3rd May 2017, 22:28 | #1448 | Link |
Registered User
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
|
How you optimised these LAME builds ? With ICL15 or newest MSCS 2017 ?
While ICL work always much better on Intel processors.
__________________
Live long and prosperLive long and prosperLive long and prosper |
3rd May 2017, 22:33 | #1449 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
Note that ICL has an option to add an "optimized" code path (for all compatible processors, including AMD) and a separate option to "optimize" specifically for Intel processors (potentially breaking the binary for Non-Intel processors). I always use the former But, as said before, those compiler optimizations have a lesser effect! All the "hot" code, where ~99% of the CPU time is spent, is hand-optimized assembler code that will not be effected by compiler optimizations at all.
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 3rd May 2017 at 22:39. |
|
3rd May 2017, 22:46 | #1450 | Link | |
Registered User
Join Date: Dec 2005
Location: Qetchua mountains in Peru, and Klingon battlecruiser D'Mar
Posts: 393
|
Quote:
And what about other audio encoders ? What is the situation ? Is there any actively development for OGG, or AAC codecs, with plan for future optimisations ? Can you, please, give me most optimised binarys ?
__________________
Live long and prosperLive long and prosperLive long and prosper |
|
3rd May 2017, 22:58 | #1451 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Again: Most audio encoders already contain hand-optimized assembler code for the "hot" functions, i.e. the functions where like ~99% of the work is done.
If a particular audio encoder contains optimized assembler code for your CPU, then the encoder will automatically enable/use the optimized assembler code on your system – that is regardless of what compiler or compiler settings were used to compile the plain C/C++ code. If, on the other hand, a particular audio encoder does not contain optimized assembler code for your CPU, then there is nothing I could do about that. You'd have to ask the developer of the particular encoder All that I can do is change the compiler settings that are used to compile the plain C/C++ code. But, as pointed out several times, this has a lesser effect on the overall performance, compared to the assembler stuff... (That plus: I already create "generic", "sse2" and "avx" builds of the encoders and LameXP will invoke the appropriate one on each system)
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 3rd May 2017 at 23:08. |
3rd May 2017, 23:05 | #1452 | Link |
Registered User
Join Date: Dec 2008
Posts: 589
|
Dude, people told you already in several threads, there's very little optimizations to be done when it comes to audio... and whatever optimizations are already in such programs, they work pretty much the same on Intel and AMD processors.
Whatever "improvements" you would do on audio encoders, it would only increase the speed by a few percentages at best, and nobody cares to invest a huge amount of time for so little benefit . If you encode the audio track of a 2 hour movie in 10x real time speed (so basically finishing compression in 10 minutes), nobody cares to optimize some software to finish the job in 9 minutes and 30 seconds. Nobody cares about OGG anymore, it's as good as "deprecated". It's replaced by Opus which is free and open source and produces better quality than MP3 or AAC at majority - if not all - of audio bitrates . AAC is still worth using because it's used in DVDs and has good compatibility it's often used by Youtube and Apple for streaming audio. Whatever improvements you'd get between different codec versions would probably be psycho-achoustics (as in how to modify the sound to throw out some data for better compression, while tricking your ears into thinking it sounds good) AC3 is old enough to have its patents expired so you don't have to pay licenses for it, MP3 also expired recently if I'm not mistaken, but the quality of AC3 is not better than MP3... not worth wasting time improving encoding speeds when there's something else better. If you want something fast and best quality for a music collection, just use FLAC for archival and Opus for listening daily. Use a player like foobar2k and you'll be fine. And if you have a music player, try and see if Rockbox supports your player: https://www.rockbox.org/ If you need speed at compressing FLAC, encode multiple tracks at same time, or use Cuetools.FLAC encoder that can use OpenCL and your video card to compress audio super fast. Forget about MP3. |
4th May 2017, 15:35 | #1453 | Link |
Registered User
Join Date: Mar 2017
Posts: 4
|
Will there be a Linux version?
It is been said that you would consider a native Linux version but this is been a while back.
So the simple question is are you still thinking about this? I don't have the knowledge to do it myself or help you with that though. I recently switched to Linux and thought it would be very nice I know, i can use wine to run it |
4th May 2017, 19:17 | #1454 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 4th May 2017 at 22:34. |
|
8th May 2017, 21:30 | #1455 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.15 Beta-8
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 14th May 2017 at 15:32. |
|
14th May 2017, 15:32 | #1456 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.15 RC-1
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 28th May 2017 at 20:12. |
|
28th May 2017, 20:12 | #1457 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.15 RC-2
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 31st May 2017 at 21:47. |
|
31st May 2017, 21:47 | #1458 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.15 Final
https://github.com/lordmulder/LameXP/releases/latest Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
|
17th August 2017, 23:54 | #1459 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
LameXP v4.16 Alpha-3
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 15th September 2017 at 21:56. |
|
30th August 2017, 14:16 | #1460 | Link |
Registered User
Join Date: Aug 2017
Posts: 2
|
Issue with certain folders
First of all, great program - thank you so much.
One issue I'm having is when I am doing a batch conversion, for any folder that has files in its root directory plus additional folders, the additional folders are ignored. EG: Within Artist A's folder, I have 3 albums and 4 single tracks (single tracks existing in that artist's root directory). In this scenario, only the single tracks are converted and the 3 album folders are skipped. Yet Artist B, who only has album folders within their folder and no single tracks, nothing is skipped and all converted. I hope that makes sense. Anyone else had this occur? |
Tags |
aac, aotuv, flac, lame, lamexp, mp3, mp4, ogg, oggenc, opus, vorbis |
|
|