Re: sched /HT processor

2005-04-03 Thread Steven Rostedt
On Mon, 2005-04-04 at 04:22 +0530, Arun Srinivas wrote: > Thanks. yes, a reschedule may not take place after a ms, if the currently > running task cannot be preempted by another task. > > (1) But, can a reschedule happen within a millisec (or once a process is > scheduled can schedule() be

Re: sched /HT processor

2005-04-03 Thread Arun Srinivas
CTED]> CC: Arun Srinivas <[EMAIL PROTECTED]>,LKML Subject: Re: sched /HT processor Date: Sun, 03 Apr 2005 11:31:03 -0400 On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: > > A reschedule can happen once every ms, but also upon returning to > userspace and when

Re: sched /HT processor

2005-04-03 Thread Arun Srinivas
From: Steven Rostedt <[EMAIL PROTECTED]> To: Jesper Juhl <[EMAIL PROTECTED]> CC: Arun Srinivas <[EMAIL PROTECTED]>,LKML Subject: Re: sched /HT processor Date: Sun, 03 Apr 2005 11:31:03 -0400 On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: > > A reschedule

Re: sched /HT processor

2005-04-03 Thread Steven Rostedt
On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: > > A reschedule can happen once every ms, but also upon returning to > userspace and when returning from an interrupt handler, and also when > something in the kernel explicitly calls schedule() or sleeps (which in > turn results in a call

Re: sched /HT processor

2005-04-03 Thread Jesper Juhl
On Sun, 3 Apr 2005, Arun Srinivas wrote: > > I looked at my "include/asm-i386/param.h" and the HZ value is 1000.So, I > suppose the timer interrupt frequency is 1000 times per sec. or once every 1 > millisec. > > So, is scheduler_tick() ( for resceduling) called only once every 1 ms?? I am >

Re: sched /HT processor

2005-04-03 Thread Steven Rostedt
On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: A reschedule can happen once every ms, but also upon returning to userspace and when returning from an interrupt handler, and also when something in the kernel explicitly calls schedule() or sleeps (which in turn results in a call to

Re: sched /HT processor

2005-04-03 Thread Arun Srinivas
From: Steven Rostedt [EMAIL PROTECTED] To: Jesper Juhl [EMAIL PROTECTED] CC: Arun Srinivas [EMAIL PROTECTED],LKML linux-kernel@vger.kernel.org Subject: Re: sched /HT processor Date: Sun, 03 Apr 2005 11:31:03 -0400 On Sun, 2005-04-03 at 13:17 +0200, Jesper Juhl wrote: A reschedule can

Re: sched /HT processor

2005-04-03 Thread Steven Rostedt
On Mon, 2005-04-04 at 04:22 +0530, Arun Srinivas wrote: Thanks. yes, a reschedule may not take place after a ms, if the currently running task cannot be preempted by another task. (1) But, can a reschedule happen within a millisec (or once a process is scheduled can schedule() be called

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
e argument correct? Thanks From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: LKML Subject: Re: sched /HT processor Date: Sat, 02 Apr 2005 20:17:54 -0500 On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: > HI > > I have pentium4 hyperthreaded pr

Re: sched /HT processor

2005-04-02 Thread Steven Rostedt
On Sun, 2005-04-03 at 07:46 +0530, Arun Srinivas wrote: > I attached the 'dmesg' output because there it shows that my kernel > recogonized 2 cpu's.As said earlier , are they treated as 2 physical cpu's > or logical cpu's? > As I said, they are logical [snip] > > > available > > > Apr 2

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
I attached the 'dmesg' output because there it shows that my kernel recogonized 2 cpu's.As said earlier , are they treated as 2 physical cpu's or logical cpu's? From: Steven Rostedt <[EMAIL PROTECTED]> To: Arun Srinivas <[EMAIL PROTECTED]> CC: LKML Subject: Re: sched /HT process

Re: sched /HT processor

2005-04-02 Thread Steven Rostedt
On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: > HI > > I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i > rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is > nothing such as CONFIG_SMT...i noticed this only in recent 2.6.11). > I don't

sched /HT processor

2005-04-02 Thread Arun Srinivas
HI I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is nothing such as CONFIG_SMT...i noticed this only in recent 2.6.11). 1) So, after I rebulit it with CONFIG_SMP enabled does linux recogonize my

sched /HT processor

2005-04-02 Thread Arun Srinivas
HI I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is nothing such as CONFIG_SMT...i noticed this only in recent 2.6.11). 1) So, after I rebulit it with CONFIG_SMP enabled does linux recogonize my

Re: sched /HT processor

2005-04-02 Thread Steven Rostedt
On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: HI I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is nothing such as CONFIG_SMT...i noticed this only in recent 2.6.11). I don't have a

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
/HT processor Date: Sat, 02 Apr 2005 20:17:54 -0500 On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: HI I have pentium4 hyperthreaded processor.I am using kernel 2.6.5 and i rebuilt my kernel with CONFIG_SMP enabled (in this kernel source there is nothing such as CONFIG_SMT...i noticed

Re: sched /HT processor

2005-04-02 Thread Steven Rostedt
On Sun, 2005-04-03 at 07:46 +0530, Arun Srinivas wrote: I attached the 'dmesg' output because there it shows that my kernel recogonized 2 cpu's.As said earlier , are they treated as 2 physical cpu's or logical cpu's? As I said, they are logical [snip] available Apr 2 17:43:12

Re: sched /HT processor

2005-04-02 Thread Arun Srinivas
? Thanks From: Steven Rostedt [EMAIL PROTECTED] To: Arun Srinivas [EMAIL PROTECTED] CC: LKML linux-kernel@vger.kernel.org Subject: Re: sched /HT processor Date: Sat, 02 Apr 2005 20:17:54 -0500 On Sun, 2005-04-03 at 06:07 +0530, Arun Srinivas wrote: HI I have pentium4 hyperthreaded processor.I am