09 February 2021, 12:16 | #1 |
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: |
09 February 2021, 13:13 | #2 |
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.
|
09 February 2021, 14:26 | #3 |
Registered User
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
|
Thanks I will try that
|
09 February 2021, 15:52 | #4 |
Registered User
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. |
09 February 2021, 16:00 | #5 |
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 |
09 February 2021, 16:26 | #6 |
Registered User
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. |
09 February 2021, 16:54 | #7 |
Registered User
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. |
09 February 2021, 18:31 | #8 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
It could probably be Setpatch.
|
09 February 2021, 18:35 | #9 |
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!
|
09 February 2021, 18:38 | #10 |
Registered User
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. |
09 February 2021, 21:37 | #11 |
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... |
09 February 2021, 21:47 | #12 |
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)
|
09 February 2021, 22:49 | #13 | |
PSPUAE DEV
|
Quote:
What about HDD buffers? If they are setup high, they will eat RAM. |
|
09 February 2021, 23:18 | #14 |
Registered User
Join Date: Mar 2004
Location: finland
Posts: 1,837
|
|
10 February 2021, 02:31 | #15 |
Registered User
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
|
|
10 February 2021, 05:53 | #16 |
BoingBagged
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. |
10 February 2021, 09:55 | #17 |
PSPUAE DEV
|
|
10 February 2021, 11:48 | #18 |
Registered User
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
|
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)
|
10 February 2021, 14:42 | #19 | |
PSPUAE DEV
|
Quote:
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. |
|
10 February 2021, 16:26 | #20 | |
Registered User
Join Date: Apr 2017
Location: Leamington Spa / Warwickshire
Posts: 532
|
Quote:
Last edited by ScottC2010; 10 February 2021 at 16:27. Reason: Add ISOCD confirmation |
|
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 |
|
|