[#36]
Re: MorphOS 1.45 - 2.3 i 2GB ram
@kiero,
post #33
Fakt pojęcie mam mętne dosyć, skala problematyki znacznie przerasta moją więdzę. Być może pochopność stwierdzenia (post 27) wynikła stąd, że mylę jakieś pojęcia i będąca niezbyt uporządkowanym skrótem myślowym może być niezrozumiała. W ramach ewentualanej dalszej dyskusji zaznaczam, że moje usilne dociekania, są tylko wynikiem napotkania pewnych ograniczeń MorphOS'a (czy ogólnie mówiąc AmigaOS'ów) od strony użytkownika tego systemu. Z tej samej strony moja ciekawość w relacji otrzymanych tutaj wyjaśnień zmusza mnie do zadania kilku pytań.
1. Czym właściwie na dzień dzisiejszy jest QBox i do czego w obecnej fazie rozwoju może być wykorzystany w przyszłych wersjach MorphOS'a ?
2. Czy ABox = MorphOS, czy może ABox = reimplemantacja AmigaOS 3.1 działająca natywnie na PowerPC a MorphOS = ABox + QBox ?
3. Jaki związek z QBox'em miałoby nowe API dla nowych programów (znoszące ograniczenia AmigaOS 3.1 tylko dla programów pod to nowe API jak sądzę)
o którym wspomniał MinisterQ ?
4. O co właściwie chodzi w tym tekście (MorphOS in Detail) ?
"Microkernel Vs Macro Kernel
A common problem encountered in the development of microkernel Operating Systems
is speed. This is due to the CPU having to context switch back and forth between the
kernel and user processes, context switching is expensive in terms of computing
power. The consequence of this has been that many Operating Systems have
switched from their original microkernel roots and become closer to a macrokernel by
moving functionality into the kernel, i.e. Microsoft moved graphics into the Windows NT
kernel, Be moved networking inside, Linux began as a macrokernel so includes
everything. This technique provides a speed boost but at the cost of stability and
security since different kernel tasks can potentially overwrite one another's memory.
Given the above, one might wonder why Q can be based on a microkernel (strictly
speaking it's only "microkernel like" ) and still expected to perform well. The answer to
this lies in the fact that MorphOS runs on PowerPC and not x86 CPUs. It is a problem
with the x86 architecture that causes context switches to be computationally expensive.
Context switching on the PowerPC is in the region of 10 times faster, similar in speed
to a subroutine call. This means PowerPC Operating Systems can use a microkernel
architecture with all it's advantages yet without the cost of slow context switches.
There are no plans for an x86 version of MorphOS, if this changes there will no doubt
be internal changes to accommodate the different processor architecture"
Ostatnia modyfikacja: 28.08.2009 01:52:41