svn commit: r227310 - head/sys/fs/tmpfs

Marcel Moolenaar marcel at xcllnt.net
Tue Nov 8 15:49:46 UTC 2011


On Nov 8, 2011, at 2:26 AM, Gennady Proskurin wrote:

> TMPFS is not usable without swap, it should have better algorithms to adjust
> it's size, depending on amount of memory/swap available.
> 
> # swapoff -a
> # swapinfo 
> Device          1K-blocks     Used    Avail Capacity
> 
> # top
> Mem: 253M Active, 282M Inact, 933M Wired, 3972K Cache, 135M Buf, 491M Free
> Swap: 
> 
> # df -h /tmp
> Filesystem    Size    Used   Avail Capacity  Mounted on
> tmpfs         436k    436k      0B   100%    /tmp
> 
> no free space on /tmp
> 
> # uname -a
> FreeBSD gpr.drweb.com 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225446M: Thu Sep  8 17:30:46 MSK 2011     gpr at gpr.drweb.com:/usr/obj/usr/src/freebsd-head/sys/DRW_A  amd64


Thanks, for the report. Can you file a PR so that we can
track this.

Thanks!

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the svn-src-all mailing list