Welcome, Guest. Please login or register.

Author Topic: Memory management of AmigaOS 4  (Read 3037 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Mr.Grabber89Topic starter

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 2
    • Show only replies by Mr.Grabber89
Memory management of AmigaOS 4
« on: September 28, 2010, 04:22:33 PM »
hello sir, i have my project in our operating system class.. we have to make a documentation about the comparison of AmigaOS 4 and Nextstep operating system... the problem is i can't find any link or information about the memory management of amigaOS 4.... please give me information about the memory management of amiga... thank you...:) :afro:
 

Offline strim

  • Jr. Member
  • **
  • Join Date: Apr 2010
  • Posts: 89
    • Show only replies by strim
    • http://c0ff33.net/
Re: Memory management of AmigaOS 4
« Reply #1 on: September 28, 2010, 05:22:45 PM »
Quote from: Mr.Grabber89;581751
hello sir, i have my project in our operating system class.. we have to make a documentation about the comparison of AmigaOS 4 and Nextstep operating system... the problem is i can't find any link or information about the memory management of amigaOS 4.... please give me information about the memory management of amiga... thank you...:) :afro:

I wish I had classes like this!

Memory management of NeXTSTEP is typical for a UNIX (with some small differences, as it uses Mach kernel - just like MacOS X). It is characterized by heavy use of MMU, virtual memory, memory protection and other goodies . This document https://users.cs.jmu.edu/abzugcx/public/Student-Produced-Term-Projects/Operating-Systems-2002-FALL/NEXTSTEP-by-Wes-Deviers-William-Pope-Jeremy-Dunn-Shaun-O'Kelley-2002-Fall.doc contains some brief introduction to NeXTSTEP memory management.

AmigaOS is a completely different beast, albeit much simpler in memory management dept. I don't know any document summarizing how it works, but you should start with Amiga ROM Kernel Reference Manuals: http://gega.homelinux.net/AmigaDevDocs/ . Information you need is scattered through various chapters. This documentation covers version 2 and 3 of AmigaOS. Keep in mind that memory management in AmigaOS 4 has improved a lot, but basic principles are the same. New features are described here: http://www.intuitionbase.com/os4features.pdf .

I think that sole reason for your exercise is to show differences between management systems where memory is protected, and where it is not.
 

Offline jorkany

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 1009
    • Show only replies by jorkany
    • http://www.amigaos4.com
Re: Memory management of AmigaOS 4
« Reply #2 on: September 28, 2010, 05:30:31 PM »
Hyperion used to have a sparse explanation on their website, but now even that has been removed. But here is a thread on the subject which might have some more information about their version of "slab allocation":
http://www.amiga.org/forums/showthread.php?t=46360

Edit: I also would like to add, you may want to find a different class or instructor if they're using OS4 as a learning example. There's a real world out there and OS4 isn't part of it.
« Last Edit: September 28, 2010, 05:32:13 PM by jorkany »
 

Offline kolla

Re: Memory management of AmigaOS 4
« Reply #3 on: September 28, 2010, 05:31:15 PM »
Quote from: strim;581758
I wish I had classes like this!


You didn't? We had MSDOS vs. UNIX - and ofcourse Minix, since the book was Tanenbaum's Operating Systems: Design and Implementation

As discussed elsewhere... crash course to operating system development :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Argo

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3219
    • Show only replies by Argo
Re: Memory management of AmigaOS 4
« Reply #4 on: September 28, 2010, 05:53:14 PM »
http://amigaworld.net/modules/news/article.php?storyid=844

Might also try contacting the devs. Never know, you might be able to get a good quote or too.
 

Offline strim

  • Jr. Member
  • **
  • Join Date: Apr 2010
  • Posts: 89
    • Show only replies by strim
    • http://c0ff33.net/
Re: Memory management of AmigaOS 4
« Reply #5 on: September 28, 2010, 06:03:20 PM »
Quote from: kolla;581760
You didn't?

No, I had classes full of crap and bullshit, like explaining which icon in M$ Visual Studio should I click. Or how great C# is. In the end I had to learn real programming (C, UNIX, AmigaOS :) ) myself. Btw. Andy's book is really nice.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Memory management of AmigaOS 4
« Reply #6 on: September 28, 2010, 06:09:05 PM »
Quote from: jorkany;581759
some more information about their version of "slab allocation"
Oh the old "slab glorification". It was so much fun reading about it back then, huge deal was made out of minor detail (it's only used to manage allocation of certain sizes).

Needless to say the truth was only revealed when some actual benchmarking was made. OS4 memory system proved to be as slow as snail.

It was adjusted later on, however, but the point is that just writing a lot of PR and using bunch of old concepts doesn't necessarily make a viable solution.
 

Offline Akiko

  • Hero Member
  • *****
  • Join Date: Jun 2002
  • Posts: 1026
    • Show only replies by Akiko
Re: Memory management of AmigaOS 4
« Reply #7 on: September 28, 2010, 06:20:53 PM »
Quote from: Piru;581764
Oh the old "slab glorification". It was so much fun reading about it back then, huge deal was made out of minor detail (it's only used to manage allocation of certain sizes).

Needless to say the truth was only revealed when some actual benchmarking was made. OS4 memory system proved to be as slow as snail.

It was adjusted later on, however, but the point is that just writing a lot of PR and using bunch of old concepts doesn't necessarily make a viable solution.



Your right on cue, let the bashing commence   :rolleyes: