Re: Reload VM hint?
Re: Reload VM hint?
- Subject: Re: Reload VM hint?
- From: Brian Bergstrand <email@hidden>
- Date: Wed, 30 May 2007 11:23:26 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
man fcntl
Read the F_NOCACHE section.
On May 30, 2007, at 9:47 AM, James Bucanek wrote:
Greetings,
I'm hoping this is the correct list. It sounds like a Kernel issue.
Feel free to enlighten me if it's not.
I'm looking for a way to reload pages that have been paged out by
another process.
They scenario is pretty simple: I've written an application that
uses a lot (100s of MB) of RAM. Users run the application (it's a
backup utility). Applications does its thing and terminates. Users
now complain that their system is "sluggish and unresponsive."
The problem, obviously, is that as the application ran it forced
just about everything else in RAM to be paged out to the VM backing
files. The OS then spends the next 30 seconds, or more, paging it
back in -- a period of time my users describe as "eternity."
Is there anyway for my application to send a "hint" or command to
the VM manager that will cause it to reload the recently paged out
memory pages? I have a supervisory process (a scheduler daemon)
that can do this after the process terminates.
--
James Bucanek
Brian Bergstrand
<http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGXaUDedHYW7bHtqIRAqv0AKDptN3olIllr5t6tzpoM/3gt3C+IQCfQ656
6DAucGKXI8G/Sd4fUu156lk=
=PWfV
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden