Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
6 crawler(s) on-line.
 47 guest(s) on-line.
 1 member(s) on-line.


 matthey

You are an anonymous user.
Register Now!
 matthey:  4 mins ago
 zipper:  16 mins ago
 OlafS25:  18 mins ago
 Gunnar:  31 mins ago
 t0lkien:  33 mins ago
 Lou:  1 hr 22 mins ago
 K-L:  1 hr 24 mins ago
 bhabbott:  1 hr 30 mins ago
 danwood:  1 hr 53 mins ago
 Matt3k:  1 hr 59 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  AmigaOS 4.1 Classic memory consumption
Register To Post

Goto page ( Previous Page 1 | 2 | 3 Next Page )
PosterThread
pavlor 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 23-Dec-2014 20:17:49
#21 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9598
From: Unknown

@HammerD

SWAP works (some applications wouldn´t even run without it) - memstat command shows its usage. However, once all "normal" RAM is consumed, it leads in most cases to OS freeze.

 Status: Offline
Profile     Report this post  
HammerD 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 23-Dec-2014 20:21:06
#22 ]
Cult Member
Joined: 31-Oct-2003
Posts: 934
From: Ontario, Canada

@pavlor

OS freeze by a software issue? ;) Try the ram copy test...that just tests OS components.

_________________
AmigaOS 4.x Beta Tester - Classic Amiga enthusiast - http://www.hd-zone.com is my Amiga Blog, check it out!

 Status: Offline
Profile     Report this post  
ExiE 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 23-Dec-2014 20:57:21
#23 ]
Regular Member
Joined: 18-May-2004
Posts: 450
From: Czech Amiga News

@eliyahuQuote:
even the old ibrowse.

IBrowse is fast but totally unusable these days. Yeah two or three Amiga pages still looks correct but thats all. OS4 version of Netsurf is better option, too bad there is not better Netsurf for 68K.

@SeverinQuote:
WinUAE as far as OS4 is concerned is a toy

Well for some of us WinUAE with PPC support may be the only way how to try OS4. And it is portable.
We just need a little love by OS4 devs and they will see it was worth it when they count sold OS4.1FE classic copies.

 Status: Offline
Profile     Report this post  
pavlor 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 23-Dec-2014 21:11:09
#24 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9598
From: Unknown

@HammerD

Quote:
OS freeze by a software issue? ;)


Well, eg. Odyssey freezes and I can´t do nothing more in the OS (eg. run commands in CLI).

Quote:
that just tests OS components.


OS may be perfect, but is useless without applications.

 Status: Offline
Profile     Report this post  
pavlor 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 23-Dec-2014 21:11:37
#25 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9598
From: Unknown

@ExiE

Quote:
We just need a little love by OS4 devs and they will see it was worth it when they count sold OS4.1FE classic copies.


Exactly!

 Status: Offline
Profile     Report this post  
cdimauro 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 25-Dec-2014 7:25:36
#26 ]
Elite Member
Joined: 29-Oct-2012
Posts: 3650
From: Germany

@pavlor

Quote:

pavlor wrote:
@umisef

Quote:
So I take it that AddMemList() is somehow no longer supported under OS4.1?


It is turned off by default - OS4 can use this RAM only as SWAP (AddMemList() is not solution there). Change must be done in OS4 Kernel (trivial - they betatested this option already).

IF it's possible to disable the usage of Z3 RAM as swap, umisef is right. It means that any developer can create a small utility that simply calls AddMemList to add such memory to the list of the (normal) memory. Add it to the Startup-Sequence, and you can have up to 1,8GB.

So, no kernel patch is needed, but only if OS4 don't use Z3 for swap. Then you can play with your favourite programming language to write the small application. ;)

 Status: Offline
Profile     Report this post  
pavlor 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 25-Dec-2014 9:08:45
#27 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9598
From: Unknown

@cdimauro

Tried, failed.

 Status: Offline
Profile     Report this post  
cdimauro 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 10:39:10
#28 ]
Elite Member
Joined: 29-Oct-2012
Posts: 3650
From: Germany

@pavlor: so there's no way to disable the swap, right?

Then a kernel patch is needed. At least to disable the Z3 usage as swap.

 Status: Offline
Profile     Report this post  
umisef 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 11:07:51
#29 ]
Super Member
Joined: 19-Jun-2005
Posts: 1714
From: Melbourne, Australia

@cdimauro

Quote:
Then a kernel patch is needed. At least to disable the Z3 usage as swap.


If that is the problem, it should be fairly trivial to get WinUAE to provide the memory, yet to not provide the autoconfig info which identifies it to the OS. Or to get WinUAE to simply provide some other, "non-Z3" mapped RAM.

But if AddMemList() simply doesn't do anything useful anymore in OS4.1, then manually adding memory won't work, of course.

Could someone who has tried clarify which of the two is the problem?

 Status: Offline
Profile     Report this post  
pavlor 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 11:33:19
#30 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9598
From: Unknown

@cdimauro

Quote:
so there's no way to disable the swap, right?


Of course, there is way, but OS refuses to use that RAM even after adding it to memory list. It is intentionaly disabled in kernel, I was told (by OS4 betatester).

 Status: Offline
Profile     Report this post  
Ancalimon 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 12:58:16
#31 ]
Regular Member
Joined: 23-Mar-2004
Posts: 433
From: Istanbul

@wawa

Quote:
funny, that for instance aros in its unoptimized state takes about full 7 mb to boot to wanderer (1024x768, default decoration) and aros owb takes another 25mb to load.


It seems like ppc files are always at least around twice in size compared to 68k or x86.

Last edited by Ancalimon on 26-Dec-2014 at 01:01 PM.

 Status: Offline
Profile     Report this post  
cdimauro 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 16:14:16
#32 ]
Elite Member
Joined: 29-Oct-2012
Posts: 3650
From: Germany

@umisef

Quote:

umisef wrote:
@cdimauro

Quote:
Then a kernel patch is needed. At least to disable the Z3 usage as swap.


If that is the problem, it should be fairly trivial to get WinUAE to provide the memory, yet to not provide the autoconfig info which identifies it to the OS. Or to get WinUAE to simply provide some other, "non-Z3" mapped RAM.

That change is simple to be made, but I don't think that Toni will provide a "Hide ZorroIII RAM from autoconfig" option on WinUAE.
Quote:
But if AddMemList() simply doesn't do anything useful anymore in OS4.1, then manually adding memory won't work, of course.

It also means that 68K applications which do it or manipulate the memory list don't work.

@pavlor

Quote:

pavlor wrote:
@cdimauro

Quote:
so there's no way to disable the swap, right?


Of course, there is way,

Good.
Quote:
but OS refuses to use that RAM even after adding it to memory list. It is intentionaly disabled in kernel, I was told (by OS4 betatester).

Damn. It's getting harder, if there's no way for an application to add memory to the o.s., because a kernel patch / hack is needed.

@Ancalimon

Quote:

Ancalimon wrote:
@wawa

Quote:
funny, that for instance aros in its unoptimized state takes about full 7 mb to boot to wanderer (1024x768, default decoration) and aros owb takes another 25mb to load.


It seems like ppc files are always at least around twice in size compared to 68k or x86.

It's normal: RISCs usually have less code density than CISCs. x86 and 68K are well known for their very good code-density. That's one of the advantages of a variable-length opcode structure.

 Status: Offline
Profile     Report this post  
itix 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 16:35:12
#33 ]
Elite Member
Joined: 22-Dec-2004
Posts: 3398
From: Freedom world

@cdimauro

PPC code is typically taking twice as much space compared to 68k code bit executables are only about 1/3 larger. There is lot more than just op codes in executables. PPC cant be used to explain higher memory consumption.

_________________
Amiga Developer
Amiga 500, Efika, Mac Mini and PowerBook

 Status: Offline
Profile     Report this post  
Deniil715 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 18:18:22
#34 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

@pavlor

Quote:

Quote:
OS freeze by a software issue? ;)


Well, eg. Odyssey freezes and I can´t do nothing more in the OS (eg. run commands in CLI).


Exactly. It always happens after swap has been used. It seems to freeze most often when a swapped out piece of memory is freed. I made a program that demonstates this very clearly, including source and a detailed description, but it seemed ignored by the OS devs. This was 2-3 years ago I think. I've disabled swap since then.

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
Vanhapolle 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 19:30:46
#35 ]
Regular Member
Joined: 22-Sep-2014
Posts: 372
From: Unknown

@Deniil715

i get OWB freezing in (also cannot do anything) MOS3.7 (i use Pegasos 2) sorry offtopic but someone if knows which reason can tell me if its related this program. Btw i wait AmigaOS4.1 final edition which is reason why are there.

 Status: Offline
Profile     Report this post  
Xenic 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 26-Dec-2014 19:58:12
#36 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@pavlor
If you are trying to squeeze every bit of memory, you could try stripping Odyssey to get another 10 MB of free memory when Odyssey is running. The downside is that you won't get as much information in Grim Reaper if Odyssey crashes.


_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
cdimauro 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 27-Dec-2014 10:12:18
#37 ]
Elite Member
Joined: 29-Oct-2012
Posts: 3650
From: Germany

@itix

Quote:

itix wrote:
@cdimauro

PPC code is typically taking twice as much space compared to 68k code bit executables are only about 1/3 larger. There is lot more than just op codes in executables. PPC cant be used to explain higher memory consumption.

Can be. However it's not only a question of opcodes. RISCs are unable to load arbitrary constants, like CISCs, so usually they load the from the data section. So the PowerPC code be 1/3 larger than 68K, but without taking into account such data which should be considered part of the code when comparing code sizes.

Anyway I don't think that it justifies doubling the size.

 Status: Offline
Profile     Report this post  
itix 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 27-Dec-2014 10:48:42
#38 ]
Elite Member
Joined: 22-Dec-2004
Posts: 3398
From: Freedom world

@cdimauro

Quote:

RISCs are unable to load arbitrary constants, like CISCs, so usually they load the from the data section.


I have never seen GCC generating code that load constants from the data section, not on 32-bit targets. If it fits to 16 bits (many constants do) it is encoded to op code and full 32-bits is "only" two op codes.

Quote:

Anyway I don't think that it justifies doubling the size.


If you are lazy to not strip executables (most OS4 developers dont) you get large executables.

_________________
Amiga Developer
Amiga 500, Efika, Mac Mini and PowerBook

 Status: Offline
Profile     Report this post  
billyfish 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 27-Dec-2014 11:53:59
#39 ]
Member
Joined: 17-Sep-2008
Posts: 32
From: Unknown

@itix

Quote:

If you are lazy to not strip executables (most OS4 developers dont) you get large executables.


Have you got some examples of this? AFAICR the release builds that you create using Codebench are automatically stripped so unless people are distributing the debug builds it doesn't seem likely to me. One thing I would love to see in Codebench would be the ability to have separate debug and release builds with debug symbols and optimisation respectively. Of course if you're using makefiles directly, it's easy to add a BUILD= type switch

cheers

billy

 Status: Offline
Profile     Report this post  
pavlor 
Re: AmigaOS 4.1 Classic memory consumption
Posted on 27-Dec-2014 12:14:41
#40 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9598
From: Unknown

@Xenic

Quote:
you could try stripping Odyssey to get another 10 MB of free memory when Odyssey is running.


Thanks. Seems to work.

Quote:
The downside is that you won't get as much information in Grim Reaper if Odyssey crashes.


I don´t think kas1e is interested in crash reports from WinUAE.

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle