INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Drag racing iTunes and WMP  (Read 5569 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Drag racing iTunes and WMP
« on: November 08, 2011, 05:34:15 pm »

I spent some time today benchmarking Media Center compared to iTunes:
http://jriver.com/speed.html
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: No build Tuesday, just drag races
« Reply #1 on: November 08, 2011, 05:40:38 pm »

Matt and the team deserve a big hand for all the optimization work that's been done.
Logged

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: No build Tuesday, just drag races
« Reply #2 on: November 08, 2011, 05:48:47 pm »

Yes, its quite amazing how fast and robust MC is.
Logged

raym

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3583
Re: No build Tuesday, just drag races
« Reply #3 on: November 08, 2011, 05:58:08 pm »

That's amazing Matt. You guys rock!
Logged
RKM Smart Home - www.rkmsmarthome.com.au
Z-Wave Home Automation

SamuriHL

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1041
Re: No build Tuesday, just drag races
« Reply #4 on: November 08, 2011, 06:04:08 pm »

Completely agree.  Thanks guys!
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: No build Tuesday, just drag races
« Reply #5 on: November 08, 2011, 06:45:35 pm »

The Big Guy.
Logged
The opinions I express represent my own folly.

jgreen

  • Citizen of the Universe
  • *****
  • Posts: 2419
Re: No build Tuesday, just drag races
« Reply #6 on: November 08, 2011, 06:47:48 pm »

I can definitely see it, skipping a couple versions in my upgrades.

FWIW, there's a typo in your second paragraph, "The versions of the programs 'tester' (sic) were Media Center 17 and iTunes 10.5."  Let's not get cocky here!
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: No build Tuesday, just drag races
« Reply #7 on: November 08, 2011, 07:12:18 pm »

I just can't believe you got iTunes to import 100k files without crashing, honestly.

It seems like it crashes on me when I breathe on it wrong.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: No build Tuesday, just drag races
« Reply #8 on: November 08, 2011, 07:52:33 pm »

Before somebody else beats me to it, I have the % faster wrong.  It should be written like 6.59x faster, not 659% faster.

I was a little surprised just how slow some things got, so the testing took longer than expected.  I originally wanted to use 500k tracks, but iTunes beat the idea out of me.

They use a strange database, because it looks like there are two copies -- a native one and an XML one.  Both have huge overhead for seemingly simple things.  For example, making a few 100k song playlists cause the database on disk and the memory usage while running to bloat by over 100 MB.

They do a pretty good job at panes and search.  We're faster, but not by orders of magnitude.  However, I think we're doing a much deeper search so that it's not an apples-to-apples (or apples-to-jriver) comparison.  We also have to support flexible grouping and expression based grouping, which isn't possible with iTunes.

One final thing that struck me strange was that to change a value I see in a list, I have to right-click and pick "Get Info" and then find the value in a popup dialog inside several tabs.  Editing with a command called "Get Info" is wonky.

I may give WMP 12 a shake next.
Logged
Matt Ashland, JRiver Media Center

gvanbrunt

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1232
  • MC Nerd
Re: No build Tuesday, just drag races
« Reply #9 on: November 08, 2011, 08:38:39 pm »

Some others to consider at some point:

The infamous XBMC and MediaPortal.

I know from experience that MediaPortal and it's relational db backend are slower than dirt. Back then I only had about 9000 media items (mostly audio) and looking at the audio view there took minutes (literally) to appear.

Oddly enough my brother and I were discussing the merits of the backends of XBMC and Media Center yesterday. I havne't tested that one either recently but it was slow too in the past. I would love to see how it stacks up...
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: No build Tuesday, just drag races
« Reply #10 on: November 09, 2011, 09:56:07 am »

I might add that this isn't just academic.

I've been able to get MP3 import running about twice as fast since starting testing yesterday.  I updated the page to reflect this.
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: No build Tuesday, just drag races
« Reply #11 on: November 09, 2011, 03:43:37 pm »

I tried to drag race WMP 12 today, but it looks like importing 100,000 MP3 files with it will take around 12 hours and I started it after lunch.

Ironically, I had its database on an SSD by accident which is making it faster than it should be.

I'll move the DB to the rotating drive used for the other benchmarks (this requires junction points with WMP or iTunes), and test again over night.

Logged
Matt Ashland, JRiver Media Center

jgreen

  • Citizen of the Universe
  • *****
  • Posts: 2419
Re: Drag racing iTunes and WMP
« Reply #12 on: November 09, 2011, 09:02:05 pm »

You know, whenever I feel like I can't do anything right, I open up WMP, and then I don't feel quite so useless.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Drag racing iTunes and WMP
« Reply #13 on: November 10, 2011, 07:43:22 am »

14.5 hours later and WMP has 57332 of 100000 imported.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Drag racing iTunes and WMP
« Reply #14 on: November 10, 2011, 08:43:15 am »

14.5 hours later and WMP has 57332 of 100000 imported.

 :o ;D
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Drag racing iTunes and WMP
« Reply #15 on: November 10, 2011, 08:44:12 am »

You know, whenever I feel like I can't do anything right, I open up WMP, and then I don't feel quite so useless.

Hah!

I missed you, Tab.  ;)
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Drag racing iTunes and WMP
« Reply #16 on: November 10, 2011, 04:12:00 pm »

WMP is at 70% and counting.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Drag racing iTunes and WMP
« Reply #17 on: November 10, 2011, 05:02:47 pm »

Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

raym

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3583
Re: Drag racing iTunes and WMP
« Reply #18 on: November 11, 2011, 02:06:23 am »

One thing I've always wondered (as I'm not a Mac user).... does iTunes perform so badly just on Windows or is it a lot better on a Mac? Is this a relevant factor when doing such speed comparisons?
Logged
RKM Smart Home - www.rkmsmarthome.com.au
Z-Wave Home Automation

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Drag racing iTunes and WMP
« Reply #19 on: November 11, 2011, 02:12:27 am »

It is much better on OSX.  Though still not "good", and I suspect many of the ways Matt is testing would come out basically the same.  UI responsiveness is better and it isn't as flaky, though.

Of course, Macs do tend to have better hardware than your average generic Wintel PC.  So, to lots of people, it seems even "more better" than it actually is.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Drag racing iTunes and WMP
« Reply #20 on: November 11, 2011, 04:55:46 pm »

WMP is at 93% after a few days.

Guess I have to start over, let it run through the weekend, and then check again probably Tuesday.

Did I mention we take 14 minutes to do the same thing?
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Drag racing iTunes and WMP
« Reply #21 on: November 11, 2011, 05:08:03 pm »

glynor,
How about a movie of this?  Maybe with little plastic race cars.

I wish we could get the Mac guy and the PC guy to narrate.  Cardboard cutouts?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Drag racing iTunes and WMP
« Reply #22 on: November 11, 2011, 05:14:46 pm »

Wednesday 5:09:30 pm - 0%
Thursday 7:43 am - 57%
Thursday 4:12 pm - 70%
Friday 4:55 pm - 93%

It's slowing down, doing a less than 1% an hour.  I think I'll just say "55 hours" and not bother to run it again.
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re: Drag racing iTunes and WMP
« Reply #23 on: November 11, 2011, 05:15:36 pm »

How about 54?  They could use a little help.
Logged

jgreen

  • Citizen of the Universe
  • *****
  • Posts: 2419
Re: Drag racing iTunes and WMP
« Reply #24 on: November 11, 2011, 06:13:53 pm »

I think this info is pretty important, and ought to be set up with a simple graph on the JR website.

FWIW, I suspect MC could also have analyzed the files imported before iTunes got around to just importing them.

Against the blessed WMP, analyzing and also cover art, easily. 

I suspect the reason WMP is taking so long is that it's still harvesting personal information from the test PC and phoning it home to Redmond.

Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Drag racing iTunes and WMP
« Reply #25 on: November 11, 2011, 09:29:07 pm »

glynor,
How about a movie of this?  Maybe with little plastic race cars.

I wish we could get the Mac guy and the PC guy to narrate.  Cardboard cutouts?

If you make poor Matt run it again, and screen capture it (full res, Animation codec), something could certainly be done.

I think it would need clown music.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

jgreen

  • Citizen of the Universe
  • *****
  • Posts: 2419
Re: Drag racing iTunes and WMP
« Reply #26 on: March 19, 2012, 12:07:27 pm »

I'm wondering if that WMP import has finished yet.
Logged

Vincent Kars

  • Citizen of the Universe
  • *****
  • Posts: 1154
Re: Drag racing iTunes and WMP
« Reply #27 on: March 19, 2012, 02:49:46 pm »

Might it be that WMP is doing a lookup on the internet for the tags at the same time?
This can slowdown things dramatically.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Drag racing iTunes and WMP
« Reply #28 on: March 19, 2012, 04:05:07 pm »

Might it be that WMP is doing a lookup on the internet for the tags at the same time?
This can slowdown things dramatically.

No.  There was no network activity.
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Drag racing iTunes and WMP
« Reply #29 on: March 19, 2012, 04:40:21 pm »

I'm testing WMP 12 import inside a Parallels Win 7 VM, and am getting about 500 tracks/minute imported.

So, at 100,000 tracks, that would be 3hrs 20minutes.  How did yours take 2 days, 6 hours?

edit: it chugged along at 500/minute, completing my 17500 tracks in 35 minutes.
Logged
The opinions I express represent my own folly.

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Drag racing iTunes and WMP
« Reply #30 on: March 19, 2012, 05:27:37 pm »

MrC, it is entirely possible (likely even, based on what I've seen) that the process slows down dramatically as the database size increases.

In other words, it might very well import the first 25k items at 500/min, but as the database design hits memory limits, it starts slowing down until near the 90k mark it is doing more like 2/min.

Based on what Matt reported while his tests were running, this seems to be the case.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Drag racing iTunes and WMP
« Reply #31 on: March 19, 2012, 05:33:33 pm »

That's probably it.  I can test/verify if its worthwhile.
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Drag racing iTunes and WMP
« Reply #32 on: March 19, 2012, 06:00:58 pm »

That's probably it.  I can test/verify if its worthwhile.

To try to put a positive sounding spin on it, every file was faster than the next :P
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Drag racing iTunes and WMP
« Reply #33 on: March 19, 2012, 07:40:42 pm »

A word of warning.

Anyone who intends to test WMP's MP3 import performance should be aware that WMP may resize & hide the folder.jpg cover art files (to 200x200 & set the hidden and system attributes: http://www.hydrogenaudio.org/forums/index.php?showtopic=75461) and ruin ID3v2 tags (any tags that it does not support may be in danger: http://www.hydrogenaudio.org/forums/index.php?showtopic=92813).

I don't know if anything triggers WMP's tag writing / cover art manipulation automatically, but I would test it only with copies of my files.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Drag racing iTunes and WMP
« Reply #34 on: March 19, 2012, 08:05:20 pm »

Yup, it does upon import.  It also creates an additional AlbumArtSmall.jpg, so benchmarking is also being hit by excessive file creations.

I didn't test the registery settings to disable this, so don't know if they'll work (do you know?).

Best to probably stay away from the WiMP.
Logged
The opinions I express represent my own folly.

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Drag racing iTunes and WMP
« Reply #35 on: March 20, 2012, 06:55:58 am »

(do you know?).

No, I don't.

Quote
Best to probably stay away from the WiMP.

Yes.

In addition to these problems, in my experience, WMP12 is extremely awkward to use, even more so than WMP11. But perhaps I am biased...
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755
Pages: [1]   Go Up