Re: [PATCH] RCU torture-testing kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 24, 2005 at 09:24:33AM -0700, Badari Pulavarty wrote:
> On Sun, 2005-10-23 at 17:47 -0700, Paul E. McKenney wrote:
> > On Sun, Oct 23, 2005 at 12:05:21PM -0700, Andrew Morton wrote:
> > > Ingo Oeser <[email protected]> wrote:
> > > >
> > > > DEBUG_KERNEL should do nothing more than showing the debugging
> > > >  options. 
> > > 
> > > yup.
> > > 
> > > >  E.g. I don't expect to enable any additional code in an 
> > > >  unrelated file, if I enable Magic-SysRQ on an embedded, unattended device
> > > >  to be able to analyze potential problems via serial console.
> > > > 
> > > >  @Andrew: Would you accept a patch to fix that?
> > > 
> > > more yup.
> > 
> > OK, the attached patch covers this and also fixes the redundant #include
> > that Greg KH spotted.
> > 
> > Thoughts?
> 
> Paul,
> 
> I enabled RCU_TORTURE_TEST in 2.6.14-rc5-mm1. My machine took 10+
> minutes to boot and let me login. RCU kthreads are hogging the CPU. 
> Is this expected ? 

If you did CONFIG_RCU_TORTURE_TEST=y, then yes.

I do CONFIG_RCU_TORTURE_TEST=m so that I can just do a "modprobe rcutorture"
when I want to start the test.  Also allows me to do several runs per boot
with different arguments.

I wonder if I should somehow exclude "=y" on this one -- I haven't come
up with any case where it is useful.

Thoughts?

							Thanx, Paul

> Thanks,
> Badari
> 
> top - 15:32:55 up 22 min,  1 user,  load average: 10.96, 12.07, 9.18
> Tasks:  94 total,  11 running,  83 sleeping,   0 stopped,   0 zombie
> Cpu(s):  2.5% us, 97.5% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,
> 0.0% si
> Mem:   7145152k total,   350656k used,  6794496k free,    50876k buffers
> Swap:  1048784k total,        0k used,  1048784k free,   160168k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>   168 root      20  -5     0    0    0 R 50.2  0.0  10:44.01
> rcu_torture_rea
>   171 root      20  -5     0    0    0 R 50.2  0.0  10:47.86
> rcu_torture_rea
>   175 root      20  -5     0    0    0 R 50.2  0.0  10:49.83
> rcu_torture_rea
>   169 root      20  -5     0    0    0 R 49.9  0.0  10:47.07
> rcu_torture_rea
>   172 root      20  -5     0    0    0 R 49.9  0.0  10:50.04
> rcu_torture_rea
>   173 root      20  -5     0    0    0 R 49.9  0.0  10:43.79
> rcu_torture_rea
>   174 root      20  -5     0    0    0 R 49.9  0.0  10:39.16
> rcu_torture_rea
>   170 root      20  -5     0    0    0 R 40.2  0.0  10:38.68
> rcu_torture_rea
> 
> 
> 
> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux