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
18 crawler(s) on-line.
 84 guest(s) on-line.
 4 member(s) on-line.


matthey, VooDoo, retrofaza, more...

You are an anonymous user.
Register Now!
 VooDoo:  11 secs ago
 kiFla:  1 min ago
 retrofaza:  2 mins ago
 matthey:  3 mins ago
 AmigaOldskooler:  7 mins ago
 Rob:  19 mins ago
 BigD:  21 mins ago
 pavlor:  27 mins ago
 Hypex:  56 mins ago
 billt:  1 hr 24 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Register To Post

Goto page ( Previous Page 1 | 2 )
PosterThread
NutsAboutAmiga 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 11-Dec-2011 16:09:56
#21 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12820
From: Norway

@Templario

There are two things to remember swap file/partition and virtual memory.

Virtual memory can reduce fragmented memory, this increases the chase of successful allocation of memory, combine lots smaller memory blocks to a larger one, and relocate the address, this should rescue the problem of fragmented memory allowing the OS to run for longer period of time whit out running in to fragmentation problems. If you have just 256mb you can use full addressable 4gb of addresses for relocation to solve fragmentation.

Swap partitions are used when you run out of physical memory, when programs normally crash or stop working, you don't need it unless you run out of memory.

Last edited by NutsAboutAmiga on 12-Dec-2011 at 02:57 PM.
Last edited by NutsAboutAmiga on 11-Dec-2011 at 04:10 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Dwyloc 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 12-Dec-2011 12:08:55
#22 ]
Super Member
Joined: 30-Mar-2005
Posts: 1052
From: Glasgow, Scotland

@NutsAboutAmiga

The odd bit is that if I disable virtual memory I can play Aquaria for more than an hour without seeing any issues, but if I have virtual memory enabled the game crashes with in the first 20 - 30 minutes with a DSI error.

I am informed I may run in to problems latter on in the games as the levels are to large to work on a 512MB system without virtual memory, but for now switching it off makes my computer more stable. Virtual memory does seem to work for AmigaOne owners with 512MB or ram and enable them to play latter levels in the game but on my sam440ep it just makes the game crash.

_________________
Sam440ep 667mhz, 512MB, 120GB 2.5" HD, OS4.1FE
WinUae 3.0.0, OS 3.9, BB3, Catweasel MkIV
Amiga 1200, Blizzard 040/40 (BlizzardPPC 060/200 with SCSI removed at present), mediatorSX pci, Voodoo3, PCI network card os 3.9BB2
4MB Minimig with ARM addon boar

 Status: Offline
Profile     Report this post  
broadblues 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 12-Dec-2011 14:36:03
#23 ]
Amiga Developer Team
Joined: 20-Jul-2004
Posts: 4446
From: Portsmouth England

@Dwyloc

Quote:

The odd bit is that if I disable virtual memory I can play Aquaria for more than an hour without seeing any issues, but if I have virtual memory enabled the game crashes with in the first 20 - 30 minutes with a DSI error.


Grits teeth: You are disabling swap not virtual memory...

That aside, start the game with VR enabled, then type memstat at the shell and see what's being used. If any pages are swapped out etc.

Then play for a while do memstat again, and compare the output. Perhaps there is amemory leek that gradually using more and more memory.

It may also be that you have something else running, that does not play well with swap and is benig forced into swap as resources are used. Does your DSI always happen in the game itsel;f or in some other component, is it consitant?


_________________
BroadBlues On Blues BroadBlues On Amiga Walker Broad

 Status: Offline
Profile     Report this post  
Dwyloc 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 12-Dec-2011 15:53:42
#24 ]
Super Member
Joined: 30-Mar-2005
Posts: 1052
From: Glasgow, Scotland

@broadblues

Quote:

broadblues wrote:
@Dwyloc

Quote:

The odd bit is that if I disable virtual memory I can play Aquaria for more than an hour without seeing any issues, but if I have virtual memory enabled the game crashes with in the first 20 - 30 minutes with a DSI error.


Grits teeth: You are disabling swap not virtual memory...

That aside, start the game with VR enabled, then type memstat at the shell and see what's being used. If any pages are swapped out etc.

Then play for a while do memstat again, and compare the output. Perhaps there is amemory leek that gradually using more and more memory.

It may also be that you have something else running, that does not play well with swap and is benig forced into swap as resources are used. Does your DSI always happen in the game itsel;f or in some other component, is it consitant?

I even went as far as reinstalling OS4.1 update 1 on a clean partition then installing update 2 + update 3 and I still get the same problem, I am not running anything in background not supplied with OS4.1 and setup by the OS.

The game may or may not leak ram, but I can leave it running over night with no SWAP partition on my system without it crashing but with a swap partition the game crashes when left unattended after less than an hour. Other users have reported that without SWAP enabled they run out of memory on later levels with only 512MB of RAM like found in my sam440ep.

I uploaded the DSI error in the other linked thread but here is a first part of the DSI I posted in the other thread from before I tried reinstalling OS4.1 update 3 on a clean partition:

Crash log for task "Aquaria"
Generated by GrimReaper 53.2
Crash occured in module Aquaria at address 0x6F785B8C
Type of crash: DSI (Data Storage Interrupt) exception

_________________
Sam440ep 667mhz, 512MB, 120GB 2.5" HD, OS4.1FE
WinUae 3.0.0, OS 3.9, BB3, Catweasel MkIV
Amiga 1200, Blizzard 040/40 (BlizzardPPC 060/200 with SCSI removed at present), mediatorSX pci, Voodoo3, PCI network card os 3.9BB2
4MB Minimig with ARM addon boar

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 12-Dec-2011 16:16:47
#25 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12820
From: Norway

@Dwyloc

the general information s not so useful, place provide stack trace.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Crumb 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 12-Dec-2011 22:14:44
#26 ]
Elite Member
Joined: 12-Mar-2003
Posts: 2209
From: Zaragoza (Aragonian State)

@NutsAboutAmiga

It's better to use 2GB of ram if your machine can handle it and forget swap. Memory is very cheap. AmigaOS is limited to around 1.8GB of ram and having swap partitions won't increase that figure.

_________________
The only spanish amiga news web page/club: CUAZ

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 13-Dec-2011 0:07:46
#27 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12820
From: Norway

@Crumb

I agree.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
whose 
Re: How to get Virtual Memory working on sam440ep mini-itx with OS4.1
Posted on 13-Dec-2011 1:21:18
#28 ]
Cult Member
Joined: 21-Jun-2005
Posts: 893
From: Germany

@Crumb

First problem is, a SAM440ep cant handle more than 512MB physical RAM. Second problem is, a software that handles memory allocations the wrong way wont get better by restricting the system in whole.

@Dwyloc

Time to examine the reaper log and make up a patch, I would say. Had a look into the reaper log you gave over there, and it seems to be a propagating NULL pointer error. Quite typical for software using the *nix style of memory allocations without checking the returned address

I think we will see even more software crashing when the pager kicks in under certain circumstances, and I saw a lot of other software working fine even if the pager is working very hard...

Last edited by whose on 13-Dec-2011 at 01:29 AM.
Last edited by whose on 13-Dec-2011 at 01:29 AM.

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

[ 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