Date: Mon, 29 Oct 2001 18:18:08 +0200 From: "Moshe Ashkenazi" <moshea@checkpoint.com> To: <freebsd-questions@FreeBSD.ORG> Subject: I need help about swap Message-ID: <001001c16095$4ca4d8f0$97025a3e@SHAGWELL>
next in thread | raw e-mail | index | archive | help
Hi,
I have a FreeBSD machine with 64MB RAM.
While trying to resolve how match swap file the machine using
I was the following three things (please see below: vmstat, pstat -T,
vmstat -s)
It same the machine using 61M of swap file, but the "pages active" is
5085 pages and each page is 4K which means the machine use only 19.85M,
the machine has 44.13MB free.
I will appreciate if some one can help me to figure out what is going
on.
Why the machine use 61MB swap if it has 44.13MB free memory ?
# vmstat -c 5
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr f0 w0 in sy cs us
sy id
0 0 0 133076 8924 109 1 3 10 80 4092 0 12 1144 1215 70 4
3 93
0 0 0 133076 8920 2 0 0 0 10 0 0 0 1140 586 56 0
1 99
0 0 0 133076 8920 1 0 0 0 0 0 0 0 1139 524 56 0
1 99
0 0 0 129664 8920 1 0 0 0 0 0 0 0 1135 524 55 0
0 99
0 0 0 129664 8920 1 0 0 0 0 0 0 0 1135 524 56 0
1 99
# pstat -T
227/8192 files
1602 vnodes
61M/258M swap space
#vmstat -s
64540 cpu context switches
1060680 device interrupts
52647 software interrupts
92775 traps
1129994 system calls
678 swap pager pageins
1930 swap pager pages paged in
5249 swap pager pageouts
11234 swap pager pages paged out
2151 vnode pager pageins
9281 vnode pager pages paged in
3997 vnode pager pageouts
3997 vnode pager pages paged out
1259 page daemon wakeups
3777147 pages examined by the page daemon
1376 pages reactivated
17239 copy-on-write faults
38391 zero fill pages zeroed
28 intransit blocking page faults
100805 total VM faults taken
74616 pages freed
108 pages freed by daemon
35289 pages freed by exiting processes
5085 pages active
1714 pages inactive
151 pages in VM cache
4752 pages wired down
2080 pages free
4096 bytes per page
255933 total name lookups
cache hits (91% pos + 0% neg) system 0% per-process
deletions 0%, falsehits 0%, toolong 6%
Moshe Ashkenazi,
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c16095$4ca4d8f0$97025a3e>
