is TMPFS still highly experimental?
Maurizio Vairani
maurizio.vairani at cloverinformatica.it
Tue Oct 4 14:09:48 UTC 2011
On 03/10/2011 14.00, Attila Nagy wrote:
> For me, the bug is still here:
> $ uname -a
> FreeBSD b 8.2-STABLE FreeBSD 8.2-STABLE #5: Wed Sep 14 15:01:25 CEST
> 2011 root at buildervm:/data/usr/obj/data/usr/src/sys/BOOTCLNT amd64
> $ df -h /tmp
> Filesystem Size Used Avail Capacity Mounted on
> tmpfs 0B 0B 0B 100% /tmp
>
> I have no swap configured. The machine has 64 GB RAM.
> vm.kmem_size=60G; vfs.zfs.arc_max=55G; vfs.zfs.arc_min=20G
I had the same problem with 8G of swap and 16G of RAM.
After adding 20G of swap space, TMPFS works, at least from yesterday.
[ssh at clover-nas ~]$ swapinfo -h
Device 1K-blocks Used Avail Capacity
/dev/zvol/pool500gb/swap 20971520 7.0M 20G 0%
/dev/gpt/SWAP-BIS 4194304 4.7M 4.0G 0%
/dev/gpt/SWAP 4194304 4.7M 4.0G 0%
Total 29360128 16M 28G 0%
[ssh at clover-nas ~]$
Why TMPFS reports only 15G of free memory when there are more than 28G
free (RAM + swap) ?
[ssh at clover-nas ~]$ df -h /tmp
Filesystem Size Used Avail Capacity Mounted on
tmpfs 15G 12K 15G 0% /tmp
[ssh at clover-nas ~]$ top -b
last pid: 10895; load averages: 0.27, 0.26, 0.22 up 26+02:28:18
15:03:37
112 processes: 1 running, 110 sleeping, 1 zombie
Mem: 19M Active, 262M Inact, 15G Wired, 66M Buf, 679M Free
Swap: 28G Total, 16M Used, 28G Free
Maurizio
P.S. FreeBSD 8.2-RELEASE-p3.
More information about the freebsd-fs
mailing list