Swapping caused by very large (regular) file size

Peter Jeremy peterjeremy at optushome.com.au
Fri Jan 11 19:31:51 PST 2008

On Fri, Jan 11, 2008 at 06:44:20PM +0100, Kris Kennaway wrote:
>Ian West wrote:
>> dd if=/dev/zero bs=32768 of=junkfile count=100000 seems to do it quite
>> reliably on all the boxes I have tested ?
>I am unable to reproduce this on 7.0.

I can't reproduce it on 6.3-PRERELEASE/amd64 with 1GB RAM.

vmstat -s;dd if=/dev/zero bs=32768 of=junkfile count=100000;vmstat -s
shows the following changes:
        2 swap pager pageins
        2 swap pager pages paged in
        4 swap pager pageouts
        5 swap pager pages paged out
       24 vnode pager pageins
       78 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out

Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080112/176a6c01/attachment.pgp

More information about the freebsd-stable mailing list