No, AFAIK they are currently charged to the task that performs the swap. Unless that has changed recently.
Thats correct. The I/O controller only regulates using the class of the task initiating the I/O (say t1, doing swap I/O in this case).So swap I/O will not get charged to the presumably-over-mem-share task, say t2, whose pages are being swapped out.
Not clear if the latter would be a better strategy. Since t1 is going to be benefit from the freed mem, it would be better to use its I/O share if its larger than that of t2. OTOH, if t2 has a larger share, it could be "punished" for being overmem by using up its I/O as well. Like taxes,
it might be a good idea to use the max(t1->ioshare, t2->ioshare) !
Of course, determining whether swap I/O is being done and to derive t2's identity would require inter-controller cooperation which is firmly in the area of future work. Good thought though.
-- Shailabh
-- Hubertus
Marc E. Fiuczynski wrote:
Chandra & Shailabh,
When the CKRM memory controller causes pages to be swapped out, to which
CKRM I/O class is this charged (in terms of limits)? I am asking because we
see what I'd call "swap hogs" and I am curious whether those will be
punished appropriately by the CKRM I/O controller.
Best, Marc
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chandra Seetharaman Sent: Saturday, September 25, 2004 12:46 AM To: [EMAIL PROTECTED] Subject: [ckrm-tech] memory resource controller for e16
Hello All,
Here is the memory resource controller for e16.
Following are the changes(from what was released under e15): - fix to work properly with initrd - reduced code changes - docuemntation (high level design description and usage) - fix for infinitive loop seen in refill_inactive - fix to work properly with HIGHPTE - other fixes
Try it and let me know if you have any problems/questions/...
chandra
--
---------------------------------------------------------------------- Chandra Seetharaman | Be careful what you choose.... - [EMAIL PROTECTED] | .......you may get it. ----------------------------------------------------------------------
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech
