Re: [ARMini-support] SparkFS and Fat32fs

  • From: Jim Lesurf <jcgl@xxxxxxxxxxxxxxx>
  • To: armini-support@xxxxxxxxxxxxx
  • Date: Tue, 12 Nov 2013 16:31:50 +0000 (GMT)

On 12 Nov, Chris Johnson <chris@xxxxxxxxxxxxxxxxxxxxx> wrote:


> One thing that comes to mind - have you checked the size of the RMA
> (Module area)? Fat32Fs keeps the disc map in RMA, and doesn't routinely
> release it when the disc is dismounted. The disc map is large (many MB
> for a SSD), and often continues to grow if you keep mounting and
> dismounting devices. You might not think that is too important on a 1GB
> machine. However, the RMA is limited to a maximum of 256MB by the OS,
> and I have seen mine reach the limit when mounting/dismounting 300GB
> drives. Might be worth keeping an eye on.

That prompted me to do a test whose results I give below in case they may
be a pointer.

I started up the machine and then plugged in a 4GB USB memory stick whilst
observing the memory allocations below I give four values (in 'K' as
listed) for

Free in module area, Largest Block, and Module Area, sizes.

Start = 218, 153, 3328

plug in stick = 150, 86, 3328

click on icon to mount and show filer window = 133, 59, 8336

dismount and unplug = 1358, 59, 8336

plug the same stick in again = 1290, 1156, 8336

click to mount again = 131, 37, 12184

dismount and remove = 1356, 1156, 12184

It seems odd that even the same device with no changes simply take another
area. But maybe this is automatic. The behaviour raises some questions in
my mind.

1) Am I correct in that the ARMiniX doesn't need Fat32fs to read the FAT
partition on the mains SD card once the bootup is complete? i.e. once the
machine has booted the Fat partition should simply be ignored and no access
to it is needed.

2) Is there a command to get Fat32Fs to 'flush' these stored maps (?) and
give back the space?

At present I'm running Fat32Fs by default at bootup. Simply by having the
module in

SDFS::ARMiniX.$.!Boot.Choices.Boot.PreDesk.Fat32Fs

But I'm wondering if this is needed or if I'm doing it incorrectly somehow.
Also if it can either be got to 'clean up and forget' or it is safe to quit
and rmtidy behind it. I did try an 'rmtidy' but that did nothing noticable.

Jim

-- 
Electronics  http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio  http://www.audiomisc.co.uk/Armstrong/armstrong.html
Audio Misc  http://www.audiomisc.co.uk/index.html

---
To alter your preferences or leave the group, 
visit //www.freelists.org/list/armini-support
List-related queries to info@xxxxxxxxxxxx

Other related posts: