https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238200

            Bug ID: 238200
           Summary: top(1)'s Swap In and Out numbers are twice as much
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

top has been reporting twice as high as actual transaction for swap-in and
swap-out.

Swap: 2048M Total, 201M Used, 1847M Free, 9% Inuse, 27M Out

In this line, top reported 27M Out.  However, systat -vm only shows 13.5 MB
transaction for the same period to the device.

We need 3 terminals to observe:
term1 % top
term2 % systatm -vm 1
term3 % swapon <large-device>
term3 % mount -t tmpfs tmpfs /mnt/tmp
term3 % dd if=/dev/zero of=/mnt/tmp/large.txt bs=1M count=3000

Also Having 1 swap device makes easier to observe.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to