Would it be possible to get in the future versions of OS 4.x Classic an option to use ZorRAM boards as part of the Fast memory pool (and not just a SWAP disk)? Is this technically possible?! Yes, I know the memory on ZorRAM is much slower than the memory on CSPPC, but each of us could then decide whether to accept this handicap or not...
Re: Option to use ZorRAM as Fast Memory?
Posted: Fri Apr 27, 2012 6:12 pm
by Calgor
A good question as apps still run out of memory even though there is plenty of Swap still available via the ZorRAM.
Re: Option to use ZorRAM as Fast Memory?
Posted: Fri Apr 27, 2012 11:00 pm
by ssolie
Gregor wrote:Would it be possible to get in the future versions of OS 4.x Classic an option to use ZorRAM boards as part of the Fast memory pool (and not just a SWAP disk)? Is this technically possible?! Yes, I know the memory on ZorRAM is much slower than the memory on CSPPC, but each of us could then decide whether to accept this handicap or not...
The team proved ZorRAM was far too slow to be used as "fast" memory so that option won't be made available.
Re: Option to use ZorRAM as Fast Memory?
Posted: Mon May 07, 2012 1:11 pm
by Gregor
ssolie wrote: The team proved ZorRAM was far too slow to be used as "fast" memory so that option won't be made available.
Is it the same with the memory on e.g. Radeon 9200, when used with Mediator in classic Amigas? Elbox have on their page a statement that part of that static memory can be used as Fast memory (and that it is very fast), but does AmigaOS 4.1 support this option? (I do not have Mediator to test that myself).
Re: Option to use ZorRAM as Fast Memory?
Posted: Mon May 07, 2012 11:30 pm
by danbeaver
I know I have the least ability to answer this question, but I going to guess:
One, you hop off the CS-PPC board to the Zorro 3 bus. Two, you hop on the Mediator "bridge board." Three, you then get on the PCI bus. Four, you then hop up to the Radeon board and finally get to the RAM.
Or: One, you hop off the CS-PPC board to the Zorro 3 bus. You then get to an actual RAM board, and access the ram.
So, I'm guessing that if the Zorro 3 bus slows down access enough that the ZorRam is too slow for OS 4.1, then Radeon RAM access will be even slower. Mind you, Elbox has completely ignored the OS 4.1 platform. As I found out, the PCI card support uses Hyperion's own drivers (NOT ELBOX's), and includes support for cards not supported by Elbox. The best anyone has heard of is Elbox's attempt at OS 4.1, is their unreleased pci.library Version 10; and it is a kludge that will not work with the OS 4.1 drivers. As I understand it, the issue for Elbox is to re-do their DMA access to conform with the OS 4.1 specs. Another guess is that this involves a complete re-write of their software. Proper support "should" cross OS platforms as long as the hardware is constant with some (i.e., JIT from PPC to 68K) backward help. The compiler doesn't care what the hardware is, code is code (well not ASM).
Blast me if I'm off base, I said in other threads, I kinda quit the hardware/software aspect of things circa 1983, and now I'm just an "end-user."
Dan
Re: Option to use ZorRAM as Fast Memory?
Posted: Tue May 08, 2012 11:09 am
by Calgor
@ Gregor
No, I do not believe there is an officially supported one. Elbox may have done something as mentioned by danbeaver, but it is not officially supported (if it exists, and then may cause problems).
@ danbeaver
Yes, logically one would think that going through the Mediator (which is connected via Zorro3 bus on big box mediators) would surely be an extra layer and therefore slower than ZorRAM. You can confirm this question yourself with bustest (in OS3.9). From memory the figures are in the same ballpark for throughput - but random access patterns etc may yield different results.
And as ZorRAM was deemed too slow, Mediator would likely likewise also be too slow (unless by some miracle its random access performance belies its throughput).
As to using Mediator graphics card RAM as Swap, I do not believe that is supported either.
Re: Option to use ZorRAM as Fast Memory?
Posted: Wed May 09, 2012 5:56 am
by danbeaver
Hi again folks!
I have those Bus numbers per Calgor's recommendations from my A4000T, CS-ppc with 128MB 60ns RAM, + 16MB motherboard RAM + Radeon 256MB RAM on the Mediator. At the end are the ROM speed and the bus test under OS 4.1 (to be complete).
PROCESSOR: 604e
EMULATED: CPU 68020/68881fpu
CUSTOM CHIPS: AA NTSC Alice (id=$0033), AA Lisa (id=$00F8)
VERSION: Kickstart version 53.25, Exec version 53.25, Disk version 53.8
LEGACY RAM: Node type $A, Attributes $703 (CHIP), at $3000-$1FFFFF (~2.0 meg)
ConfigDev structure found at location $3020
==== Board ID (ExpansionRom) information:
er_Manufacturer =2206=$89E=(~$F761)
er_Product =161=$A1=(~$5E)
er_Type =$85
(type 2 (Zorro III), size 512meg, subsize same)
(not for free list, no ROM diag vec, not chained)
er_Flags =$20
(no space preference, can be shut up)
er_InitDiagVec =$0
==== Configuration (ConfigDev) information:
cd_BoardAddr =$40000000
cd_BoardSize =$20000000 (524288K)
cd_Flags =$0 (CONFIGME bit cleared)
ConfigDev structure found at location $30C0
==== Board ID (ExpansionRom) information:
er_Manufacturer =3643=$E3B=(~$F1C4)
er_Product =16=$10=(~$EF)
er_Type =$88
(type 2 (Zorro III), size 16meg, subsize same)
(not for free list, no ROM diag vec, chained to next)
er_Flags =$30
(no space preference, can be shut up)
er_InitDiagVec =$0
==== Configuration (ConfigDev) information:
cd_BoardAddr =$61000000
cd_BoardSize =$1000000 (16384K)
cd_Flags =$2 (CONFIGME bit still set)
=======================================================================
Board + ROM (HD?) (E3B, Michael Boehmer): Prod=3643/19($E3B/$13) (@$E90000 64K)
ConfigDev structure found at location $3110
==== Board ID (ExpansionRom) information:
er_Manufacturer =3643=$E3B=(~$F1C4)
er_Product =19=$13=(~$EC)
er_Type =$D1
(type 3, size 64K, not for free list, ROM diag vec valid, not chained)
er_Flags =$0
(no space preference, can be shut up)
er_InitDiagVec =$8000
DiagCopy at =$3FFAC000
==== Configuration (ConfigDev) information:
cd_BoardAddr =$E90000
cd_BoardSize =$10000 (64K)
cd_Flags =$2 (CONFIGME bit still set)
ConfigDev structure found at location $3160
==== Board ID (ExpansionRom) information:
er_Manufacturer =4626=$1212=(~$EDED)
er_Product =23=$17=(~$E8)
er_Type =$C1
(type 3, size 64K, not for free list, no ROM diag vec, not chained)
er_Flags =$0
(no space preference, can be shut up)
er_InitDiagVec =$0
==== Configuration (ConfigDev) information:
cd_BoardAddr =$EA0000
cd_BoardSize =$10000 (64K)
cd_Flags =$2 (CONFIGME bit still set)
=======================================================================
RAM (E3B, Michael Boehmer): Prod=3643/32($E3B/$20)
(@$70000000, size 256meg, subsize autosized Mem)
ConfigDev structure found at location $31B0
==== Board ID (ExpansionRom) information:
er_Manufacturer =3643=$E3B=(~$F1C4)
er_Product =32=$20=(~$DF)
er_Type =$A4
(type 2 (Zorro III), size 256meg, subsize autosized)
(add to free list, no ROM diag vec, not chained)
er_Flags =$F1
(prefers 8-meg space, can not be shut up)
er_InitDiagVec =$3
==== Configuration (ConfigDev) information:
cd_BoardAddr =$70000000
cd_BoardSize =$8000000 (131072K)
cd_Flags =$2 (CONFIGME bit still set)
=======================================================================
PCI BOARDS:
Bus Device Funct. Manuf. Product Status
___________________________________________________
0x00 0x00 0x00 0x10EC 0x8029 working RTL8029
0x00 0x01 0x00 0x1002 0x5C63 working Radeon 9200 256MB
0x00 0x02 0x00 0x1033 0x0035 working Spider USB
0x00 0x02 0x01 0x1033 0x0035 working " "
0x00 0x02 0x02 0x1033 0x00E0 working " "
0x00 0x03 0x00 0x1274 0x5880 working SoundBlaster 128
0x00 0x04 0x00 0x1095 0x3114 working sii3114ide
Re: Option to use ZorRAM as Fast Memory?
Posted: Tue May 15, 2012 2:23 pm
by Calgor
Well can't tell if there is anything wrong with some of your addresses as you did not supply the matching showconfig output But the speeds look to be in the right ballpark.
Re: Option to use ZorRAM as Fast Memory?
Posted: Tue May 15, 2012 4:36 pm
by danbeaver
Please see addendum to my prior post.
Dan
Re: Option to use ZorRAM as Fast Memory?
Posted: Wed May 16, 2012 3:14 pm
by Calgor
Sorry, too many to check - you have some fancy showconfig output showing extra details (superfluous for the comparison). Also PCI card memory addresses are not displayed.
Many of them are correct, although I don't know why there is such a difference in the addresses of OS3.9 vs OS4.1 CSPPC fast RAM. I will trust you did it correctly as the speed numbers seem reasonable enough.
EDIT: Also, technically, I guess showconfig would be needed for both OS3.9 and 4.1 in case the autoconfig is done differently in expansion.library
The idea (as you know of course) is to see what memory address showconfig (and pciinfo) show that the card is utilising, and then run bustest within that address range.