SMP/AMP, or other multiprocessing for MorphOS???
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    KimmoK
    Posts: 102 from 2003/5/19
    Quote:

    Intuition wrote:
    https://facebook.com/414578091930728/photos/a.583390791716123.1073741829.414578091930728/674728855915649/?type=1&theater


    That's one way to do it. (even if not the most "Amigan" way, as it uses linux underneath the hood)

    I wonder how the load is shared for both cores.
    If it's GL Gears of AROS, it should load only one core, right?
    (but perhaps there's SW rendered (on Linux) underneath...)
    UPDATE: Damocles gave some info, GL Gears was compiled for ARIX.


    (some other ARIX info etc. at eab)

    [ Edited by KimmoK 16.06.2014 - 14:31 ]
    :-x :-P 8-)
  • »16.06.14 - 13:42
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    Amiga isn't SMP compatible, and "Silly SMP" isn't Amiga compatible, it's as simple as that. Sure, if you have to *recompile* all the apps for your OS (or run them in UAE - which again is an Amiga environment, hence it's not SMP compatible) like on most AROS systems, not to mention ARIX, *then* it's a different matter! But this is very different from the environment that MorphOS (or OS4) offers today. And if the Amiga legacy/binary compatibility is to be dropped (in MorphOS) anyway in favor of new features that can't fit into Amiga, then why not implement these things in a *clean* and *proper* way, built from ground up, instead of a "hackish" way that is just, well... Silly? I respect the effort from a "just for fun, lets get our hands dirty and explore how far we can take this" point of view (nothing wrong with that, especially not in an AROS context), but from a design point of view for real, end-user systems, it's a different matter. I think the best thing with "Silly SMP" is its name!



    [ Edited by takemehomegrandma 16.06.2014 - 12:16 ]
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »16.06.14 - 14:04
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    Quote:

    takemehomegrandma wrote:
    Amiga isn't SMP compatible, and "Silly SMP" isn't Amiga compatible, it's as simple as that. Sure, if you have to *recompile* all the apps for your OS (or run them in UAE - which again is an Amiga environment, hence it's not SMP compatible) like on most AROS systems, not to mention ARIX, *then* it's a different matter! But this is very different from the environment that MorphOS (or OS4) offers today. And if the Amiga legacy/binary compatibility is to be dropped (in MorphOS) anyway in favor of new features that can't fit into Amiga, then why not implement these things in a *clean* and *proper* way, built from ground up, instead of a "hackish" way that is just, well... Silly? I respect the effort from a "just for fun, lets get our hands dirty and explore how far we can take this" point of view (nothing wrong with that, especially not in an AROS context), but from a design point of view for real, end-user systems, it's a different matter. I think the best thing with "Silly SMP" is its name!




    While I always appreciate your input, I don't think we all were talking about "Silly SMP".
    Just the few that have mentioned AROS.
    We were talking about running our current OS concurrently with an SMP enabled version.
    The latter would, by necessity, be incapable of running Amiga applications outside of UAE.
    MorphOS would run on one core, leaving the rest for the SMP OS.

    For running legacy Amiga and MorphOS applications, this would be ideal.

    And the SMP capable OS would be a great stepping stone to a 64 bit OS on a new ISA.
    "Never attribute to malice what can more readily explained by incompetence"
  • »16.06.14 - 14:32
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    takemehomegrandma wrote:
    Amiga isn't SMP compatible, and "Silly SMP" isn't Amiga compatible, it's as simple as that. Sure, if you have to *recompile* all the apps for your OS (or run them in UAE - which again is an Amiga environment, hence it's not SMP compatible) like on most AROS systems, not to mention ARIX, *then* it's a different matter! But this is very different from the environment that MorphOS (or OS4) offers today. And if the Amiga legacy/binary compatibility is to be dropped (in MorphOS) anyway in favor of new features that can't fit into Amiga, then why not implement these things in a *clean* and *proper* way, built from ground up, instead of a "hackish" way that is just, well... Silly? I respect the effort from a "just for fun, lets get our hands dirty and explore how far we can take this" point of view (nothing wrong with that, especially not in an AROS context), but from a design point of view for real, end-user systems, it's a different matter. I think the best thing with "Silly SMP" is its name!




    Quoted for future reference. ;)
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »16.06.14 - 22:03
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Jim wrote:
    Quote:

    takemehomegrandma wrote:
    Amiga isn't SMP compatible, and "Silly SMP" isn't Amiga compatible, it's as simple as that. Sure, if you have to *recompile* all the apps for your OS (or run them in UAE - which again is an Amiga environment, hence it's not SMP compatible) like on most AROS systems, not to mention ARIX, *then* it's a different matter! But this is very different from the environment that MorphOS (or OS4) offers today. And if the Amiga legacy/binary compatibility is to be dropped (in MorphOS) anyway in favor of new features that can't fit into Amiga, then why not implement these things in a *clean* and *proper* way, built from ground up, instead of a "hackish" way that is just, well... Silly? I respect the effort from a "just for fun, lets get our hands dirty and explore how far we can take this" point of view (nothing wrong with that, especially not in an AROS context), but from a design point of view for real, end-user systems, it's a different matter. I think the best thing with "Silly SMP" is its name!




    While I always appreciate your input, I don't think we all were talking about "Silly SMP".
    Just the few that have mentioned AROS.
    We were talking about running our current OS concurrently with an SMP enabled version.
    The latter would, by necessity, be incapable of running Amiga applications outside of UAE.
    MorphOS would run on one core, leaving the rest for the SMP OS.

    For running legacy Amiga and MorphOS applications, this would be ideal.

    And the SMP capable OS would be a great stepping stone to a 64 bit OS on a new ISA.




    Sounds line an excellent way forward to me. It all depends on the MorphOS team though.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »16.06.14 - 22:05
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    In_Correct
    Posts: 245 from 2012/10/14
    From: DFW, TX, USA
    That sounds like a great idea. Since MorphOS has A Box, and Q Box, there could be a third Box that utilizes the multi core support. The third Box can run the legacy programmes (perhaps even if MorphOS became 64 bit) inside the second core.

    Or whatever it was that you said. This sounds like an important feature but obviously I am not a coder. The MorphOS Developers are coders and their view is best.

    If the above is not possible, then:

    There needs to be a concrete explanation to provide for the potential newcomers of MorphOS explaining why MorphOS does not need the Multi Core support.

    And if any single core hardware exists and in production, port to it. Perhaps if it is single core hardware, it might cost less ... and low cost hardware is an advantage.
    :-) I Support Quark Microkernel. :-D
  • »17.06.14 - 02:12
    Profile Visit Website
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    Well, we all know the developers have committed to an eventual ISA change.
    But can't that be developed gradually as an evolution of our current environment?

    Because even once an ISA change occurs, PPC MorphOS isn't going away any time soon.
    Were development to stop at V 3.6, I'd still be able to get many more years of useful service out of our current hardware base.
    "Never attribute to malice what can more readily explained by incompetence"
  • »17.06.14 - 06:01
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12085 from 2003/5/22
    From: Germany
    > MorphOS has [...] Q Box

    Does it?

    > there could be a third Box that utilizes the multi core support.

    That's what the second box aka QBox was supposed to be about.

    > The third Box can run the legacy programmes [...] inside the second core.

    Wouldn't the ABox be there for running legacy programs?
  • »17.06.14 - 09:10
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    In_Correct
    Posts: 245 from 2012/10/14
    From: DFW, TX, USA
    I did not know about SMP or ASMP was proposed with Q Box.

    >>Wouldn't the ABox be there for running legacy programs?

    Can the A Box be placed inside the second core? Some similar suggestion from whatever takemehomegrandma and Jim were talking about.
    :-) I Support Quark Microkernel. :-D
  • »17.06.14 - 13:46
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12085 from 2003/5/22
    From: Germany
    > I did not know about SMP or ASMP was proposed with Q Box.

    SMP (as well as memory protection, resource tracking etc.) was the whole point of the QBox idea:

    "The goal is to [...] work on a new OS layer using Quark functionality called Q-Box. [...] Because we believe that the original OS design has strong limits for newer technology through its design structure, we also plan a completly fresh and clean OS layer on top of the Quark kernel (called Q-Box now). The A-Box API [...] has serious limitations because it doesn't hide OS structures and has no concept of memory ownership. [...] As a consequence, we will not replicate the A-Box API in the Q-Box but we will try to do a new API without any compromises to the past but based on past experience."
    http://web.archive.org/web/20020626181353/http://www.morphos.net/overview.php3

    Regarding the "Quark functionality" to be used by the QBox, see there:

    http://web.archive.org/web/20020626180435/http://www.morphos.net/kernelinfo.php3

    > Can the A Box be placed inside the second core?

    Yes, the Quark kernel running underneath both the ABox and any other potential box running in parallel with the ABox would be able to put the ABox on any core, and even switch between cores at runtime. That's the very nature of SMP after all.
  • »17.06.14 - 16:31
    Profile
  • Butterfly
    Butterfly
    WB_Coder
    Posts: 66 from 2014/5/1
    Has there been any new statements about the "Q-Box" being a future project of the MorphOS Dev. Team?

    I thought that the last word from the Dev. Team (and this was a fairly long time ago) was that the "Q-Box" was dead and had been abandoned, and that only the current "A-Box" would be worked on for the foreseeable future.

    This is why I ask if any of the MorphOS Dev. Team members have made an announcement, or even hinted at new work beginning on the "Q-Box".

    I also thought that one or more of the Dev. Team members have stated that NO work has been done on any architecture change, and that "IF" any change to a different architecture would be attempted, it would be a long time (years) before it could be completed.

    Are my impressions correct, or are there new statements or hints from any Dev. Team members that suggest a different impression of what is happening, or what might happen (or be started) within the next year?
    WB_Coder = Wanna Be Coder
  • »17.06.14 - 20:23
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12085 from 2003/5/22
    From: Germany
    > Has there been any new statements about the "Q-Box" being a future project of the
    > MorphOS Dev. Team? [...] I ask if any of the MorphOS Dev. Team members have made
    > an announcement, or even hinted at new work beginning on the "Q-Box". [...] are there
    > new statements or hints from any Dev. Team members that suggest a different impression
    > of what is happening, or what might happen (or be started) within the next year?

    No.

    > I thought that the last word from the Dev. Team [...] was that the "Q-Box" was dead and
    > had been abandoned

    The last word from a MorphOS Team member was that the QBox was never planned and also never mentioned as future prospect by the MorphOS Team (which is not true, of course).

    > I also thought that one or more of the Dev. Team members have stated that NO work has
    > been done on any architecture change, and that "IF" any change to a different architecture
    > would be attempted, it would be a long time (years) before it could be completed. Are my
    > impressions correct [...]?

    Yes.
  • »17.06.14 - 21:13
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    We can call it Q-box, and the concept is quite similar.
    But at this point we can consider multi-core SMP support and 64 bit addressing.
    "Never attribute to malice what can more readily explained by incompetence"
  • »17.06.14 - 23:15
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    Well, this has all been speculated about with mostly the same conclusions since I joined MZ 2 years ago. Without the input of the MOS Team it's quite pointless. After all, it's them who has to do all the work.

    I just hope they will announce their plans before people get tired of waiting. Used macs are, as we all already know, a nice stop gap compromise and they will do just fine for a few more years. And it can work even longer if people know what the next step will be, even if it takes years to materialize IMHO. Old macs works, but it's not sexy :-)

    However, like the AOS 4 laptop, making promises that may not materialize is even worse than saying nothing at all.
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »17.06.14 - 23:59
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    redrumloa
    Posts: 1424 from 2003/4/13
    Quote:

    Yasu wrote:
    Well, this has all been speculated about with mostly the same conclusions since I joined MZ 2 years ago. Without the input of the MOS Team it's quite pointless. After all, it's them who has to do all the work.

    I just hope they will announce their plans before people get tired of waiting. Used macs are, as we all already know, a nice stop gap compromise and they will do just fine for a few more years. And it can work even longer if people know what the next step will be, even if it takes years to materialize IMHO. Old macs works, but it's not sexy :-)

    However, like the AOS 4 laptop, making promises that may not materialize is even worse than saying nothing at all.


    Come on man, don't compare MorphOS to other NG solutions that are practically abandonware!

    We end users are allowed to speculate, it is part of the fun as long as the users are grounded in reality. I'd love to see an ISA move and I'd love to see SMP in the near future, but if neither ever happened I'd be happy to just have had the opportunity to use MorphOS on PPC Macs like we have now.
  • »18.06.14 - 05:25
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    KimmoK
    Posts: 102 from 2003/5/19
    Quote:

    an ISA move


    I love to see how ARIX manages to handle it and what comes.
    (so far, to me it seems AROS and Linux have had huge trouble without custom designed, 100% supported HW)

    In the meanwhile, with SMP capable 64bit PPC HW the "next dimension" can be prepared while users can boot pack to legacy (single core, 32bit) system when needed.

    UPDATE: nice graph that shows why SMP is very important:
    (x86&cinebench)

    [ Edited by KimmoK 01.07.2014 - 09:56 ]
    :-x :-P 8-)
  • »18.06.14 - 11:19
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    Quote:

    KimmoK wrote:
    Quote:

    an ISA move


    I love to see how ARIX manages to handle it and what comes.
    (so far, to me it seems AROS and Linux have had huge trouble without custom designed, 100% supported HW)

    In the meanwhile, with SMP capable 64bit PPC HW the "next dimension" can be prepared while users can boot pack to legacy (single core, 32bit) system when needed.


    ARIX uses a Linux kernal, and Linux based Amiga like OS' should have an advantage in implementing SMP.
    The core question is the same though, how do you get legacy Amiga apps to run in an SMP environment.
    "Never attribute to malice what can more readily explained by incompetence"
  • »18.06.14 - 12:19
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2053 from 2003/6/4
    I think the Hypervisor idea is a really neat one. While I am rather more in favor of making a clean cut and probably jump ISA. the hypervisor idea on PPC actually is neat. A multicore ppc where the processor itself warrants the environment for each OS instance. Two OS instances: MorphOS as we knwo it for one core, MorphOS NG on all the other cores . Both running alongside. The actual silicon taking care that everything will be fine.
    The good thing: MorphOS as we know it wouldl stay as it is (and stay compatible). MorphOS NG can evolve.
    Sure, no easy thing. And to be nicely useable both OS instances should be glued togetther somehow. But that approach would offer a very smooth transition. So to say a clear cut (MorphOS NG) without the clear cut (MorphOS stays as it is one _one_ core).
    The big, big, big disadvantage (aside from the required work): it would need to stay on PowerPC where hardware supply of current (QorIQ based) "normal" general purpose computers is - well - problematic (but at least there are the Freescale dev boards). But the idea to use hypervisor to run two instances simultaneously is brilliant to provide a smooth upgrade path for the OS.
    --
    http://via.bckrs.de

    Whenever you're sad just remember the world is 4.543 billion years old and you somehow managed to exist at the same time as David Bowie.
    ...and Matthias , my friend - RIP
  • »18.06.14 - 16:43
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    In_Correct
    Posts: 245 from 2012/10/14
    From: DFW, TX, USA
    This SMP or ASMP, Hypervisor, Q Box, etc. Improvements certainly would make MorphOS shine yet again. :-)

    The following is not a good enough reason to add these feature(s) but I still want to share my experience the last two and a half days:

    I have hundreds and hundreds of pages on my Watchlist from Wikipedia. There is a Power Architecture page which includes information on Genesi computers, AmigaOne computers, Hyperion, and the three AmigaOS 4, AROS, and MorphOS.

    An IP Address had removed every mentioning of Hyperion, the OSs, and AmigaOne claiming it to be not encyclopedic. The edit war continued until earlier this morning.

    All of the IP Address reasons to remove the information were unacceptable except for one:

    None of the Amiga-like OS fully supports Power Architecture. MorphOS usually does, except for the systems which contain more than one core.

    Are there many (and current) Power Architecture systems containing more than one processor core? The only ones I am familiar with is AmigaOne series. (Which kept getting removed from article).

    It does not matter because the edit war ended with a cease fire and all Amiga clones, and Operating systems, and related companies are still in the article.
    :-) I Support Quark Microkernel. :-D
  • »29.06.14 - 05:07
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12085 from 2003/5/22
    From: Germany
    > None of the Amiga-like OS fully supports Power Architecture. MorphOS
    > usually does, except for the systems which contain more than one core.

    Power Architecture is an ISA, not a chip or system. Therefore it makes no sense claiming an OS doesn't fully support Power Architecture just because it is a single-core OS. After all, the ISA allows for single-core implementations, of course. A single-core OS can't fully support a multi-core chip or system, but the ISA is per core.

    > Are there many (and current) Power Architecture systems containing more
    > than one processor core?

    Yes, there are hundreds of systems using more than one core that complies with Power Architecture currently on the market from a broad range of vendors. They are mostly specialized systems for embedded, networking, telco, industrial, imaging, storage, military etc. use.
  • »29.06.14 - 16:01
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12085 from 2003/5/22
    From: Germany
    > did he give any hints about what kind of multicore support will be used in AmigaOS4.2?

    Hyperionmp mentions SMP as goal for OS4.2:

    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=35072&forum=32&start=340#738096
  • »28.07.14 - 22:23
    Profile
  • Moderator
    Kronos
    Posts: 2242 from 2003/2/24
    Quote:

    Andreas_Wolf wrote:
    > did he give any hints about what kind of multicore support will be used in AmigaOS4.2?

    Hyperionmp mentions SMP as goal for OS4.2:

    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=35072&forum=32&start=340#738096


    Which means SMP can be ruled out with 100% certainty.

    [ Edited by Kronos 29.07.2014 - 03:03 ]
  • »29.07.14 - 05:02
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @Kronos

    It does? I found Hyperions answer rather cryptic.
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »29.07.14 - 16:42
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    redrumloa
    Posts: 1424 from 2003/4/13
    Quote:

    Yasu wrote:
    @Kronos

    It does? I found Hyperions answer rather cryptic.


    Of course they are cryptic, that is the whole idea. Something to do with Plausible deniability.
  • »29.07.14 - 19:20
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Yasu
    Posts: 1724 from 2012/3/22
    From: Stockholm, Sweden
    @redrumloa

    Maybe, but I don't think it qualifies as "100% certainty". Plausable maybe (what do I know?) but not definite.
    AMIGA FORUM - Hela Sveriges Amigatidning!
    AMIGA FORUM - Sweden's Amiga Magazine!

    My MorphOS blog
  • »29.07.14 - 21:25
    Profile Visit Website