Multithreaded encoding while sending to portable player
Moderator: Gurus
Multithreaded encoding while sending to portable player
I would like to have multithreading while encoding and sending tracks to portable player or other destination.
I have a dual core processor and MediaMonkey (3.0.2) uses only one core while encoding my FLAC tracks to MP3 and then send to my MP3 portable player.
MediaMonkey could have 2 or more encoding threads and then place tracks in one queue to send them to MP3 portable player or other destination.
P.S.
FooBar2000 automatically detects CPU core count and use 2 or more encoding threads.
I have a dual core processor and MediaMonkey (3.0.2) uses only one core while encoding my FLAC tracks to MP3 and then send to my MP3 portable player.
MediaMonkey could have 2 or more encoding threads and then place tracks in one queue to send them to MP3 portable player or other destination.
P.S.
FooBar2000 automatically detects CPU core count and use 2 or more encoding threads.
-
- Posts: 130
- Joined: Mon Apr 03, 2006 5:31 pm
- Contact:
Re: Multithreaded encoding while sending to portable player
Yes -- this is a very important feature! Was going to add this. BUMP!
Re: Multithreaded encoding while sending to portable player
I agree that this is very important.
I have a quad core processor and in 'other' programs can convert 4 files at the same time which makes it MUCH faster to convert 'on-the-fly' to my portable player.
Paul
I have a quad core processor and in 'other' programs can convert 4 files at the same time which makes it MUCH faster to convert 'on-the-fly' to my portable player.
Paul
Re: Multithreaded encoding while sending to portable player
This should be the case for whatever feature of MediaMonkey. Although I wonder if the harddrive doesn't become the bottleneck.
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 130
- Joined: Mon Apr 03, 2006 5:31 pm
- Contact:
Re: Multithreaded encoding while sending to portable player
Quick test using dBpoweramp for a 47.5MB flac file to 15MB mp3 v0 takes 27-28 seconds (28,27,27) with different source and destination drives.Lowlander wrote:This should be the case for whatever feature of MediaMonkey. Although I wonder if the harddrive doesn't become the bottleneck.
So it only needs to read @ ~1.75MB/s per thread and write @ 0.5MB/s to keep up with the CPU. Easily done by most USB devices I'd think.
MM 3.0.1.1190
Windows Vista Ultimate x64 4GB RAM, Q6600, Dual 24" Dell 2407's
Windows Vista Ultimate x64 4GB RAM, Q6600, Dual 24" Dell 2407's
Re: Multithreaded encoding while sending to portable player
Well I was also thinking on scenarios like a harddrive that is already in use for other applications and possibly a slow harddrive like slow laptop drives. Also I don't know if it's as simple as using filesize or that more data flows between harddrive and MediaMonkey for this process.
I know for me that most of the time that I have a slow PC it's due to harddrive not due to CPU (single core) being to slow. This is due to slow laptop harddrive and lack of memory (thus using virtual memory extensively which is also on the harddrive). Add to that various applications that also like to use my harddrive I have the harddrive as the slowest part.
Move to a desktop with more memory (ie. less use of virtual memory) and a faster harddrive (SATA or even RAID) and the harddrive will be less of an issue, but still could be one if the CPU can process things fast (multi-threading).
I know for me that most of the time that I have a slow PC it's due to harddrive not due to CPU (single core) being to slow. This is due to slow laptop harddrive and lack of memory (thus using virtual memory extensively which is also on the harddrive). Add to that various applications that also like to use my harddrive I have the harddrive as the slowest part.
Move to a desktop with more memory (ie. less use of virtual memory) and a faster harddrive (SATA or even RAID) and the harddrive will be less of an issue, but still could be one if the CPU can process things fast (multi-threading).
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Re: Multithreaded encoding while sending to portable player
Hi,
when running MM v3.0.3 on my system with Centrino Duo 2 MHz / 2 GB, the program takes all the capacity when updating the database. It is hard to run a second application ("small" or "big" ones will have the same boring problem).
Therefore it is also my opinion to have a Multicore support. I have absolutely no knowledge in writing programs, but is it possible to write a program in a way that the support is not fixed on 2 or 4 cores (a kind of "open end" code)? It seems to me that the development in the Multicore technology develops fast in the next years. What we have today as high-end in the consumer market with the Quadcores might be end of 2009 a 6- or 8core platform.
when running MM v3.0.3 on my system with Centrino Duo 2 MHz / 2 GB, the program takes all the capacity when updating the database. It is hard to run a second application ("small" or "big" ones will have the same boring problem).
Therefore it is also my opinion to have a Multicore support. I have absolutely no knowledge in writing programs, but is it possible to write a program in a way that the support is not fixed on 2 or 4 cores (a kind of "open end" code)? It seems to me that the development in the Multicore technology develops fast in the next years. What we have today as high-end in the consumer market with the Quadcores might be end of 2009 a 6- or 8core platform.
Re: Multithreaded encoding while sending to portable player
Multi-threaded encoding, and multi-core support in general, is a huge issue in MediaMonkey. Having 2 cores in my computer, I would love to have 2 encoders running side by side when syncing to my PAP. What would be even more ideal, is to be able to set the amount of encoding processes running at the same time, and then have that number divided evenly over the number of cores detected or that MediaMonkey is allowed to use (another setting that needs implementation, IMHO). Bump hugely.
-
- Posts: 130
- Joined: Mon Apr 03, 2006 5:31 pm
- Contact:
Re: Multithreaded encoding while sending to portable player
I'll just add that it's likely you can just call multiple instances of the encoders and the OS will sort out which core to put them on. So MM itself doesn't have to be necessarily multithreaded as long as it is aware of the extra cores enough to call extra encoder threads.
MM 3.0.1.1190
Windows Vista Ultimate x64 4GB RAM, Q6600, Dual 24" Dell 2407's
Windows Vista Ultimate x64 4GB RAM, Q6600, Dual 24" Dell 2407's
Re: Multithreaded encoding while sending to portable player
This feature will most likely appear in the upcoming MM 3.1.
Jiri
Jiri
-
- Posts: 4
- Joined: Sat Jan 24, 2009 12:29 pm
Re: Multithreaded encoding while sending to portable player
BUMP!!! Agreed!!
FLAC to MP3 for syncing my iPhone takes soooooooo long and I have a Core2Duo E8400. Only ~50% CPU usage the whole time! HOURS and HOURS to sync only 1200 songs
FLAC to MP3 for syncing my iPhone takes soooooooo long and I have a Core2Duo E8400. Only ~50% CPU usage the whole time! HOURS and HOURS to sync only 1200 songs
-
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Multithreaded encoding while sending to portable player
This is already implemented in MM 3.1, currently in beta testing and available for download in the beta testing forum.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
-
- Posts: 130
- Joined: Mon Apr 03, 2006 5:31 pm
- Contact:
Re: Multithreaded encoding while sending to portable player
Yes, except I'm unable to use it still because I cannot configure it using no skin.
MM 3.0.1.1190
Windows Vista Ultimate x64 4GB RAM, Q6600, Dual 24" Dell 2407's
Windows Vista Ultimate x64 4GB RAM, Q6600, Dual 24" Dell 2407's
-
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Multithreaded encoding while sending to portable player
I don't really understand what you have to configure. It uses all CPU cores by default.tooscaredtotry wrote:Yes, except I'm unable to use it still because I cannot configure it using no skin.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.