English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware

 
 
Thread Tools
Old 09 July 2024, 13:02   #1
Liqourice
Registered User
 
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 238
mSATA to 44 pin IDE adapter?

Since the SD-card solution I ended up using on my A500 feels far from ideal and is quite slow I've started looking for alternatives.


Found this thing and wonder if this is a feasible way to go, paired with a decently sized mSATA SSD?


https://www.amazon.se/h%C3%A5rddisk-...07VG1X6L3?th=1
Liqourice is offline  
Old 09 July 2024, 13:21   #2
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,079
Send a message via MSN to FOL
Quote:
Originally Posted by Liqourice View Post
Since the SD-card solution I ended up using on my A500 feels far from ideal and is quite slow I've started looking for alternatives.


Found this thing and wonder if this is a feasible way to go, paired with a decently sized mSATA SSD?


https://www.amazon.se/h%C3%A5rddisk-...07VG1X6L3?th=1

I have a few of these. They are hit and miss. You have to get right SSD that will work with Amiga. I bought 3 16GB SSD's before I got one that worked.
FOL is offline  
Old 09 July 2024, 15:57   #3
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,522
Quote:
Originally Posted by Liqourice View Post
Since the SD-card solution I ended up using on my A500 feels far from ideal and is quite slow I've started looking for alternatives.
The speed will be limited by your IDE controller implementation and your CPU power. 68000 @ 7MHz with PIO0 you will be limited to approx 500/600 Kbytes/sec which is very slow but there is nothing you can do about it other than to buy a CPU accelerator or SCSI DMA controller
alexh is online now  
Old 10 July 2024, 00:11   #4
Liqourice
Registered User
 
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 238
Quote:
Originally Posted by alexh View Post
The speed will be limited by your IDE controller implementation and your CPU power. 68000 @ 7MHz with PIO0 you will be limited to approx 500/600 Kbytes/sec which is very slow but there is nothing you can do about it other than to buy a CPU accelerator or SCSI DMA controller
I have a TF536 with a 50 MHz 030 and using the built-in IDE on that.

The SD-card adapter I'm using now is very slow. According to Sysinfo a little under 700k/s but I really doubt that, it feels slower.

I don't expect to get the speed I had with the GVP SCSI but at least a bit better than this.
Liqourice is offline  
Old 10 July 2024, 09:49   #5
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,079
Send a message via MSN to FOL
Quote:
Originally Posted by Liqourice View Post
I have a TF536 with a 50 MHz 030 and using the built-in IDE on that.

The SD-card adapter I'm using now is very slow. According to Sysinfo a little under 700k/s but I really doubt that, it feels slower.

I don't expect to get the speed I had with the GVP SCSI but at least a bit better than this.

That is slow, I would expect atleast 1.1 to 1.2mb/sec with acceleration.
FOL is offline  
Old 10 July 2024, 12:00   #6
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,522
Quote:
Originally Posted by Liqourice View Post
I have a TF536 with a 50 MHz 030 and using the built-in IDE on that. The SD-card adapter I'm using now is very slow. A little under 700k/s
I suspect this is not your SD-card adapter but your Amiga configuration. There are numerous discussions about TF536 IDE performance (4.4MB/s with 030@50MHz) being affected by ROM speed (that contains scsi.device). You should install the latest MMUlib and make sure that you have followed the instructions to enable MUFastROM and MUFastZero. You should see performance increase to between 2MB/s to 4MB/s

Consider using diskspeed and not sysinfo to get your figures.
alexh is online now  
Old 10 July 2024, 12:59   #7
Liqourice
Registered User
 
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 238
Quote:
Originally Posted by alexh View Post
I suspect this is not your SD-card adapter but your Amiga configuration. There are numerous discussions about TF536 IDE performance (4.4MB/s with 030@50MHz) being affected by ROM speed (that contains scsi.device). You should install the latest MMUlib and make sure that you have followed the instructions to enable MUFastROM and MUFastZero. You should see performance increase to between 2MB/s to 4MB/s

Consider using diskspeed and not sysinfo to get your figures.
I'll try that and see what happens.

Well, this is odd. I ran Diskspeed before and after. According to the results Create file and Write to file actually got a lot slower while Read from file became a lot faster.

Last edited by Liqourice; 10 July 2024 at 13:38.
Liqourice is offline  
Old 10 July 2024, 15:13   #8
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,522
Interesting. How much slower and how much faster?
alexh is online now  
Old 10 July 2024, 17:11   #9
Liqourice
Registered User
 
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 238
Quote:
Originally Posted by alexh View Post
Interesting. How much slower and how much faster?

Above is without, below is with. Sysspeed and Diskspeed shows pretty much the same figures.


Liqourice is offline  
Old 10 July 2024, 21:08   #10
Liqourice
Registered User
 
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 238
How would this thing work considering there's no need for an adapter?

https://www.transcend-info.com/embed...lutions/psd330
Liqourice is offline  
Old 11 July 2024, 00:30   #11
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,522
I still think you've got a setup issue. Might be worth telling us what file system you have installed and what buffers the drive has. Maybe post your startup sequence too?
alexh is online now  
Old 11 July 2024, 01:03   #12
Liqourice
Registered User
 
Join Date: Jul 2018
Location: Stockholm / Sweden
Posts: 238
Quote:
Originally Posted by alexh View Post
I still think you've got a setup issue. Might be worth telling us what file system you have installed and what buffers the drive has. Maybe post your startup sequence too?

It's FFS Intl no directory cache 4k block size, 0xFE00 maxtransfer. 8GB SD-card but only using 4.

SS is an old mess, been hanging around since 1992 and Kick 2.04. Thinking I'm gonna try a fresh install but waiting until I can get my hands on 3.2.2. Running 3.1 now.

Might just leave it as it is for now until I can put 3.2 in. I guess there is some kind of misdirected pride in continuing to build on the same first install I had when I got my first harddrive.
Liqourice is offline  
Old 11 July 2024, 11:02   #13
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 952
0xFE00 MaxTransfer is unnecessary limiting, 0x1FE00 is enough to avoid the bug in 3.1 scsi.device.

Also verify that your Mask isn’t set to something really strange. It should be default 0x7FFFFFFE, but can even be completely unlimited at 0xFFFFFFFF with the C= IDE scsi.device, it has no memory region or alignment access bugs as it copies all the data using the CPU.
patrik is offline  
Old 11 July 2024, 11:19   #14
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,522
Quote:
Originally Posted by patrik View Post
0xFE00 MaxTransfer is unnecessary limiting, 0x1FE00 is enough to avoid the bug in 3.1 scsi.device.
Can you change MaxTransfer on an existing partition non-destructive? What tool? HD-Toolbox for WB3.1?
alexh is online now  
Old 11 July 2024, 11:34   #15
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 952
Quote:
Originally Posted by alexh View Post
Can you change MaxTransfer on an existing partition non-destructive? What tool? HD-Toolbox for WB3.1?
Yes, changing MaxTransfer and Mask does not change the on-disk-format, it only alters those partition parameters (each partition has those) in the RDB data. These parameters are used by the filesystem as a kludge to work around limitations/bugs in driver+hardware.

HDToolBox works, at least if you did the initial partitioning with it. I often use Thomas Rapp’s excellent ChangeBootPri to view and change these: https://thomas-rapp.hier-im-netz.de/download.html
patrik is offline  
Old 11 July 2024, 11:59   #16
alexh
Thalion Webshrine
 
alexh's Avatar
 
Join Date: Jan 2004
Location: Oxford
Posts: 14,522
I'd be curious to know if changing MaxTransfer affects the performance. I understand why it could but I'd like to know if it does in practice.
alexh is online now  
Old 11 July 2024, 12:12   #17
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 952
Quote:
Originally Posted by alexh View Post
I'd be curious to know if changing MaxTransfer affects the performance. I understand why it could but I'd like to know if it does in practice.
In this case, it should not make much difference as it is already 0xFE00 (filesystem has to split in ~64kB accesses) vs 0x1FE00 (filesystem has to split in ~128kB accesses), so you would only see difference with 64kB+ read/writes.

However, it is unnecessary to set a limit at about half what is needed to avoid the bug, thats why I recommended to fix it.

The Mask is "easier" to fudge the performance with - say the Mask is for unknown reason set to limit to Zorro2 address space of first 16MB - Mask = 0xFFFFFE or similar:

Then when running with the TF536, which has all memory above first 16MB, the filesystem will think it is unsafe to do direct transfers to/from that memory, as instructed by the Mask and will instead copy the data to chipmem and transfer it in small blocks in an attempt to make the transfer safe:
- chipmem as DMA controllers usually at least can access that
- small blocks as that with many controllers actually makes them avoid using DMA and revert to PIO

In this case that is a moot point as DMA does not exist as the C= IDE is a PIO controller, but the filesystem does not know and acts as instructed by the Mask and fudges the performance for no good reason.
patrik is offline  
Old 11 July 2024, 12:26   #18
ShK
Registered User
 
ShK's Avatar
 
Join Date: Mar 2013
Location: Lahti / Finland
Age: 53
Posts: 464
Was it so that when using C as last letter with the Mask, it will be 32bit aligned?

E.g., Mask 7FFFFFFC (Any memory - 32 bit aligned).
ShK is offline  
Old 11 July 2024, 12:30   #19
Jope
-
 
Jope's Avatar
 
Join Date: Jul 2003
Location: Helsinki / Finland
Age: 43
Posts: 9,938
Quote:
Originally Posted by PFS2 FAQ
Values with no zero bits, end in 0xF, will have no alignment. Values with one zero bit, end in 0xE, will be word aligned. Values with two zero bits, end in 0xC, will be long word aligned.
The first number can be a 7 or an F, depends on where memory and whether it can be DMA'd to if it is a DMA situation.
Jope is offline  
Old 11 July 2024, 12:41   #20
patrik
Registered User
 
patrik's Avatar
 
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 952
Quote:
Originally Posted by ShK View Post
Was it so that when using C as last letter with the Mask, it will be 32bit aligned?

E.g., Mask 7FFFFFFC (Any memory - 32 bit aligned).
Quote:
Originally Posted by Jope View Post
The first number can be a 7 or an F, depends on where memory and whether it can be DMA'd to if it is a DMA situation.
It doesn't really matter if the first number of 7FFFFFFC is a 7 or F. The difference would be that 7 does not allow direct transfers above the lower 2GB of address space, but no Amiga has memory above that, so thats why it does not matter.

Also keep in mind that the Mask does not align anything, it is used to restrict direct transfers to/from memory to addresses not matching the mask. So "address AND Mask == address" must be true:

What I want to say by this is that nothing will get faster by say using Mask 7FFFFFFC instead of say 7FFFFFFF, only slower as it makes the filesystem to the safe and very slow transfers if the address of transfer does not match the Mask.

Only limit with the Mask if you need it to avoid a bug/limitation in the driver+hardware, else you will only end up with very slow transfers for no good reason.

This speed difference is only seen if tested through filesystem access. SysInfo, SCSISpeed, RSCP etc does direct device access. You need say DiskSpeed (found on aminet), which also can test speed at different alignment - watch speed of WORD and BYTE transfers in DiskSpeed decrease enormously if you change Mask 7FFFFFFF -> 7FFFFFFC for example.
patrik 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
44-pin IDE pin header for A600/A1200 part number Firestone support.Hardware 2 25 May 2024 23:41
IDE 40/44 pin adapter to work in Amiga 1200,a bit "dirty" hack. Possible? hda support.Hardware 4 11 September 2020 00:05
Long 44 pin ide cable Dustyarddog support.Hardware 13 28 January 2020 11:32
44 pin ide edge connectors xraynorm support.Hardware 3 02 February 2019 21:43
Running multiple drives/Devices on 44-Pin IDE - Amiga 1200 antiriad76 support.Hardware 8 28 December 2017 00:58

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 11:24.

Top

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