English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 10 October 2020, 09:46   #1
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
WinUAE 440 slower than 281?

Hi everyone, looking at some Lightwave 3.5 benchmarks tried to replicate on my system with WinUAE 440 64bit and saw my render times were about 2 time slower than on comparable systems. Then I tried WinUAE 281 32bit and render times were reduced to half. The WinUAE config was the same for both WinUAE versions, 68040 + FPU + JIT.
Don't know if this affects other aspects of CPU emulation performance, or that 440 version is more compatible.

Kind regards
Xtro is offline  
Old 10 October 2020, 16:22   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
JIT should be more or less same. Does 32-bit version return different results? Make also sure FPU mode is "Host (64-bit)" in CPU panel. 80-bit will be slower (and usually not needed)
Toni Wilen is online now  
Old 10 October 2020, 18:46   #3
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
Quote:
Originally Posted by Toni Wilen View Post
JIT should be more or less same. Does 32-bit version return different results? Make also sure FPU mode is "Host (64-bit)" in CPU panel. 80-bit will be slower (and usually not needed)
Also tried 440 32-bit with the same exact result than 440 64-bit. FPU was always "Host (64-bit)" in all my tests.

Tried other WinUAE versions, and the last one that gave "fast" results was 361 64-bit. 400 64-bit is even slower thant 440. There should be something between 361 and 400 that made JIT slower.

Last edited by Xtro; 10 October 2020 at 19:06.
Xtro is offline  
Old 10 October 2020, 20:33   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Could you try without JIT FPU enabled? Do you get similar (slow) results? (=problem is JIT FPU)
Toni Wilen is online now  
Old 10 October 2020, 23:57   #5
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
Tried again same test with 440 & 361 64-bit, now 68040 JIT FPU disabled and again 440 takes about double time to render scene, 440 (39 minutes) & 361 (20 minutes).
Xtro is offline  
Old 11 October 2020, 02:05   #6
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 327
Just did a little benchmarking and found a similar (although not quite so large) performance regression in 4.5.0 vs 3.6.1 (both 64 bit.)

Rendering a test scene in Sculpt Animate 4D:

3.6.1 with '030 68882 JIT+FPU, Integer version renders in 6.8 seconds, Floating point in 8.7 seconds. With JIT FPU off FP version jumps to 9.6 seconds.

4.5.0 beta 2 with '030 68882 JIT+FPU, Integer version takes 7.5 seconds and FP 10 seconds. With JIT FPU off it's 11 seconds for FP render.

Last edited by Rotareneg; 11 October 2020 at 13:35.
Rotareneg is offline  
Old 11 October 2020, 12:40   #7
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
Tried Real 3D Pro 1.4.2 with candlescene rendering all by default settings, some weird results:

361 INT 55.3s ------- 440 INT 137s
361 FPU 23.5s ------- 440 FPU 65.1s
361 INT JIT 10.2s --- 440 INT JIT 38.4s
361 FPU JIT 3.1s ---- 440 FPU JIT 32.4s

So in this test 361 FPU JIT 10x faster than 440 FPU JIT
even 361 JIT disabled is faster than 440 JIT enabled
Xtro is offline  
Old 11 October 2020, 13:52   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Hmm.. It must be config/hardware/something related because everyone would have complained if it was common problem.

Could you narrow down the version that introduced this difference?
Toni Wilen is online now  
Old 11 October 2020, 14:01   #9
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
For me version 400 introduced this "slow" performance issue
Xtro is offline  
Old 11 October 2020, 15:26   #10
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 327
I just tried with VistaPro 3 (as its FPU version is actually significantly faster than the non-FPU one, unlike with Sculpt4D) and I couldn't find any performance difference between 3.6.1, 4.4.0, and 4.5.0, so I don't know.

The 32 bit versions are always faster though, my test scene rendering in 12 seconds with the x64 version and only 9 with the 32 bit version.

My CPU is an old i7 860, in case that's relevant.
Rotareneg is offline  
Old 11 October 2020, 18:15   #11
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Could you attach your config file?

It is possible some CPU related config entry was ignored in JIT mode with older versions but are now in use, resulting in slower speed.
Toni Wilen is online now  
Old 11 October 2020, 18:55   #12
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
Here is the config I am using
Thanks for checking Toni
Attached Files
File Type: uae Amiga 1200 acelerado.uae (28.0 KB, 95 views)
Xtro is offline  
Old 11 October 2020, 19:08   #13
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,515
Disable vsync first. Vsync and JIT won't work very nicely together.

Disabling JIT hard flush option might increase speed a bit.
Toni Wilen is online now  
Old 11 October 2020, 19:28   #14
Xtro
Registered User
 
Join Date: Oct 2020
Location: Spain
Posts: 8
OK, I think that did it. Only did a quick test with Lightwave, I had enabled Lagless Vsync (Beam-Raced) and that was the cause of slow performance, 3.6.1 did not have that option so it was fast.
Xtro is offline  
Old 11 October 2020, 20:28   #15
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 327
I wasn't using vsync, but I'm dubious of the results I was getting as I can't reproduce them now... don't troubleshoot when sleepy! I did find a bug with 80 bit FPU in 4.5.0, I'll post it in the normal beta thread.
Rotareneg is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPC Slower mritter0 support.WinUAE 10 27 October 2015 22:50
my prog gets slower and slower AGS Coders. System 2 19 March 2015 22:27
Real 1200 Slower vs WinUAE 1200 Same settings... Pioneer500 support.Hardware 4 11 May 2013 15:43
sam 440 flex 667 dhey59 Hardware mods 0 13 April 2013 03:23
Modules playing slower on WinUAE than on DeliPlayer Win32? andreas support.WinUAE 10 07 May 2009 20:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10111 seconds with 14 queries