INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: Matt on August 31, 2017, 10:57:58 am

Title: x64 Benchmark!
Post by: Matt on August 31, 2017, 10:57:58 am
Hi everyone,

So today I got the x64 build of Media Center running.  Hendrik had done a lot of the leg work, but I crossed the finish line.

I'll post my benchmark test results from the 64-bit version (compared to the 32-bit version).

64-bit:

=== Running Benchmarks (please do not interrupt) ===

Running 'Math' benchmark...
    Single-threaded integer math... 3.291 seconds
    Single-threaded floating point math... 2.273 seconds
    Multi-threaded integer math... 1.094 seconds
    Multi-threaded mixed math... 0.701 seconds
Score: 2582

Running 'Image' benchmark...
    Image creation / destruction... 0.142 seconds
    Flood filling... 0.233 seconds
    Direct copying... 0.339 seconds
    Small renders... 0.761 seconds
    Bilinear rendering... 0.625 seconds
    Bicubic rendering... 0.343 seconds
Score: 9007

Running 'Database' benchmark...
    Create database... 0.107 seconds
    Populate database... 0.765 seconds
    Save database... 0.221 seconds
    Reload database... 0.060 seconds
    Search database... 0.833 seconds
    Sort database... 0.746 seconds
    Group database... 0.547 seconds
Score: 6557

JRMark (version 23.0.45): 6049


32-bit:


=== Running Benchmarks (please do not interrupt) ===

Running 'Math' benchmark...
    Single-threaded integer math... 3.290 seconds
    Single-threaded floating point math... 2.281 seconds
    Multi-threaded integer math... 1.145 seconds
    Multi-threaded mixed math... 0.794 seconds
Score: 2530

Running 'Image' benchmark...
    Image creation / destruction... 0.174 seconds
    Flood filling... 0.234 seconds
    Direct copying... 0.362 seconds
    Small renders... 0.836 seconds
    Bilinear rendering... 0.660 seconds
    Bicubic rendering... 0.396 seconds
Score: 8266

Running 'Database' benchmark...
    Create database... 0.127 seconds
    Populate database... 0.828 seconds
    Save database... 0.247 seconds
    Reload database... 0.053 seconds
    Search database... 0.703 seconds
    Sort database... 0.833 seconds
    Group database... 0.631 seconds
Score: 6283

JRMark (version 23.0.45): 5693

This was kind of fun!
Title: Re: x64 Benchmark!
Post by: SamuriHL on August 31, 2017, 11:01:27 am
Oh now that is awesome!!!
Title: Re: x64 Benchmark!
Post by: Awesome Donkey on August 31, 2017, 11:50:56 am
Nice! Is everything working in the 64-bit build? How far away until beta testing, you think? :D
Title: Re: x64 Benchmark!
Post by: Matt on August 31, 2017, 11:54:12 am
Nice! Is everything working in the 64-bit build? How far away until beta testing, you think? :D

Well Jim asked me if I could release it tonight!

Honestly we still need to decide if it's going to be a separate install or part of the same install.  Discussion is underway...
Title: Re: x64 Benchmark!
Post by: Awesome Donkey on August 31, 2017, 11:56:08 am
Honestly in my opinion? Separate install would probably be best when considering 64-bit applications are meant to be installed in the native Program Files folder.

Some 64-bit apps still use the Program Files (x86) folder, Chrome being a good example. But IMO it's best to use the "native" folder for installs. Or else you'll WILL have people reporting this as a bug - I know I would! ;D
Title: Re: x64 Benchmark!
Post by: Awesome Donkey on August 31, 2017, 12:02:17 pm
If you're going to have it as a separate install, is it possible the installer could be made smart enough to prompt the user to remove the "old" 32-bit version and install the "new" 64-bit version in the native location. If possible, perhaps move/copy any additional files from the old install (e.g. third-party skins not installed with MC - basically any files not part of a basic install) could be moved over to the proper new location (or backed up to the desktop) if there's any?

That *should* make the switch from 32-bit to 64-bit pretty much painless (as long as settings/thumbnails aren't touched).
Title: Re: x64 Benchmark!
Post by: SamuriHL on August 31, 2017, 02:19:25 pm
I'm very excited to test out the x64 builds.  Functionality wise it obviously shouldn't change anything, but, when you start getting into 4K video and things like that, it's possible the differences will start to add up in terms of performance.  I know I've been an advocate for making a 64 bit option available so this is excellent news!!
Title: Re: x64 Benchmark!
Post by: Hendrik on August 31, 2017, 03:23:50 pm
The build still needs quite some work, honestly. Need to figure out the installer first of all, and there is still a lot to work on with all external interactions the windows version has.

Also there have been some scary compiler warnings that need some proper investigation to avoid those weird and unexplainable bugs later on. :)
Title: Re: x64 Benchmark!
Post by: SamuriHL on August 31, 2017, 03:28:02 pm
Fair enough.  :)  When you guys feel like it's ready for external feedback, we'll be here to shake it down.  Scary compiler warnings are always a good time to track down.  LOL
Title: Re: x64 Benchmark!
Post by: astromo on August 31, 2017, 04:15:17 pm
Bravo for getting MC x64 operational..   ;)

Keen to try it out but no rush on my end. Any idea of how long getting a version posted here will take? Be as loose on timing as you'd like.
Title: Re: x64 Benchmark!
Post by: Hendrik on August 31, 2017, 04:31:34 pm
Not too long, if nothing serious stops it then we should have something to test within September, at least for the Beta team.  Need to really figure out the install things and whatnot for a public release.
Title: Re: x64 Benchmark!
Post by: jmone on August 31, 2017, 05:08:21 pm
Well done!  Can't wait to test as well  :o
Title: Re: x64 Benchmark!
Post by: kensn on August 31, 2017, 05:17:19 pm
Nice accomplishment!!!

Is it posted yet??....  How about now??  ;D

Ken
Title: Re: x64 Benchmark!
Post by: jmone on August 31, 2017, 05:24:26 pm
Unless there is some feature deprecation, MC64 should end up being the majority of installs
Title: Re: x64 Benchmark!
Post by: RoderickGI on August 31, 2017, 07:38:19 pm
Good news.

It would be good if you could share a list of potential issues when you launch a Beta version. Plug-ins that won't work, using 32bit drivers for something like an IR Receiver, and so on. I know there has been some discussion of these issues in the past. Better to be pre-warned than each of us find out the hard way!
Title: Re: x64 Benchmark!
Post by: marko on August 31, 2017, 09:42:31 pm
I like those installers like adobe's, where it detects what system it's being installed on and installs the 64 bit if appropriate, in the correct system files folder. Not sure how much weight that adds to the download though.
Title: Re: x64 Benchmark!
Post by: fitbrit on September 01, 2017, 12:21:50 am
Wow. Exciting. You guys... under-promise, overachieve!
Title: Re: x64 Benchmark!
Post by: Awesome Donkey on September 01, 2017, 04:14:24 am
I figured the installer would be the main sticking point. Having both the 32-bit and 64-bit files inside in the same installer with the option to choose which arch would be pretty neat. However, depending on the compression used, it'd likely increase or even double the installer's size. Not to mention you'd have to basically compile MC twice for every release. :P

Unless there is some feature deprecation, MC64 should end up being the majority of installs

Yep. So much so the use of the 32-bit builds (for the current and future MC versions) will likely dwindle down to the point where depreciation *could* be considered way, way in the future... or in a few years. :P

Of course this means 32-bit VST plugins won't work unless you have a 64-bit equivalent.
Title: Re: x64 Benchmark!
Post by: Hendrik on September 01, 2017, 04:15:35 am
Not to mention you'd have to basically compile MC twice for every release. :P

Ultimately no matter the packaging, we would want to automatically keep parity in both.
Title: Re: x64 Benchmark!
Post by: Awesome Donkey on September 01, 2017, 04:18:25 am
Yeah, I was going to add there that you'd be compiling MC twice regardless.

Just curious, how long does it take to compile the 32-bit version of MC versus how long does it take to compile the current WIP 64-bit build? And meaningful changes or is it about the same?
Title: Re: x64 Benchmark!
Post by: Hendrik on September 01, 2017, 04:20:07 am
Can't really measure that properly, as not all plugins build yet. :D
Title: Re: x64 Benchmark!
Post by: jmone on September 01, 2017, 04:24:58 am
Hows the Video (LAV/MadVR) performance looking at this point? 
Title: Re: x64 Benchmark!
Post by: SamuriHL on September 01, 2017, 08:54:13 am
Hows the Video (LAV/MadVR) performance looking at this point?

I'm guessing that's pretty darn good.  :)  It's what I'm most excited about.  The 64 bit version of MC is going to have to know to download the 64 bit versions of those, as well.  This isn't a small undertaking but I sincerely appreciate the effort being put in here.
Title: Re: x64 Benchmark!
Post by: jmone on September 07, 2017, 03:55:32 am
(https://pbs.twimg.com/media/CrLOK-LWcAAGuzr.jpg)
Title: Re: x64 Benchmark!
Post by: marko on September 07, 2017, 10:07:00 am
:D
Title: Re: x64 Benchmark!
Post by: Hendrik on September 07, 2017, 03:49:25 pm
We've fixed the build issues mostly, just need Matt to figure out making an Installer now. ;)
Title: Re: x64 Benchmark!
Post by: Awesome Donkey on September 07, 2017, 03:52:31 pm
I figure the installer might be pretty tricky. :P
Title: Re: x64 Benchmark!
Post by: SamuriHL on September 07, 2017, 03:55:25 pm
That's pretty sweet.  Looking forward to trying it out.
Title: Re: x64 Benchmark!
Post by: SamuriHL on September 15, 2017, 08:45:13 am
Woa we just got our first x64 build drop??  Time to do some testing.  :)
Title: Re: x64 Benchmark!
Post by: Hendrik on September 15, 2017, 09:10:46 am
"just" as in 2 days ago, but sure!
Title: Re: x64 Benchmark!
Post by: SamuriHL on September 15, 2017, 09:14:00 am
"just" as in 2 days ago, but sure!

Ack, I missed it then.  I was traveling for part of the week.  In any case, it's working great for me.
Title: Re: x64 Benchmark!
Post by: etc6849 on September 15, 2017, 02:56:47 pm
This is totally awesome.  So, does this mean we can use the 64 bit DiracVST plugin now (versus the 32 bit one as before)?
Title: Re: x64 Benchmark!
Post by: JimH on September 15, 2017, 03:01:53 pm
Probably.
Title: Re: x64 Benchmark!
Post by: JimH on September 15, 2017, 03:08:56 pm
I'm locking this now so we don't have too many 64 bit threads.