05 November 2023, 16:01 | #1 |
Registered User
Join Date: Jul 2020
Location: Växjö / Sweden
Posts: 58
|
A590 Mask and Max transfer values in HD Toolbox?
Hi!
Today i had a look at my A590 HDToolbox settings. I have a Quantum 105 Mb SCSI drive with 2 partitions with FFS. The A590 have 2 meg ram. On both my partitions Mask is set to 0xffffffff and Max Transfer 0x1000000 This seems not correct or? What values would you suggest? |
05 November 2023, 16:07 | #2 |
Registered User
Join Date: Aug 2006
Location: Augusta, Georgia, USA
Posts: 550
|
MaxTransfer issues don't apply to SCSI. What you have is fine.
|
08 November 2023, 20:03 | #3 | ||
0ld0r Git
Join Date: Mar 2009
Location: Cornwall, UK
Posts: 1,581
|
Quote:
Quote:
rcade is correct.... @ DanC If it ain't broke..... Don't fix it bud! |
||
08 November 2023, 20:29 | #4 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,863
|
1) The A500 AmigaBus connector is similar enough to Zorro 2 in terms of autoconfig, usable address spaces and DMA to 32bit problems, that the same rules apply for mask settings
2) There is an A500 version of the Oktagon 2008, which is called the Oktagon 508, it is quite similar in function to the 2008. 3) Max transfer problems are specific to certain hard disk / driver / controller combinations. Thus it is perfectly possible that some buggy SCSI controller or some buggy SCSI target device also requires you to limit the max transfer size. Seems the Oktagon can suffer from a max transfer problem. We should not shun this information but instead make a note of it for when someone has read errors when using an Oktagon SCSI controller. Perhaps it is related to the card reader in question, perhaps it is this card reader + Oktagon combination, but we can't know this based on the info we have to work with. |
08 November 2023, 20:35 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
There are some SCSI controllers that do have max transfer problem but it usually only happens when single transfer is multiple megabytes. Which practically don't ever happen in normal use.
I don't remember which one but I think it was 53C94 based and driver didn't split >16M transfers (SCSI chip has 24 bit DMA length counter). Or maybe it was "only" >8M transfer. But, as I said, it won't happen normally but SCSI max transfer bugs do exist |
08 November 2023, 20:39 | #6 |
Registered User
Join Date: Jul 2020
Location: Växjö / Sweden
Posts: 58
|
Thnks all!
So max transfer is not critical then? But what about the Mask setting? |
08 November 2023, 21:18 | #7 |
-
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,863
|
As long as you don't have 32bit RAM in your A500, you don't have to worry about the mask at all.
|
08 November 2023, 21:19 | #8 |
Registered User
Join Date: Jul 2020
Location: Växjö / Sweden
Posts: 58
|
|
08 November 2023, 21:56 | #9 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,001
|
Quote:
Early Acard SCSIDE converters had the same issue. Generally speaking it does not hurt to set MaxTransfer to 0x1fe00 or 0x20000 always and everywhere. Then you are safe in any case. The Mask value OTOH really depends on the hardware and RAM configuration. Whether the controller can do DMA and if DMA is limited to certain memory areas. In all other cases Mask should be set to 0xFFFFFFFF. Every bit which is cleared in the mask may cause the driver to allocate new buffers and copy memory accross. This is unnecessary overhead and reduces transfer speed. So keep all bits set unless you really need to limit the kind of RAM. |
|
09 November 2023, 08:44 | #10 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,001
|
Quote:
The usual command to be used is READ(10). It has a 16 bits length field. So the transfer limit is 65536 sectors or 32 MB. Must be a very rare case which exceeds this. LBA is 32 bits which leads to the 2 TB disk size limit with 512 byte sectors. |
|
09 November 2023, 09:27 | #11 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,516
|
Quote:
Quote:
There was some max transfer test reports (test program exists but I don't remember the name either) I got years ago and it mentioned some SCSI controllers that had problems with very large single transfers and it was less than 32 megabytes. It still is not a problem in normal use compared to infamous Commodore IDE scsi.device max transfer bug. |
||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HDToolBox optimum Mask and MaxTransfer settings for CyberstormPPC SCSI3 | ancalimon | support.Hardware | 0 | 15 July 2020 12:21 |
Another HD Toolbox Question | 512k | support.Apps | 3 | 02 April 2019 13:58 |
Some HD Toolbox Questions | BJH | support.Other | 3 | 25 October 2017 10:48 |
HD Toolbox does not recognize CF card(s) | Snowwie | support.Hardware | 5 | 25 February 2012 19:44 |
HD toolbox | xalakibaniou | support.WinUAE | 4 | 04 November 2005 22:19 |
|
|