English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 09 February 2021, 12:16   #1
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Startup-sequence using a lot of Fast Ram

Hi,
I have a CDTV with 8MB Fast and I now have an ACE2b 2MB chip,
If i load Workbench from floppy i have nearly the total amount of memory available but if i boot from my custom CD it is using over 2MB of fast ram.
There is only 13k in use in my ram drive and the only process running in status is workbench.
I am wondering if there is something in my startup-seuence that could be causing this (I do have decigel enabled as i have a 68010 but this should only use a few k and i could disable it as i use whdload)):

RMTM
FailAt 21
C:Version >NIL: exec.library 45 20
If WARN
C:SetPatch QUIET
Else
C:Version >NIL: C:SetPatch 44 16
If WARN
C:SetPatch QUIET
Else
C:SetPatch NOROMUPDATE QUIET
EndIf
EndIf

Cecigel
C:Version >NIL:
C:AddBuffers >NIL: DF0: 15

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

BindDrivers
C:Mount >NIL: DEVSOSDrivers/~(#?.info)

IF EXISTS DEVS:Monitors
IF EXISTS DEVS:Monitors/VGAOnly
DEVS:Monitors/VGAOnly
EndIF

C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
Execute T:M
Celete >NIL: T:M
EndIF

Sys:TinyLauncher.exe

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:AddDataTypes REFRESH QUIET
C:IPrefs
C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

IF EXISTS S:User-Startup
Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

C:LoadWB
EndCLI >NIL:
ScottC2010 is offline  
Old 09 February 2021, 13:13   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Just add some "avail fast >ram:mem.log" lines in your S-S and maybe U-S to see where the memory is eaten.
daxb is offline  
Old 09 February 2021, 14:26   #3
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Thanks I will try that
ScottC2010 is offline  
Old 09 February 2021, 15:52   #4
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,058
How about that (just for testing; also, there where typos in the startup-sequence) hope that helps you. greetings, Torti

;RMTM
;FailAt 21
;C:Version >NIL: exec.library 45 20
;If WARN
;C:SetPatch QUIET
;Else
;C:Version >NIL: C:SetPatch 44 16
;If WARN
;C:SetPatch QUIET
;Else
C:SetPatch NOROMUPDATE QUIET
;EndIf
;EndIf

;Cecigel
C:Version >NIL:
;C:AddBuffers >NIL: DF0: 15

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

BindDrivers
C:Mount >NIL: DEVS/DOSDrivers/~(#?.info)

IF EXISTS DEVS:Monitors
IF EXISTS DEVS:Monitors/VGAOnly
DEVS:Monitors/VGAOnly
EndIF

C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
Execute T:M
Delete >NIL: T:M
EndIF

;Sys:TinyLauncher.exe

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:AddDataTypes REFRESH QUIET
C:IPrefs
C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

IF EXISTS S:User-Startup
Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

C:LoadWB
EndCLI >NIL:

Last edited by Torti-the-Smurf; 07 September 2022 at 20:47.
Torti-the-Smurf is offline  
Old 09 February 2021, 16:00   #5
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Thank you, i will definitely have a look at this

Last edited by ScottC2010; 09 February 2021 at 16:02. Reason: Spotted the typos
ScottC2010 is offline  
Old 09 February 2021, 16:26   #6
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,058
Also, check the size of the ENV Folder in RAM:
Is it big ?

It´s the same as ENVARC: that is located in SYS:Prefs/Env-Archive

and will be copied in the beginning of the Start-Sequence to RAM:

Anyway, i put the Startup-sequence with the modified ENV: for you to download and to terst. maybe the ENV: is just to big. Hope that helps

Last edited by Torti-the-Smurf; 07 September 2022 at 20:46.
Torti-the-Smurf is offline  
Old 09 February 2021, 16:54   #7
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,058
So,here it is the "optimized" version . hope that helps. - Its just a start, you can always change and reedit. Greetings, Torti

Last edited by Torti-the-Smurf; 07 September 2022 at 20:47.
Torti-the-Smurf is offline  
Old 09 February 2021, 18:31   #8
Amiga1992
Registered User
 
Join Date: May 2001
Location: ?
Posts: 19,645
It could probably be Setpatch.
Amiga1992 is online now  
Old 09 February 2021, 18:35   #9
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Great, i'll try these and let you know how I get on - thanks for all the help!
ScottC2010 is offline  
Old 09 February 2021, 18:38   #10
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,058
I had never a Startup-Sequence in my life without Setpatch.
(At least when i want to load into a WB setup)

It is an essential programm that is in every WB Startup-Sequence for a reason.
(At least in a serious Startup-Sequence) But you can try, why not.
Torti-the-Smurf is offline  
Old 09 February 2021, 21:37   #11
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Looks like this must be a cdtv issue as when i use the new startup it still shows as 6MB Fast in the cdtv and 8MB if i run it on a 500+
I'll keep looking into this...
ScottC2010 is offline  
Old 09 February 2021, 21:47   #12
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Is there a good program that works like task manager in Windows? - maybe it would be useful to see what is actually using the memory when i run in cdtv mode (I am using the same settings as for the 500+ (2MB Chip and 8MB Fast)
ScottC2010 is offline  
Old 09 February 2021, 22:49   #13
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by ScottC2010 View Post
Is there a good program that works like task manager in Windows? - maybe it would be useful to see what is actually using the memory when i run in cdtv mode (I am using the same settings as for the 500+ (2MB Chip and 8MB Fast)

What about HDD buffers?
If they are setup high, they will eat RAM.
FOL is offline  
Old 09 February 2021, 23:18   #14
zipper
Registered User
 
Join Date: Mar 2004
Location: finland
Posts: 1,837
http://aminet.net/util/boot/startmem.lha
zipper is offline  
Old 10 February 2021, 02:31   #15
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Quote:
Originally Posted by FOL View Post
What about HDD buffers?
If they are setup high, they will eat RAM.
There is no hdd in the CDTV I have but can you let me know where the buffer settings are as it may apply to cdrom, thanks
ScottC2010 is offline  
Old 10 February 2021, 05:53   #16
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
If you are using the CDTV Extended ROM v2.30 this an unfortunate side effect.

According to my tests under certain conditions there is a loss of 2MB fastmem.

Using the CDTV Extended ROM v2.7 does not present that issue.

To check which CDTV Extended ROM version you have, just boot your CDTV with no disk and when the boot intro is displayed, where the rocks are shown, in a tiny font you will see the CDTV Extended ROM version number.
gulliver is offline  
Old 10 February 2021, 09:55   #17
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by ScottC2010 View Post
There is no hdd in the CDTV I have but can you let me know where the buffer settings are as it may apply to cdrom, thanks

Sorry as you were talking about startup-sequences, I assumed you were using HDD.
FOL is offline  
Old 10 February 2021, 11:48   #18
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Quote:
Originally Posted by FOL View Post
Sorry as you were talking about startup-sequences, I assumed you were using HDD.
That's ok I am wondering if the cdrom buffer then could be causing a memory address conflict as it uses about 80k as cache especially now that i have the 2MB Chip as well as the 8MB Fast - I will look first at what is using the memory with the program provided to me - maybe using a log and running it in winuae (I have managed to replicate my problem exactly in that by running a 500+ and also a cdtv with the same config except i boot the 500+ from a folder and the cd from an iso created from the folder (The folder is a wb3.1 with whdload and also the RMTM and CDTV.TM files you need)
ScottC2010 is offline  
Old 10 February 2021, 14:42   #19
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 5,999
Send a message via MSN to FOL
Quote:
Originally Posted by ScottC2010 View Post
That's ok I am wondering if the cdrom buffer then could be causing a memory address conflict as it uses about 80k as cache especially now that i have the 2MB Chip as well as the 8MB Fast - I will look first at what is using the memory with the program provided to me - maybe using a log and running it in winuae (I have managed to replicate my problem exactly in that by running a 500+ and also a cdtv with the same config except i boot the 500+ from a folder and the cd from an iso created from the folder (The folder is a wb3.1 with whdload and also the RMTM and CDTV.TM files you need)

How are you making the disc's. ISOCD?
If so, then you can alter buffers when creating ISO. I reduced it to 2, for Rise Of The Robots (custom disc). It would not run, if it could not get full RAM, so reducing buffers while creating ISO solved that.


Its not an issue, as you can remove buffers / add buffers from CLI commands.
FOL is offline  
Old 10 February 2021, 16:26   #20
ScottC2010
Registered User
 
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
Quote:
Originally Posted by FOL View Post
How are you making the disc's. ISOCD?
If so, then you can alter buffers when creating ISO. I reduced it to 2, for Rise Of The Robots (custom disc). It would not run, if it could not get full RAM, so reducing buffers while creating ISO solved that.


Its not an issue, as you can remove buffers / add buffers from CLI commands.
Yes, I'm using ISOCD. This very useful, thank you i will try this too!

Last edited by ScottC2010; 10 February 2021 at 16:27. Reason: Add ISOCD confirmation
ScottC2010 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ultra Low RAM Startup-Sequence alexh support.Apps 21 09 November 2023 17:06
startup-sequence jarre Coders. General 7 22 October 2018 10:34
adaptive startup-sequence depending on accelerator ram elbrunzy support.Other 5 02 August 2017 21:40
3.9 Startup Sequence dannyp1 Amiga scene 2 04 January 2016 20:56
Startup-Sequence blade002 support.Apps 8 04 April 2008 19:06

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 16:33.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.18805 seconds with 13 queries