Issue #2868 has been updated by marino.

208 should have been 232 but then it would be 108 + 108 + 108 > 232.

The point being dragonfly doesn't try to resize X tmpfs mounts based on 
available memory.  If you have 3 mounts, do you shrink them proportionally?  by 
the same amount?  only 1 and leave the X-1 others alone?  

Again, just defining the max size would solve all the uncertainty.

----------------------------------------
Bug #2868: tmpfs problems: incorrect size, no auto-size
http://bugs.dragonflybsd.org/issues/2868#change-12791

* Author: [email protected]
* Status: New
* Priority: Low
* Assignee: 
* Category: VFS subsystem
* Target version: 
----------------------------------------
tmpfs version in DragonFly is limited  when comparing to FreeBSD:

1. When tmpfs is mounted automatically it's size by default (per man page) 
should be equal to all free mem + all free swap. Instead tmpfs filesystems are 
created with a fairly small size - like 200k on host with 1G mem.
2. tmpfs size should be auto adjusted when other processes are eating mem or 
when swap is added. Instead as swap is initialized after mounting /tmp swap 
addition doesn't make tmpfs grow. On the other hand I never saw tmpfs shrinking 
when all available memory is used.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to