Drobe :: The archives
About Drobe | Contact | RSS | Twitter | Tech docs | Downloads | BBC Micro

Confirm comment report request

jess: RISC OS has no support for memory mapping in terms of mmap() at all. Chris Williams has done some work on this, though. As did one of Dave Thomas's friends, but this was many years ago.

RISC OS's virtual memory is the most limited you can manage: in the basic sense, all it means is that logical memory addresses aren't used. For example, all WIMP programs appear at 0x8000, and they are swapped in and out by the WIMP/kernel on Wimp_Poll. With a good virtual memory system, applications can share code and data for almost free, leading to massive gains in memory efficiency. For example, look at all the programs that link to UnixLib: each program has its own copy. GCCSDK4 hopefully will help solve this problem with shared libraries. I don't know if the library gets loaded multiple times, once for each program using it, however. If this is the case, your only saving is disc space. In UNIX, the library is only loaded into memory once, but it is "mapped" into each program, so it looks like they've got their own copy, but they're actually sharing a single copy. This gives memory usage improvements, as well as improving performance as there's only one copy of the code that can go through the CPU's cache.

In summary: Virtual memory is good. Often, swap is good. The two aren't the same, and don't judge swap entirely on experiences from Windows. On UNIX, for example, the VM system will swap out data that's not been used in ages to disc, and then use the freed up memory for caching data from disc that you use often, thus actually increasing performance, not reducing it.

 is a RISC OS Userrjek on 25/7/07 6:07PM
[ Reply | Permalink | Report ]

Click on the button below to confirm you wish to flag up this comment to the website's administrators. Abuse of this service will be frowned upon and it should only be used to notify us of comments that are extremely distasteful, indecent or otherwise unlawful. If you disagree with an opinion expressed or fact stated in a comment, please take part in the debate rather than expect it to be removed.

Return to the drobe.co.uk front page

Details

Reporting user / IP: / 3.85.214.0
Comment GID: 22851
Timestamp: Wed, 16 Oct 2019 06:49:56 +0000

Search the archives

Today's featured article

  • Social networking websites and RISC OS
    lol omghi2u r u on faceb00k yet??
     4 comments, latest by cables on 12/9/07 12:51PM. Published: 9 Sep 2007

  • Random article

  • Iyonix 26 bit emulator in development
    "omg, omg 26bit emulator on a 32bit system"
     9 comments, latest by ksattic on 23/10/02 7:43AM. Published: 20 Oct 2002

  • Useful links

    News and media:
    IconbarMyRISCOSArcSiteRISCOScodeANSC.S.A.AnnounceArchiveQercusRiscWorldDrag'n'DropGAG-News

    Top developers:
    RISCOS LtdRISC OS OpenMW SoftwareR-CompAdvantage SixVirtualAcorn

    Dealers:
    CJE MicrosAPDLCastlea4X-AmpleLiquid SiliconWebmonster

    Usergroups:
    WROCCRONENKACCIRUGSASAUGROUGOLRONWUGMUGWAUGGAGRISCOS.be

    Useful:
    RISCOS.org.ukRISCOS.orgRISCOS.infoFilebaseChris Why's Acorn/RISC OS collectionNetSurf

    Non-RISC OS:
    The RegisterThe InquirerApple InsiderBBC NewsSky NewsGoogle Newsxkcddiodesign


    © 1999-2009 The Drobe Team. Some rights reserved, click here for more information
    Powered by MiniDrobeCMS, based on J4U | Statistics
    "The original entry in the guide described VA_RPC as ARMless, now it's been updated to Mostly Harmless"
    Page generated in 0.0394 seconds.