29 December 2013, 01:19 | #1 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Mounting real CF eats up a lot of RAM
I was wondering why my setup in WinUAE is eating a lot of RAM if I mount my real Amiga-formatted CF on it.
I boot to the system with no startup sequence and I am left with 300+KB on a 1MB system, whereas if I mount a directory instead of the CF RDB card I get about 800+KB which sounds about right. I never noticed such memory leak but before I never tried to do this with a stock A600 alike config. Am I doing something wrong or is this normal? (WinUAE 2.7.0 btw) |
29 December 2013, 01:35 | #2 |
Professional slacker!
|
When you mount an Amiga formatted drive in WinUAE it will act exactly like on the real Amiga so HDD buffers for example will use up Ram, the bigger the drive and the more buffers the more Ram you will use.
So if you hook this drive up to a real 1mb A600 I bet the results are the same |
29 December 2013, 01:48 | #3 | |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Quote:
I can try again, but pretty sure that the hard drive shouldn't eat 650KB of RAM :/ It's a 256MB drive, it is impossible, it woould mean attaching a 512MB drive to a 1MB Amiga would render it useless and that defies logic. [edit] I just remembered, this might have PFS3 AIO on it, would this eat up more RAM? How can I check if it has PFS3? |
|
29 December 2013, 01:56 | #4 |
Professional slacker!
|
HDD Buffers are assigned when you partition the drive so if the partition has mounted then the memory for those HDD buffers will be used.
However I have similar findings with SFS, it seems to use a lot of Ram so maybe PFS3 is the same, for example I had a drive setup for an A1200 with 4gb drive using SFS and with 30 buffres for each of 3 partitions it was using almost 1mb Ram just to mount the partitions! With FFS only 300k |
29 December 2013, 02:15 | #5 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Is it safe to change the buffer then? I don't mind at all reformatting this thing, I am re-instlling everything anyway.
Is there any way to safely optimize this for lower spec machines? Should I switch to FFS? (UGH ) |
29 December 2013, 09:15 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
You sure you don't have some extra settings enabled in WinUAE that also uses some Amiga-side memory, like clipboard sharing?
Buffer value can be modified without losing data. AFAIK with PFS3 1 buffer = 1k of memory. Each partition has its own buffer. |
29 December 2013, 12:09 | #7 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
No, no such thing enabled. Only "Disable UAEFSDB" option checked.
How do I know how many buffers the partition needs? I -never- messed with that setting. And I forgot how to check if my disk is PFS3 or whatever, I can't really know what dos/3 or dos/4 is. [edit] Just checked the buffer setting on HDToolbox. Each partition has 30 buffers. If each buffer is 1K, it should not be eating more than 60K! |
29 December 2013, 14:46 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Try mounting it as IDE0 (with matching A600 hardware config, make also sure Chipset Extra in chipset panel is "A600").
Do you now get different (and hopefully correct) memory usage? |
29 December 2013, 16:58 | #9 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Funny, I had it as IDE0 already and did try it the other way around as UAE, getting the same results.
|
29 December 2013, 17:01 | #10 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
I noticed that on the drives list, when I chose IDE0 it says "Volume: HDF" while choosing UAE it says "N/A".
Also UAE device seems to use less RAM, but still too much: |
29 December 2013, 17:08 | #11 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Attach winuaelog.txt with your HDF mounted as UAE. |
|
30 December 2013, 00:39 | #12 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
It's not an HDF, it's a real RDB compactflash.
I will do this and log! |
30 December 2013, 15:07 | #13 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Here's the log attached, hopefully it makes sense.
|
30 December 2013, 19:46 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Log looks fine (except weird dostypes but it shouldn't cause any problems).
Do you get same results if you use 3.1 ROMs? |
30 December 2013, 21:20 | #15 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Yup, same results.
I don't remember getting this at all in my A600, though, and I was using this same card and setup for over a year. I'll try it again tomorrow with this card and see what's up. |
30 December 2013, 23:13 | #16 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Dump the RDB to a file and attach it here.
Attach the startup-sequence and user-startup files here. Do you have some kind of soft-kick enabled? This would certainly need some 512+ KB of RAM. Rename startup-sequence to startup-sequence.disabled, so that it cannot be found for sure. Wait at least five seconds until all changes are written to disk, then press F12, click on Restart (not Reset!) and Start. Does it still eat that much memory? |
31 December 2013, 10:18 | #17 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Sorry, I never done this, so I'll ask: how do I dump the RDB to a file?
Softkick isn't enabled. Also this log is booting straight into the disk without startup-sequence, so there wouldn't be any chance to softkick a ROM. This applies to your second statement too: I booted WITHOUT startup-sequence from cold boot. |
31 December 2013, 11:02 | #18 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
http://thomas-rapp.homepage.t-online...oads/tsgui.lha |
|
31 December 2013, 11:15 | #19 |
Professional slacker!
|
I made a couple of quick tests with a 2gb CF I have here, first I setup with PFS3-AIO, copied WB3.1 and booted without SS: (I had by default 3 equal partitions 80 buffers each) WinUAE using A600 quick start, 3.1Rom 40.63
Then I setup with FFS: (3 equal partitions 30 buffers each) Just to see if buffers were the cause of the high usage in the first PFS3 test I set 2 partitions (200mb/the rest) and 30 buffers per partition: So a bit was saved but still very high usage with PFS3 compared to FFS! I'm wondering why PFS3 eats up this much Disk space? |
31 December 2013, 11:21 | #20 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Does official PFS3 do the same? Perhaps some pfs3 svn update accidentally increased memory usage. (I haven't really checked what they do, I just added 1.3 compatibility, NSD and others that can't increase memory usage)
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mounting of real hard disk doesn't work anymore | mikro | support.WinUAE | 6 | 13 May 2012 18:44 |
mapROM eats too much RAM | alphonsus | support.Hardware | 9 | 10 July 2008 01:16 |
differences in ram consuming winuae vs real 1200 | _ThEcRoW | support.WinUAE | 9 | 02 May 2006 13:01 |
Mounting .adf in RAM | lauri_t | project.ClassicWB | 9 | 30 April 2005 22:10 |
Mounting ADF files as disks on real amiga | dkovacs | support.Apps | 5 | 08 April 2005 16:57 |
|
|