Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: Sandman on November 18, 2008, 05:48:28 PM

Title: SCSI CF slower than IDE CF...Why?
Post by: Sandman on November 18, 2008, 05:48:28 PM
I have a CF that I can connect to my A4000 thru:

1. CF->IDE adaptor to A4000 IDE

2. CF->IDE adaptor to IDE->SCSI adaptor to WarpEngine SCSI

3. CF->IDE adaptor to IDE->SCSI adaptor to WarpEngine SCSI w/ SCSI HD on chain also.

Sysinfo reports speed of the CF fastest on #1, next #2 and slowest #3(the actual way that I want to set it up).

This seems odd.... Why does the CF on SCSI slow down the most with a real HD also attached?

Any of you experts got any ideas?

Thanks,
Tim



Title: Re: SCSI CF slower than IDE CF...Why?
Post by: ddniUK on November 18, 2008, 05:57:07 PM
I am not an expert in SCSI, but I would check...

Is your scsi chain terminated properly?

Is your SCSI device set to Synchronous or Asynchronous? My BPPC SCSI is twice as fast in Synchronous mode.

Title: Re: SCSI CF slower than IDE CF...Why?
Post by: X-ray on November 18, 2008, 07:41:10 PM
You got two bottlenecks, the CF adapter and the IDE to SCSI converter. That's what my guess is. You never really took IDE out of the equation.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Damion on November 18, 2008, 07:49:29 PM
Definitely check your setup, speed should be near the theoretical max of the controller (and up to the CF card transfer limit).

Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Sandman on November 18, 2008, 07:58:30 PM
The rating sysinfo gives for the CF card is 3.5m/sec and 8m/sec for the 10K Quantum SCSI HD even at the best setting...... I guess I was hoping for a little more.

Maybe I would just be better off hooking the CF->IDE to the motherboard IDE and putting the Quantum SCSI HD and IDE CDRW(with the IDE->SCSI adapter) to the WarpEngine.

Just going to be using the CF to transfer files to the HD anyways.

Also, Why would adding anything to the SCSI chain slow the HD down?  I am still green to SCSI in generally.

Thanks again,
Tim
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: mikedouble on November 18, 2008, 09:06:30 PM
Hi Sandman,

What speed does your CF card give with Sysinfo in the 3 configurations?

You will find that the SCSI bus will run at the same speed as the slowest scsi controller on the chain.

So, if your WarpEngine and IDE<>SCSI adapter have a max speed of 80Mbps, and your HD has a max speed of  40Mbps, everything will run at the slower speed. I'm not suggesting that your HD is actually the slower device, its just an example :-)

It is also possible that the buffer on your IDE<>SCSI adapter is quiet small and so doesnt handle high speed communication very well. What is the speed of your CDRom drive (ie.42x) and what kind of throughput do you get from it?
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: MozzerFan on November 19, 2008, 04:26:55 AM
@Sandman

In combination with a fast CF card, The CF-IDE should give you at least 7 MB/s. I can confirm what ddniUK already said. If I set my cyberscsi to asynchronous mode, it halves the speed. In synchronous mode I get ~7.5 MB/s.
This is with a scsi-ide adpter and CF-IDE adapter with a Sandisk Ultra II 4 GB CF card connected to my Cyberscsi, which is a Fast SCSI 2 controller.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Sandman on November 19, 2008, 07:40:16 PM
Ok, here is what I got.

WarpEngine set to no delay, no LUN scan, 100ns sychronous


Case#1:
Quantum 10K SCSI HD (18gb) alone on WarpEngine.....Sysinfo says 8,738,133/sec
CF Card->CF/IDE adaptor->A4000 IDE.....Sysinfo says 2,184,533/sec


Case#2:
Quantum 10K SCSI HD (18gb) on WarpEngine SCSI.....Sysinfo says 8,738,133/sec
CF Card->CF/IDE adaptor->IDE/SCSI adaptor on WarpEngine SCSI.....Sysinfo says 1,8xx,xxx/sec


Case#3:
CF Card->CF/IDE adaptor->IDE/SCSI adaptor->alone on WarpEngine.....Sysinfo says 3,276,800/sec


And I haven't thrown my CDRW into the mix yet.....

Something seems real slow here.....Arrggh! I don't which is the best way to set this all up!:madashell:

Thanks,
Tim
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: ddniUK on November 19, 2008, 07:54:40 PM
what happens when you give it 1 LUN? This is how my system is set up.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: orange on November 19, 2008, 07:56:47 PM
I'm not sure, but changing block size might help. (if that is even possible.. there is an option for it)
The CF (at least cheap ones) are reading and writing in blocks (and that's why it does make sense to defragment  them from time to time!). if you could make the 'AmigaOS_size_of_block' same as physical, it should boost performance.

maybe I'm wrong, someone will correct me then..
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Sandman on November 19, 2008, 08:19:33 PM
Thanks for all of the replies...

I know that block size for the CF is 512 and HD is 1024 thru HD toolbox.

I haven't tried switching LUN Scan from off to on... not really even sure what this is for.

I'll probably only be using the CF card for transfering files to and from the HD so maybe I should put in on the A4000 IDE anyways.  That would eliminate the A4000's boot delay also wouldn't it?
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: alexh on November 19, 2008, 08:40:21 PM
Quote

X-ray wrote:
You got two bottlenecks

Where?

Quote

X-ray wrote:
the CF adapter

Which is just a WIRE. Obviously no bottleneck here.

Quote

X-ray wrote:
and the IDE to SCSI converter

The Acard AEC-7720U (if he's using that) has a bandwidth of at least 20Mbyte/s which is roughly 5x that of most Amiga SCSI cards. Again no bottleneck.

There will be a latency through the IDE->SCSI so if it is transferring very small files then speed will appear slower than it really is. You need a GOOD speed test to prove it. I dunno if there are any good HD speed programs on the Amiga?
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Zac67 on November 19, 2008, 09:54:49 PM
Quote
You will find that the SCSI bus will run at the same speed as the slowest scsi controller on the chain.

(assuming you meant 'scsi device' rather than 'controller)

I keep reading this from time to time - it's simply not true. You can easily hook up a very slow 2x CDROM and get 20 MB/s from a fast harddrive (wide SCSI). Slow devices won't slow down the bus at all, EXCEPT
- hooking up SE devices to an LVD bus (no LVD on Amiga however)
- while they're in use; transmitting data in a slow mode (async) occupies the bus for a fairly long time, so leaves potentially less time for using a faster mode
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: MozzerFan on November 19, 2008, 10:42:49 PM
@sandman

Only thing I can think of is that your CF card is the culprit. What brand are you using and what speed does it have?
My Sandisk Ultra II has a read speed of 10MB/s and write speed of 9 MB/s.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: lorddef on November 19, 2008, 10:58:56 PM
Quote
I dunno if there are any good HD speed programs on the Amiga?


Probably not too much point as everything is pretty slow anyway, but it'd be fun to see a port of bonnie++
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Sandman on November 19, 2008, 11:26:02 PM
The CF card that I am using is the A-Data Speedy 8GB (http://www.adata-group.com/EN/product_show.php?ProductNo=ACFCZZZBK)

It seems weird that I get the best performance with it alone on the WE SCSI first, then next alone on the A4000 IDE and worst performance on the WE SCSI along with the HD...... must be the IDE->SCSI adapter but that is rated @ 20mb/sec so I am at a loss.....
 :crazy:

Thanks for all of the replies......
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: MozzerFan on November 19, 2008, 11:27:35 PM
Quote
I dunno if there are any good HD speed programs on the Amiga?


Scsispeed from the diskspeed archive on aminet (http://aminet.net/search?query=diskspeed42) is pretty good. Also there is a diskspeed program that comes with SFS.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: alexh on November 19, 2008, 11:54:25 PM
Most old disk speed programs are useless with modern drives. Either the data never leaves the CACHE or the transfer requests are that small that latency becomes more apparent than transfer rate.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Damion on November 20, 2008, 09:17:34 AM
Quote

Sandman wrote:
Ok, here is what I got.

WarpEngine set to no delay, no LUN scan, 100ns sychronous


Synchronous jumper might be set on the WarpEngine, but you also need to use something like HDInstTools (http://aminet.net/package/disk/misc/hdinst) to set the synchronous flag on the RDB of the CF card.

Title: Re: SCSI CF slower than IDE CF...Why?
Post by: darksun9210 on November 20, 2008, 09:39:52 AM
hmmm, i dunno, i wouldn't really trust sysinfo with more convoluted setups.
especially since it rates the 60GB 1.8" drive on the IDE port of an 040 powered A1200 at 1.89MB/s :-?  :roll:

however, it does rate the CF card on the Acard scsi bridge on the scsi bus of an A530 at 3.56MB/s  :-o  :lol:

however, you should be seeing speeds approaching 9MB/s for syncro scsi opperation on a warp engine...? have you got another decent CF card you can test with?
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Sandman on November 20, 2008, 05:21:48 PM
I am starting to think that the majority of the problem is with the CF->IDE adapter as it was a inexpensive one and I know that it doesn't do DMA.

I am thinking now that it might be best to put the CF on the A4000 ide (to get rid of boot delay) and live with a slower transfer speed since I will just use it to transfer files.  Then I could put my CDRW on the SCSI->IDE adapter hooked to the WarpEngine and then have a nice, fast burner.

Sound about right?  Any other ideas appreciated....

Thanks
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: rkauer on November 20, 2008, 06:17:10 PM
 Using the CF on the IDE controller looks OK to me.

 And using the CDRW in the SCSI chain is a very good solution.

 But the SCSI>IDE bridge don't need have DMA (neither other SCSI device, for that matter), only the controller must have that capability.
Title: Re: SCSI CF slower than IDE CF...Why?
Post by: Damion on November 20, 2008, 06:59:06 PM
Quote

Sandman wrote:
I am starting to think that the majority of the problem is with the CF->IDE adapter as it was a inexpensive one and I know that it doesn't do DMA.


That could definitely be a problem! Technically, my understanding is that the Acard handles DMA with the SCSI controller, therefore whether or not the CF adapter is wired for DMA should be of no consequence. However, if I disable the DMA jumpers on my CF adapter, the A2K won't boot with either an old GVP 2000 HC+8 controller, nor the TekMagic. On the A1200 (no DMA), the systen operates the exact same regardless of the DMA jumper.

With a DMA capable CF adapter and Sandisk Ultra II cards, SysInfo speed is around 9.5 MB/sec on the TekMagic. I'd say try another adapter first, I believe even most of the cheap ones are wired for DMA nowadays.

Title: Re: SCSI CF slower than IDE CF...Why?
Post by: hardlink on November 20, 2008, 09:56:16 PM
Has anybody tried skipping IDE and testing a SCSI to CF adapter yet? I have a SCSI to PCMCIA peripheral somewhere that I can't find. With that, it is just a matter of plugging the CF card into a passive PCMCIA adapter.