Poul-Henning Kamp wrote this message on Sat, Jul 26, 2003 at 10:04 +0200:
> In message <[EMAIL PROTECTED]>, "Ahmed Al-Hindawi" writes
> Programs like cp(1) uses mmap(2) to copy things, so if you cp(1) a big
> file, it is not uncommon for some programs to end up on swap.  Until they

Only for files up to 8megs in size.  I was meaning to ask if we should
incrase this limit.

line 136 of src/bin/cp/utils.c:
        if (S_ISREG(fs->st_mode) && fs->st_size <= 8 * 1048576) {

> are used again, they will not get paged in.  I often see the getty's for
> the vty's and similar junk on my swap space.

-- 
  John-Mark Gurney                              Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to