That is an Insignificant amount of swap. You can also see in that sample, Swap
in and Swap out is (si and so) is zero. So during vmstat sample there
was no swap activity, but 224 K bytes (I think VM stat expresses in 1K
increments) in and 180K bytes out. Their tech sent you a statistically invalid
sample because the data presented contains ONE sample.
I always throw away the first sample from a vmstat run (vmstat 1 100 for
instance gives 1 second samples for 100 samples) and go with the 2nd onward
because in a swapping environment the important numbers are the VELOCITY of the
swapping not the fact that there's 80 K of swap. If my Linuxes have 80
K of swap I'm hardly concerned. I have WebSphere instances that routinely
generate 2-3 hundred MEG of swap during application deployment.
Based on what you are showing me, you didn't swap during the FTP. Have them run
vmstat the entire time the FTP is running and they may actually get
you some statistically valid data.
Until they do, they're fishing.
-J
Jon Brock <[EMAIL PROTECTED]>
Sent by: Linux on 390 Port
<[email protected]>
To
[email protected]
cc
06/20/2006 03:41 PM
Subject
Swapped or
not?
Please respond to
Linux on 390 Port <[email protected]>
We have a vendor doing some FTP stress-tests on one of our images, and their
tech has sent the following data, cut and pasted from a Linux screen.
[EMAIL PROTECTED] ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 80 1768 1324 236552 0 0 224 180 270 294 0 1 94 4
[EMAIL PROTECTED] ~]# free -m
total used free shared buffers cached
Mem: 371 369 1 0 1 229
-/+ buffers/cache: 139 231
Swap: 562 0 562
He mentions that "This indicates that swap was being used during the FTP." I
presume he is referring to the value 80 under "swpd" in the memory
category. That, however, does not seem to me to square with the swap-in and
swap-out rates of 0 and the "used" value of 0 on the last line.
What exactly does the "swpd" number mean?
Thanks,
Jon
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390