Multithreaded encoding while sending to portable player

Any ideas about how to improve MediaMonkey? 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 » Fri Mar 28, 2008 8:58 am

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 » Tue May 20, 2008 3:25 pm

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 » Wed Jun 25, 2008 6:02 pm

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 » Mon Jul 14, 2008 8:51 am

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

Re: Multithreaded encoding while sending to portable player

Post by Lowlander » Mon Jul 14, 2008 9:03 am

This should be the case for whatever feature of MediaMonkey. Although I wonder if the harddrive doesn't become the bottleneck.
Lowlander (MediaMonkey user since 2003)

tooscaredtotry
Posts: 130
Joined: Mon Apr 03, 2006 5:31 pm
Contact:

Re: Multithreaded encoding while sending to portable player

Post by tooscaredtotry » Mon Jul 14, 2008 3:47 pm

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

Re: Multithreaded encoding while sending to portable player

Post by Lowlander » Mon Jul 14, 2008 4:57 pm

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).
Lowlander (MediaMonkey user since 2003)

w0858

Re: Multithreaded encoding while sending to portable player

Post by w0858 » Tue Jul 29, 2008 7:04 pm

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 » Mon Sep 15, 2008 11:32 am

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 » Wed Nov 05, 2008 10:13 am

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

Re: Multithreaded encoding while sending to portable player

Post by jiri » Wed Nov 05, 2008 11:32 am

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 » Mon Jan 26, 2009 10:10 pm

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 » Mon Jan 26, 2009 11:02 pm

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 » Tue Jan 27, 2009 1:50 pm

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 » Tue Jan 27, 2009 2:47 pm

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