Speed timings for emulated hard disks

Support and general discussion.
Post Reply
grommit2007
Posts: 43
Joined: Sat 22 Apr, 2017 3:26 pm

Speed timings for emulated hard disks

Post by grommit2007 »

Would it be possible one day to implement a speed timing feature for the emulated hard disks similar to the speed selection for CD-ROM drives and the timings for video cards?

For example, this page on CNET shows the rotational speed, seek time and data transfer rate (and other useful information for implementing speed timings) for a Western Digital AC33100 hard disk- (this is just an example of information that a user could enter into the HDD file creation dialog box)

https://www.cnet.com/products/wd-caviar ... ide-ata-2/

Also, how much work would be required to implement hard disk timings?
User avatar
CryptidWorks
Posts: 141
Joined: Fri 26 Apr, 2019 7:11 am

Re: Speed timings for emulated hard disks

Post by CryptidWorks »

Is that really a level accuracy we need?

Most people aren't going to choose to emulate a terrible and slow old HDD over the modern 7200RPM unit or even SSD the HDD image is saved to.
grommit2007
Posts: 43
Joined: Sat 22 Apr, 2017 3:26 pm

Re: Speed timings for emulated hard disks

Post by grommit2007 »

CryptidWorks wrote: Sun 28 Apr, 2019 5:03 am Is that really a level accuracy we need?

Most people aren't going to choose to emulate a terrible and slow old HDD over the modern 7200RPM unit or even SSD the HDD image is saved to.
It will help with historical accuracy, as PCem has this already with CPU speeds, CD-ROM speeds and timings for video cards, so I figured, why not suggest HDD timing?

Also, an option to use the previous implementation (possibly by having default options for HDD timing parameters) should be included if this feature is ever implemented.
User avatar
CryptidWorks
Posts: 141
Joined: Fri 26 Apr, 2019 7:11 am

Re: Speed timings for emulated hard disks

Post by CryptidWorks »

grommit2007 wrote: Sun 28 Apr, 2019 5:37 pm
CryptidWorks wrote: Sun 28 Apr, 2019 5:03 am Is that really a level accuracy we need?

Most people aren't going to choose to emulate a terrible and slow old HDD over the modern 7200RPM unit or even SSD the HDD image is saved to.
It will help with historical accuracy, as PCem has this already with CPU speeds, CD-ROM speeds and timings for video cards, so I figured, why not suggest HDD timing?

Also, an option to use the previous implementation (possibly by having default options for HDD timing parameters) should be included if this feature is ever implemented.
A lot of that is necessary because some games and programs just do not work right on modern CPUs/GPUs several magnitudes faster than what they were designed for. Blood II is a stellar example because it absolutely crawls without a mod that fools the game into thinking it's running an old Glide/Voodoo card when run on modern hardware.

Simulating HDD timing/speed really isn't unless there's some obscure use-case I'm not aware of.
EluanCM
Posts: 112
Joined: Tue 27 Oct, 2015 2:07 pm
Location: Brazil
Contact:

Re: Speed timings for emulated hard disks

Post by EluanCM »

PCem is not just a wrapper or virtualization software, so accurate timings make total sense. Also, inaccurate disc access times and/or behavior are known to cause problems in various platforms, for example see "5.0-2431 - DVD Timing Accuracy Upgrades" in this report: https://dolphin-emu.org/blog/2017/03/01 ... uary-2017/
User avatar
leilei
Posts: 1039
Joined: Fri 25 Apr, 2014 4:47 pm

Re: Speed timings for emulated hard disks

Post by leilei »

I certainly wouldn't oppose to an option to limit hard drive access speed. I already sort of did a slow down the floppy controller in my noise patch.... Heck, for even more accuracy, one could go as far as to add support for a hard drive database file to match names, speeds, and dimensions (......and maybe samples) with
User avatar
omarsis81
Posts: 945
Joined: Thu 17 Dec, 2015 6:20 pm

Re: Speed timings for emulated hard disks

Post by omarsis81 »

leilei wrote: Sun 28 Apr, 2019 11:20 pm Heck, for even more accuracy, one could go as far as to add support for a hard drive database file to match names, speeds, and dimensions (......and maybe samples) with
I support your idea, in fact I suggested something similar here http://pcem-emulator.co.uk/phpBB3/viewt ... 4855#p4855
User avatar
KingDaveRa
Posts: 22
Joined: Thu 06 Oct, 2016 9:00 pm
Location: UK
Contact:

Re: Speed timings for emulated hard disks

Post by KingDaveRa »

I rather like the idea that when creating an HD, it could be possible to select from a list of makes and models, much like you can with other hardware. Granted, it'd be little more than a cosmetic thing right now, but it'd make sizing drives easier, and not coming up with wacky geometry some OSes might not like.

When sizing disks, I very often go look on eBay for a drive of the rough size I want, and take the geometry from the pictures on a listing. :)
Zup
Posts: 83
Joined: Mon 30 Nov, 2015 10:47 am

Re: Speed timings for emulated hard disks

Post by Zup »

KingDaveRa wrote: Sat 11 May, 2019 9:25 pmI rather like the idea that when creating an HD, it could be possible to select from a list of makes and models, much like you can with other hardware. Granted, it'd be little more than a cosmetic thing right now, but it'd make sizing drives easier, and not coming up with wacky geometry some OSes might not like.

When sizing disks, I very often go look on eBay for a drive of the rough size I want, and take the geometry from the pictures on a listing. :)
Maybe it would be easier to make a list of interfaces and "typical" timings. Most MFM, RLL and ESDI disks usually had the same performance at consumer levels (I mean, most RLL disks shared about the same performance). Maybe SCSI and PATA disks should have subcategories (based on RPM? or slow-medium-fast like bus timings?). Having a complete database of timings of every disks manufactured would be too much work.
Windows9xFan
Posts: 20
Joined: Fri 04 Jul, 2014 7:01 pm

Re: Speed timings for emulated hard disks

Post by Windows9xFan »

I would like to see this feature on PCem v17!
Also, the most common HDD speeds are 3600, 7200, 10000 and 15000 RPM.
I'm your biggest fan, Windows 9x series of operating systems!
Zup
Posts: 83
Joined: Mon 30 Nov, 2015 10:47 am

Re: Speed timings for emulated hard disks

Post by Zup »

Although there were 15000 rpm SCSI disks, I don't think they would be available at Pentium II era.

Also, to match speeds settings you'll have to include some of this parameters:
- Interleave (very important for MFM and RLL disks).
- How many ms takes the head motor to jump from a track to the next.
- Rotational speed.
- Bus speed.
- Cache speed.
widge
Posts: 19
Joined: Tue 16 Jun, 2020 9:01 pm

Re: Speed timings for emulated hard disks

Post by widge »

Sound the heads make on the platters as well as leds present on the facade would be cool too :)
Post Reply