HAYNIE is off again
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    EAB Post

    "And Windows isn't the only culprit here... all current OSs have these kinds of issues. Even AmigaOS can get really slow over issues like layer locking (there's a video up on YouTube which shows MorphOS, essentially cloning the AmigaOS, failing against MacOS on opening multiple web browser instances, due to some of this stuff). There is a ton of room for optimization."
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »17.08.11 - 17:12
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12164 from 2003/5/22
    From: Germany
    Haynie might be wrong on the cause of the issue demonstrated in that video (I don't know), but at least Piru confessed this was an area where MorphOS could improve:

    https://morph.zone/modules/newbb_plus/viewtopic.php?forum=3&topic_id=7824&start=69
  • »17.08.11 - 17:32
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    Well, he might be wrong for the reason, but still: this is a problem, and has always been... video memory management has always been a problem with the Amiga. I remember having to close windows with lots of icons to have enough chip ram, or even lowering the WB's depth in order to run some apps/games. My impression is that Windows/Mac never had such problems with the video ram and multiple windows opened (they do have other problems, that's for sure: but that's not the point here). So ok: before, the chip ram was not only used for graphics, but for sound, and data as well, but now that we have RTG, and no more such "chip" ram, this isn't the case anymore...

    So: what's so different regarding to windows memory management between the Amiga/MorphOS and other OS (be it Unix/X, OSX, Windows (with or without Aero),...) that causes the whole system to crawl so easily (I know this is one of the worst possible scenarios, but still, it's quite easy to do it) ?

    We all know MorphOS is faster than OSX in lots of operations because there are a lot less overhead... But it's also a lot faster to crawl :-

    [ Edited by Leo 18.08.2011 - 20:59 ]
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »18.08.11 - 20:55
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:


    But it's also a lot faster to crawl



    If I recall correctly you could almost halt Amiga 500 by opening ten windows to a same screen :-)
    1 + 1 = 3 with very large values of 1
  • »18.08.11 - 22:08
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1061 from 2009/2/26
    From: Tczew, Poland
    Who gives a crap.. I just don't understand where is that comming from.
    MorphOS 3.x
  • »18.08.11 - 22:30
    Profile Visit Website
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    >MorphOS, essentially cloning the AmigaOS,

    If MorphOS was just a clone of Amiga OS, ik wouldn't be using it.

    Haynie is like a broken record.
    "Never attribute to malice what can more readily explained by incompetence"
  • »18.08.11 - 23:36
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    Quote:


    If MorphOS was just a clone of Amiga OS, ik wouldn't be using it.


    Juste forget it. What's mentionned is a valid point in any case... Be MorphOS an AmigaOS clone, a reimplementation of AmigaOS, its spiritual son, a better AmigaOS, a next gen AmigaOS, or whatever: the problem is that by simply opening 5 browser windows (that are not even fullscreen), the system crawls.

    [ Edited by Leo 19.08.2011 - 09:15 ]
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »19.08.11 - 08:58
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Simon
    Posts: 809 from 2008/7/6
    From: Antwerp, Belgium
    "It's spiritual son" ... I like that :-)
    Proud member of the Belgian Amiga Club since 2003

  • »19.08.11 - 09:10
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    @Leo

    On such a machine you just don't enable 3d layers. There's nothing more to add, really.

    And by the way, when windows lacks vram, display gets randomly corrupted (nothing properly refreshed anymore and so on).

    [ Edited by Fab 19.08.2011 - 12:30 ]
  • »19.08.11 - 11:29
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    osco
    Posts: 680 from 2009/10/21
    From: Boston, USA
    Opening muliple PDF records has a ten page limit.
    Will try on the Mac Side to see if it hangs ;-)
    Mac Mini 1.5GHz, 1G, 250G Drive, Apple Cinema Display, MorphOS 3.1 registered, MacOS 10 PowerBook (5,8) 1.67Hz, 2G, 80G Drive,........Waiting
    PowerBook (5,8) 1.67Hz, 2G, 40G MorphOS 3.1 unregisterd
  • »19.08.11 - 13:29
    Profile
  • JJ
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    JJ
    Posts: 147 from 2010/7/7
    From: Wales
    The point is he didn't need to mention MorphOS to make that point or to give an example. He just chose to once again make himself look a bit childish.
    We don't stop playing because we grow old; we grow old because we stop playing. - George Bernard Shaw


    Xbox Live: S0ulA55a551n2
  • »19.08.11 - 14:45
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1250 from 2004/2/8
    From: Poland
    Quote:

    the problem is that by simply opening 5 browser windows (that are not even fullscreen), the system crawls.


    No it does not? I've managed to open 14 (fourteen) Odyssey windows with virtually no slowdowns and would gladly open more if my computer didn't have "only" 1 GB of RAM. Now, do you believe me or should I record a video and upload it to YouTube?
  • »19.08.11 - 18:58
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Velcro_SP
    Posts: 929 from 2003/7/13
    From: Universe
    |||

    [ Edited by Velcro_SP 06.09.2011 - 06:19 ]
    Pegasos2 G3, 512 megs RAM
  • »19.08.11 - 19:38
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    Quote:


    And by the way, when windows lacks vram, display gets randomly corrupted (nothing properly refreshed anymore and so on).


    There is to add: on such a machine, you do not crawl the OS by opening 5 browser windows. Question is: why ?

    Why on the Amiga opening a window will immediately eat VRAM/ChipRam, no matter what mode (3D layers or not) is enabled, thus quicikly limiting what you can do while on any other OS it's not the case (or you may open a lot more before problems happen) ?
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »19.08.11 - 19:46
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    stephen_robinson
    Posts: 746 from 2007/4/22
    koszer,
    Quote:




    Do it and post it as a reply to that other one,
    http://www.youtube.com/watch?v=NvmWIqqRR-g

    Just in case you didn't know.

    I just tried it with 4 OWB windows each with 5 tabs, including that actual html5 video, little video ram free I was getting some slowdown, but it was still better than that video..
  • »19.08.11 - 19:51
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Zylesea
    Posts: 2057 from 2003/6/4
    As Fab wrote, don|t enable enhanced display when you do things like that with that amount of VRAM. I can open a dozen OWB windows on my mini w/o big slowdown while not using enhanced display, while it gets clumpsy w/ enhanced display starting from about 5 windows on (1680x1050 and 64MB VRAM).
    An (optional) automatic switch to non enhanced display in those situations would be a great thing.
    --
    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
  • »19.08.11 - 21:03
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12164 from 2003/5/22
    From: Germany
    > no matter what mode (3D layers or not) is enabled

    According to Fab in posting #9 the issue shown in the video only occurs when it's enabled. Do you think he's wrong?
  • »19.08.11 - 23:12
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    I am not asking how to limit the problem: I'm asking why it happens, and why so early (see the MorphOS/OSX comparison)...
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »19.08.11 - 23:17
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12164 from 2003/5/22
    From: Germany
    > each with 5 tabs

    Tabs only affect RAM, not VRAM. When I open tab after tab and also load pages in them my amount of free VRAM does not decrease. This is with Enhanced Display enabled.
  • »19.08.11 - 23:21
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12164 from 2003/5/22
    From: Germany
    > I am not asking how to limit the problem

    And I'm not telling how to limit the problem but just replying to your "no matter what mode" statement.

    > I'm asking why it happens

    But does "it" even happen with Enhanced Display disabled as you suggested?
  • »19.08.11 - 23:26
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1250 from 2004/2/8
    From: Poland
    Quote:

    I am not asking how to limit the problem: I'm asking why it happens, and why so early?


    Because the system swaps huge hunks of mem between RAM and VRAM without AGP mode implemented. From what I know this should be fixed in next release (2.8?). As for now - you can either switch Enhanced Display off or switch to a better computer.
  • »20.08.11 - 05:07
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    Georg
    Posts: 111 from 2004/4/7
    I think a good idea would be an option where the gfx system avoids VRAM to RAM (but not RAM to VRAM) copyings altogether. What this means is that basically all bitmaps (especially window bitmaps) will be in RAM (and all gfx operations in it software rendered). This bitmap buffer in RAM will never go away. At any possible point the gfx system may "attach" a real VRAM bitmap to the RAM bitmap. The two bitmaps are kept in sync (maybe in realtime by repeating gfx operations done to RAM bitmap also in VRAM bimap connected to it. Or maybe only at specific times using things like damage list to keep track of what areas of VRAM bitmap are not yet in sync). Whenever a window bitmap needs to be composited to the screen the gfx system makes sure that real VRAM bitmap is attached so it can do the compositing hw accelerated. If system is low on free VRAM it can kill any other VRAM bitmaps connected to RAM bitmaps but it does not need to do the VRAM to RAM swapping as the RAM bitmap is always there and up to date.

    Doing it like this causes some speed loss but I think this is how other OSes avoid described problems on systems with low VRAM.
  • »20.08.11 - 09:13
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    stephen_robinson
    Posts: 746 from 2007/4/22
    Suppose I might as well dig out this oldie but goodie:

    http://mrdoob.com/lab/javascript/effects/ie6/

    Not that unrealistic emulation of Windows under heavy load.

    [ Edited by stephen_robinson 21.08.2011 - 15:40 ]
  • »21.08.11 - 14:39
    Profile