Date: Sat, 26 Jul 2003 16:17:19 -0700 From: John-Mark Gurney <gurney_j@efn.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: kientzle@acm.org Subject: Re: Memory Mangement Problem in 5.1-RELEASE Message-ID: <20030726231718.GI10708@funkthat.com> In-Reply-To: <52699.1059206662@critter.freebsd.dk> References: <Law14-F97JswFCHOzyf0000896a@hotmail.com> <52699.1059206662@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote this message on Sat, Jul 26, 2003 at 10:04 +0200:
> In message <Law14-F97JswFCHOzyf0000896a@hotmail.com>, "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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030726231718.GI10708>
