15 March 2023, 17:03 | #1 |
Registered User
Join Date: May 2022
Location: Canada
Posts: 138
|
Harddrive read speed in WinUAE vs real Amiga
Hi Toni and everyone,
I was toying with streaming data from the harddrive, and it made me wonder: Is WinUAE emulating the harddrive speed too? I didn't find any settings in WinUAE, contrary to floppy disk, to manage emulation speed of the disk. I was wondering if we know, on average, with Kickstart 1.3 or 2.0, with a mechnical harddrive, about what kind of read speed we can obtain on a real Amiga 68000 + just chip ram, to be able to estimate what is feasible in term of 'direct disk streaming'. |
15 March 2023, 17:53 | #2 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,099
|
Pretty sure the answer is that WinUAE doesn't emulate drive speed.
As a quick test I whipped up a program that times reading a file to chip mem. On my A1200 with CF-card adapter I get ~970KB/s reading from a FFS partition (with or without 060 enabled). In WinUAE with A500+ cycle accurate setup (I was lazy and used ReadEClock, so KS2.0+ needed) I get ~43MB/s. |
15 March 2023, 17:58 | #3 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 922
|
Quote:
|
|
15 March 2023, 18:14 | #4 |
Registered User
Join Date: May 2022
Location: Canada
Posts: 138
|
It might appear "0 clock cycle" for the Amiga side when the emulator performs the real read on the host platform, and this imply the data is directly "injected magically" intio the destination memory buffer?
(because as we see, even a pure copy cannot much such speed) |
15 March 2023, 18:59 | #5 | |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,099
|
Quote:
In other words, you probably shouldn't rely on WinUAE for testing how fast you can stream data from a HD on an A500. For that you probably want real-world testers or at relevant datasheets (and I guess if the disk is OFS and fragmented you have to provision for additional seek time for each block). EDIT: Maybe there are some advanced emulation options I'm not aware of, so the above just goes for using plain shared folders/HDF. |
|
15 March 2023, 19:14 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,508
|
DMA controllers are "immediate". PIO controllers are affected by CPU emulation mode.
Speed control does not exist. It isn't trivial. |
15 March 2023, 19:54 | #7 |
Registered User
Join Date: May 2022
Location: Canada
Posts: 138
|
The next thing I wanted to try would be streaming from CD (at CDTV speed): I assume WinUAE does implement CD read speed emulation?
(Because I see a checkbox for enabling 'turbo CD speed') |
15 March 2023, 20:25 | #8 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,508
|
Quote:
Correct speeds are needed because CD read speed and CD frame interrupts are used for timing. btw, directory filesystem won't ever have speed limits because it isn't a block device but a filesystem. Hardfiles can be supported but is also very boring task to implement.. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinuAE + ADF-copy __ Read Real AmigaFloppy with WinUAE | Giants | support.WinUAE | 14 | 02 May 2019 11:17 |
Is there a tutorial on setting up winuae to read/write over a lan to a real amiga? | chocsplease | support.WinUAE | 7 | 16 April 2019 13:46 |
How set WinUAE configuration for real Amiga speed performance ? | cybersite_ni.q | support.WinUAE | 6 | 08 June 2009 11:09 |
Making an image of a real Amiga Harddrive to use in WinUAE? | SabreGolly | New to Emulation or Amiga scene | 7 | 01 October 2006 17:59 |
Easiest way to create a hardfile from a real Amiga Harddrive | chrispoacher | New to Emulation or Amiga scene | 5 | 28 March 2006 01:35 |
|
|