Multithreaded encoding while sending to portable player

Any ideas about how to improve MediaMonkey for Windows 4? Let us know!

Moderator: Gurus

Bytec
Posts: 2
Joined: Sat Jan 19, 2008 3:01 pm

Multithreaded encoding while sending to portable player

Post by Bytec »

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.
tooscaredtotry
Posts: 130
Joined: Mon Apr 03, 2006 5:31 pm
Contact:

Post by tooscaredtotry »

Was going to add this.. have a quad core and it would greatly speed up my sync time.
wolle

Re: Multithreaded encoding while sending to portable player

Post by wolle »

Yes -- this is a very important feature! Was going to add this. BUMP!
NikonUser
Posts: 10
Joined: Sun Jul 13, 2008 9:54 pm

Re: Multithreaded encoding while sending to portable player

Post by NikonUser »

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
Lowlander
Posts: 56570
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Multithreaded encoding while sending to portable player

Post by Lowlander »

This should be the case for whatever feature of MediaMonkey. Although I wonder if the harddrive doesn't become the bottleneck.
tooscaredtotry
Posts: 130
Joined: Mon Apr 03, 2006 5:31 pm
Contact:

Re: Multithreaded encoding while sending to portable player

Post by tooscaredtotry »

Lowlander wrote:This should be the case for whatever feature of MediaMonkey. Although I wonder if the harddrive doesn't become the bottleneck.
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.

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
Lowlander
Posts: 56570
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Multithreaded encoding while sending to portable player

Post by Lowlander »

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).
w0858

Re: Multithreaded encoding while sending to portable player

Post by w0858 »

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.
DWSR

Re: Multithreaded encoding while sending to portable player

Post by DWSR »

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.
tooscaredtotry
Posts: 130
Joined: Mon Apr 03, 2006 5:31 pm
Contact:

Re: Multithreaded encoding while sending to portable player

Post by tooscaredtotry »

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
jiri
Posts: 5419
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Re: Multithreaded encoding while sending to portable player

Post by jiri »

This feature will most likely appear in the upcoming MM 3.1.

Jiri
illusion8055
Posts: 4
Joined: Sat Jan 24, 2009 12:29 pm

Re: Multithreaded encoding while sending to portable player

Post by illusion8055 »

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
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Multithreaded encoding while sending to portable player

Post by nohitter151 »

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.
tooscaredtotry
Posts: 130
Joined: Mon Apr 03, 2006 5:31 pm
Contact:

Re: Multithreaded encoding while sending to portable player

Post by tooscaredtotry »

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
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Multithreaded encoding while sending to portable player

Post by nohitter151 »

tooscaredtotry wrote:Yes, except I'm unable to use it still because I cannot configure it using no skin.
I don't really understand what you have to configure. It uses all CPU cores by default.
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.
Post Reply