Amiga.org
Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: Damion on October 29, 2012, 01:30:29 AM
-
Recently picked up a 4091 for my A4K, and was wondering what type of performance this card is capable of. I know it's 10 MB/s in theory, but has anyone achieved anywhere near that?
Here's the full story (clipped from my similar thread over at EAB):
Hello,
Can anyone confirm a working fast synchronous mode on their 4091?
I recently found a DKB Rev B board (40.13 ROM). Synchronous mode yields ~4.4 MB/s, 2.6 MB/s asynchronous. These exact drives do just under 10 MB/s on my TekMagic 2060 (same NCR controller).
The "fast sync" mode, which should effectively double the raw transfer rate, doesn't seem to work - the dipswitch on the rear has no effect whatsoever.
Hardware is an A4000 with CSMK2 '060.
My thoughts so far:
1. Maybe the fast sync mode never worked on the 4091
2. The ROM code has some problems with the '060
Apparently, 9 MB/s or so is doable on the similar 4000T scsi, so I'm wondering if the 4091 ROM was simply never finished. The 4000T at least seemed to have several updates to its scsi device over the years.
Any ideas? Does anyone happen to have the older ROM code (40.9) laying around?
Otherwise, the card seems to work great... just the lack of a working fast sync mode.
-
Interesting issue. I wonder if you could use the 4000T SCSI patches on the 4091 driver...
-
Recently picked up a 4091 for my A4K, and was wondering what type of performance this card is capable of. I know it's 10 MB/s in theory, but has anyone achieved anywhere near that?
Here's the full story (clipped from my similar thread over at EAB):
Otherwise, the card seems to work great... just the lack of a working fast sync mode.
Long ago i used a Commodore version of the 4091 with rev 7 roms and recall getting around 8MB/s off the drives i had at the time. Not sure if there were any differences in the DKB version since i have never had them side by side.
Termination proper? good cable etc?
You are using a buster11 in the machine right?
Mech
-
Interesting issue. I wonder if you could use the 4000T SCSI patches on the 4091 driver...
Just for kicks, I tried installing a more recent version of the 4000T NCRscsi.device in the flashrom of my DENEB. It shows up as resident, but doesn't override the ROM that's physically on the 4091.
I think I'll fire up REMUS and burn a 27C256 for the 4091. I'd be _shocked_ if it worked, but I suppose it's worth a shot... :P
-
The warpscsi.device from the samecalled turboboard connected to a uwscsi hd achieved 9.2 mb/s on my 68040 a4000. Dont have experience with 4091 though...
-
Well, looks like there aren't any patches for the 4091. I tried burning a ROM for the 4091 with the early 4000T NCRscsi.device, with the predictable result of nothing happening. :) Looks like 4.5 MB/s is the best it's capable of, at least with my '060 card.
The warpscsi.device from the samecalled turboboard connected to a uwscsi hd achieved 9.2 mb/s on my 68040 a4000. Dont have experience with 4091 though...
That's about what I get on my TekMagic, and was hoping for similar performance with the 4091. (Bought the 4091 after buying a Fastlane, which sadly arrived broken.) I'd stick with my DENEB, which works great... unless I attempt copying files between devices on the DENEB, then I get constant read errors.
Anyone have an old 4091 40.9 ROM they wouldn't mind parting with?
-
Well, looks like there aren't any patches for the 4091. I tried burning a ROM for the 4091 with the early 4000T NCRscsi.device, with the predictable result of nothing happening. :) Looks like 4.5 MB/s is the best it's capable of, at least with my '060 card.
That's about what I get on my TekMagic, and was hoping for similar performance with the 4091. (Bought the 4091 after buying a Fastlane, which sadly arrived broken.) I'd stick with my DENEB, which works great... unless I attempt copying files between devices on the DENEB, then I get constant read errors.
Anyone have an old 4091 40.9 ROM they wouldn't mind parting with?
I have a few of these cards and I never got 10MB/s from them. I think I got about 6-7MB/s with a SCSI-2 7200RPM Cheetah HD. Make sure you turn on Synchro mode and that its properly terminated.
Do you have the 40.13 ROM update for this card? I have a few of them. Also have a 40.9 if you want one.
-
Even if the SCSI hard drives and NCR SCSI controller can do 10MB/sec it's not realistic to expect that kind of performance from Zorro3 DMA.
Super Buster is a "Bottleneck" which limits the band with of individual Zorro bus masters for the benefit of all bus masters... and if this weren't enough Zorro3 bus arbitration runs at the good old Zorro2 clock speed of 7 MHz.
In fact, most Zorro3 slave cards which don't have to arbitrate the bus barely manage to achieve 10MB/sec!
-
Thanks for the replies!
I figured it might be unrealistic to expect similar performance as accelerator SCSI via the Zorro bus. The Fastlane is reported to do up to 8 MB/s, but I believe it also eats more CPU. I've also found some info buried in the usenet archive indicating that the 4091 software wasn't fully optimized before C= tanked, and fast synchronous mode wasn't yet working. :-o Anyhow, filesystem operations are just as fast as my TekMagic, and RSCP indicates it leaves just over 90% CPU free during the benchmark - compared to 98% on the TekMagic, so again, not too bad for Z3 DMA.
Tj - sending you a PM buddy, thanks for the offer. :pint:
-
http://www.amiga-hardware.com/showhardware.cgi?HARDID=1162
The A4091 requires a revision 11 Buster, which Commodore supplied loose with the card
I do not have a 4091
-
Just a few final notes on this (and a big ty to Tj for sending me the 40.9 ROM!). I found some info buried in the usenet archive from Dave Haynie, which essentially mirrored what was written above by SpeedGeek. If the 4091 was able to do anywhere near 10 MB/s over Z3, it would completely hog the bus and lock out the rest of the system from doing anything else. This is exactly what the Fastlane does to achieve its 7-8MB/s, as I found out while comparing the two controllers with RSCP.
A snippet from Haynie's usenet post:
The A4091 tries not to saturate the bus for extended periods
of time. In theory, the A4091 could take the bus and hold it for
seconds with a really fast drive. That would cause real problems for
any programs, serial bus interrupts, etc. So the A4091 tries to be
nice about things and gives the CPU some time on the bus, even when
SCSI can go about as fast as the Zorro III bus.
edit: OK, the Fastlane hogs the CPU in Buster 9 mode, some 20% free at 5MB/s and none free at 6-8MB/s. In Buster 11 mode, transfer rate and free CPU appear roughly equivalent to the 4091. Unfortunately, Buster 11 mode is unreliable here and hangs my system(s) after a minute or two.
Seems the solid 5MB/s of the 4091, while leaving over 90% CPU free, isn't so bad after all. :pint:
-
You should do some tests of the A3000 SCSI.
I conducted extensive timing tests many years ago and the A3000 onboard SCSI rawked hard.
Unfortunately I don't remember the exact speeds I got but it was something like:
A3000 SCSI 25Mhz 030 cpu usage during HD use: 2%
A4000 IDE 25Mhz 040 cpu usage during HD use: 98%
A3000 was at least 2x the speed of my A4000 at loading things, even though the A3000 was using an older controller and an older hard drive.
It might have been 3x the speed... I just can't remember... tooo many years ago.
I remember that it was no problem at all to burn CDs on the A3000. No buffer underflows. Everything geat. In spite of the A3000 having a CPU that was 3x slower than the A4000.
-
It's been a while, but I remember 4-4.5 MB/s with very little CPU use. Filesystem operations with PFS3 were really quick, too, not far off from my TekMagic or even a little better.
-
Does the bus speed mean that much to what you do? Could you use a UWSCSI controller instead? A USB external drive gets 5 MB/s on a Deneb, would that help you out, or a FastATA card with one of the upper range PIO modes?
-
Hi Dan,
Does the bus speed mean that much to what you do? Could you use a UWSCSI controller instead? A USB external drive gets 5 MB/s on a Deneb, would that help you out, or a FastATA card with one of the upper range PIO modes?
Actually, the performance of the 4091 is more than enough for what I need to do (casual tinkering, games, demos, etc). Filesystem operations are just as zippy as my accelerators with SCSI, so the system feels similarly responsive. And the CPU use is negligible compared to IDE, or even the Fastlane. The real challenge here was simply figuring out whether or not the 4091 was performing at its best, which (tinkering with the hardware) accounts for a majority of the fun for me. An MK3 with UWSCSI would be ideal, but maybe too easy... LOL!
I have a DENEB installed, it's a nice, useful piece of hardware. Unfortunately I had one major problem - read errors when transferring files between devices on the DENEB. For example, copying MP3s between a flashdrive and the internal storage inevitably resulted in an unrecoverable failure. I was unable to resolve this after many countless hours trying, and could replicate the fault on a number of different systems (2000, 3000 and 4000) and hardware/software configurations. Copying between accelerator SCSI (or internal IDE) and the DENEB worked fine. Accelerator SCSI wasn't an option on my A4K/CSMK2, since it's clocked at 66MHz.
Also - CPU usage with the DENEB in DMA mode is similar to the Fastlane; it sacrifices quite a bit in that department for the sake of a higher transfer rate. This also explains why the DENEB works in DMA mode with Buster 9 in conjunction with the Fastlane and its Buster 9 "workaround" - there really isn't the same kind of efficient DMA going on like you have with the 4091 or accelerator SCSI... But hey, it's potentially faster, more compatible, and at least it works!
I have to say I'm 100% satisfied with the current setup, MK2 Cyberstorm@66MHz, DENEB + Melody 1200 Pro, A4066 ethernet, and the 4091. (The 4091 has an AztecMonster SCSI ->CF adapter and 16GB SanDisk onboard.) I've successfully transferred a ton of files between the 4091 and DENEB, and had the system up for a few days now with no crashes or resets. Aside from easy USB access, flashrom for custom kickstart+modules, and providing a clockport for the Melody, the DENEB also serves an additional useful purpose: without it, the 4091 refuses to see attached drives so long as the ethernet board is installed. Plop in the DENEB, and everything works just fine. :pint:
You should do some tests of the A3000 SCSI.
Incidentally, I did a bit of that this evening, with both the stock '030 and a few different accelerators in the mix. I get 3.8 MB/s from an old Quantum Fireball with some 80% CPU free. The Fastlane in the same setup will do 7 MB/s (with a fast enough drive), but it eats all available CPU time. Buster 11 mode (which, btw, works reliably only on my A3000 sans accelerator) yields ~5 MB/s and still sucks massive CPU.
-
I guess with the Fastlane saturating the internal bus (including Z3 overhead from Buster) it just stalls the stock CPU. An accelerator board with RAM might solve this problem. One with onboard SCSI could boost SCSI performance significantly but there are only a few fast-wide and ultra-wide adapters around.
-
I guess with the Fastlane saturating the internal bus (including Z3 overhead from Buster) it just stalls the stock CPU.
Makes sense, the CPU is locked out rather than being utilized, as the SCSI controller is still doing all the work. So it's still technically DMA (if I have that correct).
An accelerator board with RAM might solve this problem.
When the Fastlane's Buster 11 mode works long enough to run RSCP, it does perform about as well as the 4091, even a touch better. Problem is it locks up on both the 3000 and 4000, with several different accelerators, unless the datacache is disabled - which then cuts CPU availability almost back the levels of Buster 9 mode. Regardless, 7 MB/s on a stock 3000 over Zorro isn't too shabby, IMHO.
-
Regardless, 7 MB/s on a stock 3000 over Zorro isn't too shabby, IMHO.
True.
The problem with adding accelerator RAM may be that CPU caching breaks data integrity. Since the CPU then lives on another bus apart from mainboard RAM it can't see (bus snooping) what addresses are written to by DMA - stale cache entries need to be invalidated.
This is not a problem which can't be solved (through proper OS and driver support or clever driver support w/o the OS) but it's unsolved on the Amiga afaik. :( The only workaround is to turn off caches altogether (ouch) or flush caches after each DMA operation (a bit less painful but still). :-/
-
Its not hard to fix any broken drivers as long as you find a programmer who is interested in the subject and can get the source code.
You could prob even get RedSkullDC to do it without source code.
RedSkullDC> I donno anything about hard drive drivers.
Don't worry :)
You just need to flush the cache after loading some DMA data. Problem solved. Presto! (That is the simple explanation). I think there may be a fancier more elegant thing you can do with the MMU but this is outside my realm.
Thor can explain anything about these cache coherency problems to any competent haxx0r and we can get this problem fixed. Thor hangs out on the Natami forums and is easily reached there. Put "Cache Coherency" or "MMU" in the title of your forum post and he is 512% likely to read it and teach you all the magic spells u need to know. :)
-
Damion,
I get the same fornicating errors on large transfers from a. USB thumb device; I have tweaked the Poseidon settings to no avail. I think the Fat95 file system has issues with thumb drives on large transfers. Small chunks go fine; DOS copying does better than WB, and so on. Of I format the thumb in an FFS or so and use it like an Amiga drive, then I get better transfers before errors. What I do not understand is how CF cards (at least everyone I've tried) work so dern well in FAT mode, Amiga modes and over SCSI to card reader, USB to card reader and IDE connections. I get errors on large transfers on the USB bus, but only rarely on DOS shell copies.
When I use an external USB HDD I never see any problems.
"There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy. "