Hi ,
1.I have noticed that when i do
#cat /rcfs/taskclass/c1/members
it lists processes which belong to c1 according ro rbce rules and which were created
after CKRM was enabled.
In short , only the processes created after resource management was enabled are classified by
rbce.Is this the expected behaviour ?
Yes. The (super)user can initiate classification of all pre-existing tasks by writing "0" to /rcfs/taskclass/reclassify just after activation of the CE. Better to leave the choice of doing that to the user.
2.rbce is enabled i:e rbce_state file has 1. I did the following #cat /rcfs/ce/rules/r1 uid=1000 , order=10 , state=1 , class=/rcfs/taskclass/c1
#cat /rcfs/taskclass/c1/members 23121 23122 23125 23126
#echo "uid=2" >/rcfs/ce/rules/r1 #cat /rcfs/ce/rules/r1 uid=2 , order=10 , state=1 , class=/rcfs/taskclass/c1
#cat /rcfs/taskclass/c1/members
23121
23122
23125
23126
This shows that though user id has changed , members of class c1 did not change.
Hmm. Again, the question is whether we should be assuming that the user
wants any rule change to affect pre-existing tasks in that class. Its probably better to leave the choice upto the user (she can cat c1's members to /rcfs/taskclass/reclassify). In this case, that is likely to be the common case so a shell script that does it for you as part of any rule change would be useful.
-- Shailabh
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech
