04 February 2017, 01:17 | #61 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
RISC-V starting with (an optional) code compression is an improvement over most of the RISC compression methods which need new modes like Thumb 2 and SPARC16. These RISC compression methods may give better code density but is it worth the trade off of fewer available registers (usually 8) and reduced instructions and functionality requiring more instructions and more cache/memory accesses? They give many of the handicaps of the original x86 ISA and with increased complexity from multiple modes. Amazingly, even with all these handicaps of the compressed ISAs, they still commonly provide a performance boost and power consumption savings (RISC lack of code density is that much of a handicap). RV32C (RISC-V 32 bit ISA with code compression) avoids most of the problems as the 32 bit encodings can be used when needed and the more efficient and common 16 bit encodings when possible. This always gives better performance both because of less ICache misses and because using the RV32C compression gives a performance boost by bringing PC relative branches into the rather limited range of the RISC-V branch instruction (RISC-V is a simplistic and spartan ISA). So why not use the compression all the time instead of making it optional? Some embedded processors may need a simple and small CPU and they use only small code where code density doesn't matter. Sure, but by having it optional, you have duplicate functionality and wasted encoding space when the compression is used (there is always a 32 bit equivalent of every 16 bit instruction). Now if you took away the duplicate functionality which wastes encoding space you would have a 16 bit base variable length encoding which resembles and has the efficiency of a well encoded 16 bit variable length encoded CISC CPU. Ok, the 68k isn't the most efficiently encoded 16 bit variable length ISA but I bet it is still good enough to beat the RV32C in code density . The biggest advantage I see of RISC-V is the open and extendable ISA which leaves plenty of customizable encoding space free (the free space does reduce the code density but still beats most other RISC ISAs). I expect it will be limited to embedded uses with too many incompatible custom variations (like ARMv7) to build a useful software base. Ironically, the author complained about ARMv8 standardizing their ISA too much and not allowing customizations. RISC-V is too simplistic with too many options while ARMv8 is too robust (fat) with out enough customizability. I would expect ARM to have the edge in the battle because it has a name in embedded "power efficient" processors even though ARMv8 processors are likely to be much less power efficient with the ARMv8 ISA. It is interesting that the PPC has fallen so far that it was not even listed in the benchmarks. I guess it is becoming difficult to find a PPC for testing without paying 10x what a PC costs. RIP PPC. Well, it is open and customizable but at the expense of standardization. I suppose it would be possible to create a standard ISA extension(s) for the base RISC-V ISA but it would take a big name to do it and most big businesses want to make their ISA proprietary. A standardized ISA allows economies of scale to produce cheaper processors but then the competition can also buy those processors. It would be great if a bunch of savvy smaller businesses would adopt good standards which would allow them to compete with the big boys but then if they were that smart they would probably already be a big boy . |
|
02 May 2017, 09:20 | #62 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
I've just got a report that my programs work wrong with A500 with 68010, 2meg chip and 8meg fast. It skips timer and gives always about 8 sec. for 3000 digits - it should be more than 150 sec. The standard A500, A1200, even A4000 work fine with pi-spigot... What can cause the issue? Any suggestions?
http://www.amibay.com/showthread.php...-run-it-for-me! http://eab.abime.net/showthread.php?t=82392 BTW Is it exactly known how AllocMem works? What kind of memory it try to allocate at first fast or chip? Thanks in advance. Last edited by litwr; 02 May 2017 at 09:20. Reason: typo |
02 May 2017, 11:03 | #63 | |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,635
|
Quote:
I think older kickstarts (1.2) have an issue where they don't bind fake fast at a higher pri than chip, which means you could get chip where you wouldn't expect it. |
|
02 May 2017, 13:40 | #64 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
Thank you. Is there a way to load program from CLI directly into the fast memory?
|
02 May 2017, 13:49 | #65 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,192
|
If the memory hunks in the program specifically are marked to load into Fast RAM, they will. Usually those hunks are marked for any RAM so it would be able to load into Chip RAM if there is no Fast RAM.
|
02 May 2017, 21:29 | #66 |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Yes, by specifying a fast memory flag in the section statement. This adds the flag to the hunk corresponding to the section statement. This will also cause the program to fail on Amigas without fast memory so I don't recommend it.
|
03 May 2017, 09:22 | #67 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
A lot of thanks for help.
Excuse me I missed a lot with Amigas. How exactly could it be made? What command to use? etc Last edited by litwr; 03 May 2017 at 19:05. |
03 May 2017, 10:38 | #68 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,192
|
The memory flags are part of the program you are running. It is not a CLI command.
|
03 May 2017, 19:02 | #69 | ||
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
Quote:
|
||
03 May 2017, 19:11 | #70 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
Thanks. It looks not easy but I am going to try. I am curious how much faster becomes pi-spigot with A500/1200 using fast RAM? Any estimation? 10% boost makes again 68020 faster than 80386.
|
03 May 2017, 19:22 | #71 | |
Banned
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
|
Quote:
http://amigadev.elowar.com/read/ADCD.../node02A8.html Adding fast memory to an Amiga without it will make a big difference in performance. It can double the performance depending on many factors. Compare a stock Amiga 1200 to one with a fast memory expansion here. http://amiga.resource.cx/perf/aibb.p...name&ref=a1200 Last edited by matthey; 03 May 2017 at 23:40. |
|
05 May 2017, 09:04 | #72 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
Thank you very much for this valuable information. The results for Blizzard 1200, Bio-Con 1208MA, DKB 1202, ... show that 68020 is much faster than 80386. Amiga with chip RAM only reminds me another Commodore. Commodore +4 uses normally only 63% of its CPU power but it may use almost 100% of it with screen off mode. Is it possible to do the same trick with Amiga? To disable video and gain more speed?
I'm also curious do Macintosh II or LC utilize 68020 power so poor as the base Amiga 1200? There is the same question for Atari 68030 based systems... |
05 May 2017, 11:01 | #73 |
Total Chaos forever!
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,192
|
Disabling the display DMA is possible but I think dropping the screenmode to 3 bitplanes may speed up enough to do lots of good already.
|
05 May 2017, 18:10 | #74 |
Banned
Join Date: Jan 2012
Location: Serbia
Posts: 275
|
|
05 May 2017, 19:33 | #75 | |
Amigan
Join Date: Feb 2012
Location: London
Posts: 1,316
|
Quote:
Graphics card users can set a switch that disables native video when not in use. |
|
05 May 2017, 19:38 | #76 |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
|
10 May 2017, 03:24 | #77 | |
Banned
Join Date: Jan 2012
Location: Serbia
Posts: 275
|
Quote:
Ridiculous RGB monitors unsuitable for any long time work while with ST and Aladin you get full Mac emulator back in 1986/7. |
|
10 May 2017, 11:42 | #78 | |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
Quote:
BTW Excuse me a slightly ignoramus question but I am curios for it for about 25 years. Why fast RAM was so rare? Did it require more expensive RAM chips? More special circuits? I failed with fast RAM even with FS-UAE. The emulated A500 with fast RAM shows the same speed with my demo as without fast memory at all, indeed, I clicked on FastMemFirst icon at first. The emulated A1200 doesn't even show the presence of fast RAM. I use 'fast_ram = 2048' configuration option. Could anybody provide any explanations to these facts? Please help. EDIT. Sorry, I had an error. I had to use 'fast_memory' instead of 'fast_ram'. So the last question is closed. EDIT. I made some successful tests with FS-UAE emulator with fast RAM. They show that fast RAM gives about 9% speed boost for A1200 and only 2% for A500. It is much less than the expected 100%. However A1200 with fast RAM becomes slightly faster than 386DX @12.5 MHz - http://litwr2.atspace.eu/pi/pi-spigot-benchmark.html Last edited by litwr; 10 May 2017 at 12:34. |
|
11 May 2017, 11:41 | #79 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,347
|
If fast RAM gives such a small boost, your code isn't very RAM-intensive.
|
15 May 2017, 08:02 | #80 | |
Registered User
Join Date: Mar 2016
Location: Ozherele
Posts: 229
|
Quote:
It is a quite standard integer math calculation with an array. I assume that a program placed to fast RAM should be faster than a program in chip RAM. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maniac Mansion Demo Disk - Onslaught releases the demo of a classic for C64! | Neil79 | Retrogaming General Discussion | 0 | 16 January 2015 10:40 |
Yet another "plz help me find a demo" thead! AGA demo w/ texturemapped building | ruinatokyo | request.Demos | 1 | 26 September 2013 16:29 |
Jason Lowe and The Mathematical Reflex Test | jedk | Retrogaming General Discussion | 5 | 30 January 2013 02:13 |
Old Amiga Demo Wanted -- Music Track "The last ninja demo" | scribbleuk | request.Demos | 13 | 23 April 2012 13:35 |
CU Amiga #75/Simon The Sorcerer Demo + CU Amiga #99/Amazon Queen Demo | MethodGit | request.Old Rare Games | 12 | 16 February 2004 17:16 |
|
|