Hi Chandra , 
        I was debugging the problem.
        I could not pin point the problem.
        When i carry out following steps and wait for 
        3-4 minutes  , system enters kdb 
        automatically       
     
        1. insert rcfs , rbce , ckrm_numtasks , 
           ckrm_listenaq modules.
        2. mount rcfs.
        3. create /rcfs/taskclass/c1
        4. echo
"tag=mytag,class=/rcfs/taskclass/c1">/rcfs/ce/rules/r1

        This is some info.
        

        Kdb>
        EIP is at create_private_data + 0x154/0x1d0
         eip=0xd0cba124
          Call Trace:
            rbce_tc_classify
            cb_taskclass_fork
            ckrm_invoke_event_cb_chain
            recalc_sigpending
            sigprocmask
            sys_clone
            sysenter_past_esp

        kdb>id 0xd0cba124
          
0xd0cba124  create_private_data+0x154: 
                    repnz scas %es:    (%edi,%al)
                    not %ecx
                    dec %ecx

thanks,
  --kiran




           


--- mehta kiran <[EMAIL PROTECTED]> wrote:

> Hi Chandra , 
>     I tried uncommenting the code from the function
>     u specified.
>         
>     But machine stops responding.
>     Sometimes it stop responding when i cat members
>     of affected class , sometimes when i start 
>     different shell etc.
> 
>     This happened aroung 5-6 times.
>     I will try to debug it . 
> thanks,
> --kiran
> 
>     
> --- Chandra Seetharaman <[EMAIL PROTECTED]> wrote:
> 
> > On Wed, Feb 23, 2005 at 04:47:58AM -0800, mehta
> > kiran wrote:
> > 
> > Kiran,
> > 
> > As I said in my earlier mail, tag is there and it
> is
> > usable currently.
> > It is just not inherited... The code is already
> > there, but commented out.
> > I am trying to remember if there was any problem
> > with that feature.
> > 
> > You can try it by uncommenting the code that
> copies
> > the app_tag in
> > rbcemod.c:create_private_data(), and run some
> tests.
> > 
> > chandra
> > 
> > > Hi Chandra , 
> > >         Thanks.
> > >        but i have a small query which remains
> > >        unanswered.
> > >        I went through resource management on
> > >        other operating systems.SRM
> > >        (Solaris resource Manager) , PRM(Process 
> > >        Resource Manager on HP)  have entity
> called
> > as
> > >        projectid (same as application tag on
> > linux)
> > >        which is being used by many application
> > >       
> > >        
> > >        This feature may be very important users 
> > >        perspective. 
> > >        Are you planning to enable application
> tag
> > >        on linux in near future ?
> > > 
> > >        Please let me know.
> > >       
> > > thanks,
> > >   --kiran
> > > 
> > > --- Chandra Seetharaman <[EMAIL PROTECTED]>
> > wrote:
> > > 
> > > > On Mon, Feb 21, 2005 at 08:37:14PM -0800,
> mehta
> > > > kiran wrote:
> > > > > Hi Chandra , 
> > > > >      Your reply was definitely helpful.
> > > > >    1.From your reply what i concluded is
> that
> > > > >      *if* after fork child belongs to the
> same
> > > > class
> > > > >      as parent(in accordance with CE rules)
> ,
> > then
> > > > >      both parent and child will respect
> > attribute
> > > > >      values(ex: amount of cpu or mem pages).
> > > > yes.
> > > > 
> > > > >    2.But is there any way to specify a rule
> ,
> > so
> > > > >      that all the descendents of a process
> > belong
> > > > >      to same class.
> > > > 
> > > > Inheriting tags would provide this
> > functionality.
> > > > Currently, it is
> > > > disabled.. I don't exactly remember why we
> > disabled
> > > > it. will try to
> > > > remember.
> > > > 
> > > > >    3.From other mails on this mailing list 
> ,
> > I
> > > > >      inferred that tag(application tag)
> cannot
> > be
> > > > >      used for this purpose.
> > > > >    4.I can not find any info on "tag".
> > > > >      If i start a new process what will be
> its
> > > > >      tag.Is it inherited by child?
> > > > 
> > > > Tag gets associated with a process only when
> you
> > > > write the "pid tag" to the
> > > > rbce_tag file. currently it is not inherited,
> so
> > > > there is no tag for a
> > > > process at fork.
> > > > Also, tags come into picture only if you have
> > RBCE.
> > > > 
> > > > >     
> > > > >      Example:
> > > > > 
> > > > >             I have bash running. If i do
> > > > >             # su - abc
> > > > >             then new  process created goes
> in 
> > > > >             a different class.
> > > > >      I could not find any rule which can
> hold
> > both
> > > > >      parent and child in same class if child
> > pid,
> > > > >      child gid change.(child is diffrent
> > command
> > > > then
> > > > >      parent nad hence cmd and args will not
> > always
> > > > 
> > > > >      prove useful)
> > > > >  
> > > > >      5. If whatever i told above is not
> wrong,
> > > > >         any plans to provide such a
> facility? 
> >  
> > > > >      
> > > > > thanks & regards,
> > > > >    --kiran
> > > > > 
> > > > > 
> > > > > --- Chandra Seetharaman
> <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > 
> > > > > > On Mon, Feb 21, 2005 at 02:12:10AM -0800,
> > mehta
> > > > > > kiran wrote:
> > > > > > > Hi , 
> > > > > > >      If CKRM is being used , is it
> always
> > > > > > guaranteed
> > > > > > > that child inherits parents attribute
> > values.
> > > > > > 
> > > > > > In the absence of CE, at fork(), parent's
> > class
> > > > _is_
> > > > > > inherited
> > > > > > by the child.
> > > > > > 
> > > > > > If you have a CE, then the CE determines
> > where
> > > > the
> > > > > > new task ends, CE
> > > > > > could decide the classification at fork(),
> > > > exec() or
> > > > > > any other kernel
> > > > > > classification points. For example, in
> RBCE
> > if
> > > > you
> > > > > > have a rule
> > > > > >
> > "cmd=sleep,class=/rcfs/taskclass/sleep_class",
> > > > and
> > > > > > bash belongs to
> > > > > > /rcfs/taskclass, then when sleep is
> invoked
> > from
> > > > > > bask, at fork(), the new
> > > > > > task will belong to /rcfs/taskclass, and
> > after
> > > > exec
> > > > > > it will be moved to 
> > > > > > /rcfs/taskclass/sleep_class.
> > > > > > 
> > > > > > 
> > > > > > > Ex: parent uses 10% of cpu then will
> child
> 
=== message truncated ===



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250


-------------------------------------------------------
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

Reply via email to