Welcome, Guest. Please login or register.

Author Topic: Amiga's kernel  (Read 5064 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline obscurepanicTopic starter

  • Jr. Member
  • **
  • Join Date: May 2009
  • Posts: 52
    • Show only replies by obscurepanic
Amiga's kernel
« on: July 18, 2009, 01:09:34 AM »
In Wikipedia, AmigaOS has an atypical microkernel.

http://en.wikipedia.org/wiki/Amigaos

As I googled it deeper, I bumped into an website and saw a comment:

Quote
AmigaOS is a beast on its own. Yes it was designed like a microkernel, with each device and filesystem having their own thread (task), but it doesn't actually have any enforced boundary between userland and kernel land, nor memory protection, which greatly lowers the latency. It's like a single kernel process running each app as a different thread in the kernel.


http://www.haiku-os.org/community/forum/haiku_kernel_architecture_questions_0

How does the kernel really work in Amiga vis-a-vis its architecture?
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Amiga's kernel
« Reply #1 on: July 18, 2009, 06:53:17 AM »
Quote from: obscurepanic;516010
In Wikipedia, AmigaOS has an atypical microkernel.

http://en.wikipedia.org/wiki/Amigaos

As I googled it deeper, I bumped into an website and saw a comment:



http://www.haiku-os.org/community/forum/haiku_kernel_architecture_questions_0

How does the kernel really work in Amiga vis-a-vis its architecture?


The quote you have from Wiki/google, just about sums it up. What is your question exactly?

Offline obscurepanicTopic starter

  • Jr. Member
  • **
  • Join Date: May 2009
  • Posts: 52
    • Show only replies by obscurepanic
Re: Amiga's kernel
« Reply #2 on: July 18, 2009, 11:30:04 PM »
Quote from: bloodline;516026
The quote you have from Wiki/google, just about sums it up.


You mean an application on AmigaOS act like a minicomputer on its own?

Quote
What is your question exactly?


How AmigaOS' architecture and kernel really works. I'm not too familiar with Amiga, so I was curious. Even the previous example quote was a wee bit to understand.

Why being atypical? No huge difference between the kernel and userland? What points are very different from a generic UNIX monolithic kernel?

Thank you. :)
 

Offline the_leander

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3448
    • Show only replies by the_leander
    • http://www.extropia.co.uk/theleander/
Re: Amiga's kernel
« Reply #3 on: July 19, 2009, 04:14:15 AM »
Whilst no expert on the subject, you wouldn't go far wrong in looking into things like AmigaOS's lack of memory protection to begin with.

As for kernel comparasons, you might be better off comparing Exec to L4 or QNX or Minix or even Hurd.
Blessed Be,
Alan Fisher - the_leander

[SIGPIC]http://www.extropia.co.uk/theleander/[/SIGPIC]
 

Offline krashan

  • Sr. Member
  • ****
  • Join Date: Jan 2003
  • Posts: 254
  • Country: pl
  • Thanked: 1 times
  • Gender: Male
  • Hardware designer and programmer
    • Show only replies by krashan
    • Personal homepage
Re: Amiga's kernel
« Reply #4 on: July 19, 2009, 08:24:06 AM »
Quote from: obscurepanic;516071
How AmigaOS' architecture and kernel really works. I'm not too familiar with Amiga, so I was curious. Even the previous example quote was a wee bit to understand.

The thing is rather simple. From unix point of view the whole AmigaOS including all running applications, is a single process. Every application and all asynchronous system services are threads of this process. Then all these share a single address space. That is why there is no separation between so called "kernel" and "userland".

Advantages of this approach are speed and low demand for system resources (CPU time, memory). The main disadvantage is that one badly coded (or intentionally malicious) application can drag down the whole system.

Another difference is very high modularity. The "real" kernel is very small, below 50 kB for 68k machines. Then all higher layer system services including all device drivers, filesystems etc. are external modules. For classic Amigas a few most important service modules have been placed in ROM memory (so called Kickstart), modern ones (+ clones) load all from disk. These modules, called libraries use specific form of runtime linking, different than *.so or *.dll, they use jumptables to defined API vectors, so no symol resolving happens at module load.
 

Offline AJCopland

Re: Amiga's kernel
« Reply #5 on: July 19, 2009, 11:38:09 AM »
An interesting statement on that WikiPedia entry : "The current holder of the Amiga intellectual properties is Intel."
It's not referenced so no idea of its validity, typical wikipedia entry really.
Be Positive towards the Amiga community!
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Amiga's kernel
« Reply #6 on: July 19, 2009, 12:30:11 PM »
Quote from: obscurepanic;516071
You mean an application on AmigaOS act like a minicomputer on its own?



How AmigaOS' architecture and kernel really works. I'm not too familiar with Amiga, so I was curious. Even the previous example quote was a wee bit to understand.

Why being atypical? No huge difference between the kernel and userland? What points are very different from a generic UNIX monolithic kernel?

Thank you. :)


AmigaOS is like a microkernel, in as much as everything is modular, sitting on top of a simple memory/process/interrupt management core... but Amiga OS doesn't suffer the performance penalty of other microkernels because it has no security at all.

A microkernel protects the core from all the other parts of the system, so you can in theory replace/upgrade/restart/break any part of the system without taking down the rest of the system, this is the power of a microkernel...
AmigaOS doesn't and thus is atypical (by missing out on this one key advantage of a microkernel, the trade off being that AmigaOS is faster and more memory efficient than regular microkernel) .

Offline DiskDoctor

  • Sr. Member
  • ****
  • Join Date: Jan 2009
  • Posts: 308
    • Show only replies by DiskDoctor
Re: Amiga's kernel
« Reply #7 on: July 19, 2009, 01:13:06 PM »
Quote from: bloodline;516106
AmigaOS is like a microkernel, in as much as everything is modular, sitting on top of a simple memory/process/interrupt management core... but Amiga OS doesn't suffer the performance penalty of other microkernels because it has no security at all.

A microkernel protects the core from all the other parts of the system, so you can in theory replace/upgrade/restart/break any part of the system without taking down the rest of the system, this is the power of a microkernel...
AmigaOS doesn't and thus is atypical (by missing out on this one key advantage of a microkernel, the trade off being that AmigaOS is faster and more memory efficient than regular microkernel) .


As a matter of fact I see no harm in denying this feature.  Actually I don't think the harm in question is even comparable in scope to that one while using MSIE on an unprotected and badly secured/managed Windows desktop (which is roughly 80% world's personal computers' installation scheme).  Besides making any application registration layer (I mean certificates) solves the problem thoroughly.  All bad things we can see now is just an outcome of tremendous efforts of porting/writting apps for this very system.

I saw both Amiga and Morphos on local fairs yet in February and I was astonished by their performance.  Second time in my life.  First time was when I saw A500 back in those days.  Amiga nowadays is the only part of computer world which doesn't follow the Moore's law.  You can buy underpowered Sam and do whatever AOS is designed for and do it efficiently.  No matter the time or system (or processor if we're talking mobile), you always have to wait for everything.  Such a scalable system as AOS has a bright future I think, but maybe in 5-10 years.  Simple justification - computer OSes (mainly proprietary) appear in practically all digital equipment, get a 15$ mp3player and you'll see the market I mean.  Such systems like WinMobile, Symbian, even Android, WebOS are to fat for them already.  There goes the Amiga - that's how I see it and why I adore it.  But of course I prefer Amiga as a desktop :lol:
Was: Mac Mini PPC running MorphOS 2.4
Now: Amiga Forever 2010 with AmiKit and AmigaSYS
Not used: Icaros Desktop 1.2 (reason: no wifi)
Planned soon: an OS4 system
Shortly then: a MOS notebook (wifi is a must-have)
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: Amiga's kernel
« Reply #8 on: July 19, 2009, 01:52:13 PM »
Quote from: DiskDoctor;516112
No matter the time or system (or processor if we're talking mobile), you always have to wait for everything.



I agree.  Modern computing is one step forward, 2 steps back: your hardware specs get higher and higher but it takes more and more time to do the simple things
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12114
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Amiga's kernel
« Reply #9 on: July 19, 2009, 02:05:40 PM »
Quote from: stefcep2;516116


Quote

Originally Posted by DiskDoctor  
No matter the time or system (or processor if we're talking mobile), you always have to wait for everything.

I agree.  Modern computing is one step forward, 2 steps back: your hardware specs get higher and higher but it takes more and more time to do the simple things


Rubbish, Modern computing is getting better exponentially!

Offline the_leander

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3448
    • Show only replies by the_leander
    • http://www.extropia.co.uk/theleander/
Re: Amiga's kernel
« Reply #10 on: July 19, 2009, 02:37:25 PM »
Quote from: bloodline;516118
Rubbish, Modern computing is getting better exponentially!


Shhh, don't tell them that, I mean afterall, running high end OS's on hardware way below the minimum spec is totally a valid comparason. :lol:

Yes stefcep2, that was aimed squarely at you.

Now, if you don't mind I'm going to go back to transcoding and editing some HD video.
Blessed Be,
Alan Fisher - the_leander

[SIGPIC]http://www.extropia.co.uk/theleander/[/SIGPIC]
 

Offline stefcep2

  • Hero Member
  • *****
  • Join Date: Sep 2007
  • Posts: 1467
    • Show only replies by stefcep2
Re: Amiga's kernel
« Reply #11 on: July 19, 2009, 03:13:40 PM »
Quote from: the_leander;516124
Shhh, don't tell them that, I mean afterall, running high end OS's on hardware way below the minimum spec is totally a valid comparason. :lol:

Yes stefcep2, that was aimed squarely at you.

Now, if you don't mind I'm going to go back to transcoding and editing some HD video.



I'll just have to upgrade my c2d 2.6 ghz with 4 gig ram and 512mb nvidia card, I suppose..
 

Offline DiskDoctor

  • Sr. Member
  • ****
  • Join Date: Jan 2009
  • Posts: 308
    • Show only replies by DiskDoctor
Re: Amiga's kernel
« Reply #12 on: July 19, 2009, 03:28:45 PM »
Quote from: bloodline;516118
Rubbish, Modern computing is getting better exponentially!


True but as long as you're getting most recent HW spec on each major release.

Besides I saw nothing for years, except for OSX release that is surpassed by Windows until now.

Nothing new.

WinXP for example was a polished version of W2K, with much less dll-driven exceptions.  W2K was the eventually stable (beta) version of Win95, WinNT actually.  Nothing happened until Vista, actually Vista was scr*wing up drivers policy and ripping off OSX UI.  I just got myself WIn7 which I find impossible to distinguish from Vista, jsut like 98 and ME. So from my perspective, more progress happened in Amiga world than in Windows world in the time of 1995-2009.

You say better graphics, cheaper RAM, faster and multi-core processors.  So what?  What for?  To make a new system supported?  Bollocks!  This is not a progress anymore - it is a scale effect lobbed by vendors to stabilize their income from selling HW.

Linux on Kubuntu example - nothing changed between 8 and 9 release, just most stuff is broken now since it's "just" released version.  What change might one expect from Linux anyway?  New gcc?  More Windows resemblance?  More ports, rip offs?  Drivers?  DivX codecs?

Macs allright, many new things have been appearing since 10.0 OS.

But those Windows issues for example - this is FMCG-like actions just to preserve clients from running into Macs, efficient actions though.

OK bloodline if you mean Macs fine, I agree it makes the whole thing undoubdetly better.  But keep in mind it would be 5% population and zero % office population.  These people ought to see hardly any change for last several years, if non-mac users report any progress it means they are properly targeted by MS marketing or misled by Linux mimics.

One more thing - I'm talking Desktop area only, servers - different story.  But Amiga is a desktop system, right?  And mobile for a change, as an ex-Palm owner all I can see now in smart mobiles is reverse-engineering the Palm world apps dated approximately on 2001/02 with everything slowed down by 5 x with 10 x better processor, more RAM, more etc.  So this is going down, not up.

This whole thing is embarrasing.  If like Databases you're talking - fine, the progress is huge.  But excluding servers and desktop macs there is NO actual (by a measure of computer science) progress here.

Sorry I must be blind or completely miseducated etc.  Or at least tasteless, aren't I?
Was: Mac Mini PPC running MorphOS 2.4
Now: Amiga Forever 2010 with AmiKit and AmigaSYS
Not used: Icaros Desktop 1.2 (reason: no wifi)
Planned soon: an OS4 system
Shortly then: a MOS notebook (wifi is a must-have)
 

Offline the_leander

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3448
    • Show only replies by the_leander
    • http://www.extropia.co.uk/theleander/
Re: Amiga's kernel
« Reply #13 on: July 19, 2009, 04:51:30 PM »
Quote from: stefcep2;516129
I'll just have to upgrade my c2d 2.6 ghz with 4 gig ram and 512mb nvidia card, I suppose..


Was it not you who was complaining of menu jerkiness with a Radeon 9200?

/cba to check the thread in question
Blessed Be,
Alan Fisher - the_leander

[SIGPIC]http://www.extropia.co.uk/theleander/[/SIGPIC]
 

Offline the_leander

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 3448
    • Show only replies by the_leander
    • http://www.extropia.co.uk/theleander/
Re: Amiga's kernel
« Reply #14 on: July 19, 2009, 05:03:49 PM »
Quote from: DiskDoctor;516132
words


Uhuh...

Quote from: DiskDoctor;516132

You say better graphics, cheaper RAM, faster and multi-core processors.  So what?  What for?  To make a new system supported?  Bollocks!  This is not a progress anymore - it is a scale effect lobbed by vendors to stabilize their income from selling HW.


Yup, I could totally do what I do with video on an Amiga era hardware within a human lifetime and at the same quality.... (this is but one example)

Quote from: DiskDoctor;516132

Linux on Kubuntu example - nothing changed between 8 and 9 release, just most stuff is broken now since it's "just" released version.  What change might one expect from Linux anyway?  New gcc?  More Windows resemblance?  More ports, rip offs?  Drivers?  DivX codecs?


No progress you say...

Quote from: DiskDoctor;516132

OK bloodline if you mean Macs fine, I agree it makes the whole thing undoubdetly better.  But keep in mind it would be 5% population and zero % office population.  These people ought to see hardly any change for last several years, if non-mac users report any progress it means they are properly targeted by MS marketing or misled by Linux mimics.


The majority of tasks within an office have not changed - word processing, database entry etc. What has changed is how an office communicates both within a network and to the wider world. These capabilities require more powerful hardware.  

Consider the swathe of capabilities now open to a user of even a bottom end desktop PC. They can do things that 20 years ago would have been strictly the pervue of big studios, both in terms of video editing and special effects.

Also, you might want to consider that Macs now run on PC hardware and have done for a while now.

Quote from: DiskDoctor;516132
But excluding servers and desktop macs there is NO actual (by a measure of computer science) progress here.

Sorry I must be blind or completely miseducated etc.  Or at least tasteless, aren't I?


You really want me to answer that?
Blessed Be,
Alan Fisher - the_leander

[SIGPIC]http://www.extropia.co.uk/theleander/[/SIGPIC]