Changeset 317 in xtideuniversalbios
- Timestamp:
- Mar 11, 2012, 4:30:31 AM (13 years ago)
- google:author:
- gregli@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wiki/SerialDrives.wiki
r315 r317 40 40 = Performance = 41 41 42 Really, emulating a disk drive over a serial link? That has to be pretty slow, right? 43 44 It depends. Using high speed UARTs at a speed of 460K, performance is on par with floppy disk drives of the vintage era, without any of the seek time or interleave factors to slow it down (we're assuming the server PC is very fast and is caching heavily used sectors in memory). With this level of throughput, serial drives are slower than a vintage hard disk, but not by much, and the system is completely usable. 45 46 Using slow speed UARTs, at a speed of 38.4K, which is commonly the top speed for vintage serial ports, the serial drives are quite slow. However, if this is used infrequently, say when it is needed to bootstrap an OS in order to format a locally attached hard disk, the delay can be worth it, and less hassle than finding a working floppy disk drive and floppy disk with the required image. 47 48 Here's how various drives compare: 49 50 || || *5.25" DSDD Floppy* || *3.5" HD Floppy* || *Original IBM PC XT Hard Disk* || *38.4K Baud Serial Drive* || *460K Baud Serial Drive* || 51 || Theoretical Max, Bytes per Second || 31K || 62K || 87K || 4.8K || 3.8K || 46K || 52 || Observed Speed, Bytes per Second || || || || 3.7K || 42K Read, 37K Write || 53 || Time to Boot MS-DOS 3.3, Seconds || || || || || || 54 55 Note that at high speed, write performance for serial drives is slightly worse than read performance - the BIOS code is optimized for read performance. 56 57 To help measure performance, SerDrive's "-v" switch with a value of 1 or higher will also display performance measurements for transfers of more than 100 sectors at a time. 58 59 Performance number Notes: 60 * Serial drive theoretical max taken by dividing bit rate by 10, allowing for start and stop bits. Wikibooks has a discussion of [http://en.wikibooks.org/wiki/Serial_Programming:RS-232_Connections#Data_Transmission_Rates Data Transmission Rates] based on RS-232 serial communications overhead, in the Wikibook [http://en.wikibooks.org/wiki/Serial_Programming:RS-232_Connection _Serial Programming/RS-232 Connections_]. 61 * Floppy disk characteristics from Scott Mueller's [http://books.google.com/books?id=E1p2FDL7P5QC&pg=PA649 _Upgrading and Repairing PCs_], Page 649. 62 * IBM PC XT Hard Disk performance as calculated based on maximum throughput and sector interleave by Steve Gibson in [http://books.google.com/books?id=CD8EAAAAMBAJ&pg=PA36 "The Ways and Means of Faster Data Throughput"], _InfoWorld_, March 7, 1988, Page 36. 63 64 42 65 = Configuring with XTIDECFG = 43 66 … … 70 93 Baud rate to use on the COM port. If the client machine has a hardware rate multipler (for high speed operation), then that will impact this setting: 71 94 72 || Rate Multiplier || Available Baud Rates||95 || *Rate Multiplier* || *Available Baud Rates for SerDrive* || 73 96 || None || 2400, 4800, 9600, 28.8K, 57.6K, 115.2K || 74 97 || 2x || 4800, 9600, 19200, 57.6K, 115.2K, 230.4K || 75 98 || 4x || 9600, 19200, 38400, 115.2K, 230.4K, 460.8K || 76 99 77 And for completeness, 76.8K and 153.6K can also be set. The default baud rate is 9600 (115.2K when used in named pipe mode) 100 And for completeness, 76.8K and 153.6K can also be set. The default baud rate is 9600 (115.2K when used in named pipe mode). 101 102 Note that in Windows' Device Manager, a high speed COM port may still show that it's maximum speed is 128K baud. Do not be alarmed, this setting has no impact on what SerDrive does with the Windows API, where the higher speeds are available. No manual setup of the serial port is required before SerDrive runs. 78 103 79 104 * _Disable Operation Timeout:_ -t * … … 88 113 89 114 Reporting level 1-6, with increasing information as the number increases. This switch can be very useful for seeing the secot-by-secotr traffic between the PC and the hard disk. 115 116 The "-v" switch with a value of 1 or higher will also display performance measurements for block transfers of more than 100 sectors. 90 117 91 118 * _ImageFiles:_ ImageFileName * … … 116 143 Care must be taken when configuring the serial connection - the clock multiplier is not detectable by the client PC. With a 4x clock multiplier, the client PC should be set to 115.2K baud, while the matching server needs to be set to 460.8K baud. 117 144 145 Note that in Windows' Device Manager, a high speed COM port may still show that it's maximum speed is 128K baud. Do not be alarmed, this setting has no impact on what SerDrive does with the Windows API, where the higher speeds are available. No manual setup of the serial port is required before SerDrive runs. 146 118 147 = Disk Image Format = 119 148
Note:
See TracChangeset
for help on using the changeset viewer.