linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: linux-mm@kvack.org
Subject: Paging out sleepy processes?
Date: Wed, 20 Oct 1999 04:24:04 -0400	[thread overview]
Message-ID: <380D7C24.AA10E463@mandrakesoft.com> (raw)

I have a simple app that I run locally that allocates and randomly
dirties a lot of memory all at once, with the intention of forcing Linux
to swap out processes.

How possible/reasonable would it be to add a feature which will swap out
processes that have been asleep for a long time?

IMHO this behavior would default to off, but can be enabled by
specifying the age at which the system should attempt to swap out
processes:

	# tell kernel to swap out processes which have been asleep
	# longer than N seconds
	echo 7200 > /proc/sys/vm/min_sleepy_swap

Is there a way to do this already?

Regards,

	Jeff
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

             reply	other threads:[~1999-10-20  8:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-20  8:24 Jeff Garzik [this message]
1999-10-21  5:38 ` Wang Yong
1999-10-21  8:09   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=380D7C24.AA10E463@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox